Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::SiteSearchEngineService::Rest::ServiceStub.
REST service stub for the SiteSearchEngineService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#batch_create_target_sites
def batch_create_target_sites(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the batch_create_target_sites REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::BatchCreateTargetSitesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#batch_verify_target_sites
def batch_verify_target_sites(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the batch_verify_target_sites REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::BatchVerifyTargetSitesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_target_site
def create_target_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_target_site REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::CreateTargetSiteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_target_site
def delete_target_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_target_site REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::DeleteTargetSiteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#disable_advanced_site_search
def disable_advanced_site_search(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the disable_advanced_site_search REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::DisableAdvancedSiteSearchRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#enable_advanced_site_search
def enable_advanced_site_search(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the enable_advanced_site_search REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::EnableAdvancedSiteSearchRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#fetch_domain_verification_status
def fetch_domain_verification_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DiscoveryEngine::V1::FetchDomainVerificationStatusResponse
Baseline implementation for the fetch_domain_verification_status REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::FetchDomainVerificationStatusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::DiscoveryEngine::V1::FetchDomainVerificationStatusResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DiscoveryEngine::V1::FetchDomainVerificationStatusResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_site_search_engine
def get_site_search_engine(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DiscoveryEngine::V1::SiteSearchEngine
Baseline implementation for the get_site_search_engine REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::GetSiteSearchEngineRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::DiscoveryEngine::V1::SiteSearchEngine)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DiscoveryEngine::V1::SiteSearchEngine) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_target_site
def get_target_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DiscoveryEngine::V1::TargetSite
Baseline implementation for the get_target_site REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::GetTargetSiteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::DiscoveryEngine::V1::TargetSite)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DiscoveryEngine::V1::TargetSite) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_target_sites
def list_target_sites(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DiscoveryEngine::V1::ListTargetSitesResponse
Baseline implementation for the list_target_sites REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::ListTargetSitesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::DiscoveryEngine::V1::ListTargetSitesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::DiscoveryEngine::V1::ListTargetSitesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#recrawl_uris
def recrawl_uris(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the recrawl_uris REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::RecrawlUrisRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_target_site
def update_target_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_target_site REST call
- request_pb (::Google::Cloud::DiscoveryEngine::V1::UpdateTargetSiteRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)