# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/discoveryengine/v1beta/site_search_engine_service.proto for package 'Google.Cloud.DiscoveryEngine.V1beta' # Original file comments: # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require 'grpc' require 'google/cloud/discoveryengine/v1beta/site_search_engine_service_pb' module Google module Cloud module DiscoveryEngine module V1beta module SiteSearchEngineService # Service for managing site search related resources. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.discoveryengine.v1beta.SiteSearchEngineService' # Gets the # [SiteSearchEngine][google.cloud.discoveryengine.v1beta.SiteSearchEngine]. rpc :GetSiteSearchEngine, ::Google::Cloud::DiscoveryEngine::V1beta::GetSiteSearchEngineRequest, ::Google::Cloud::DiscoveryEngine::V1beta::SiteSearchEngine # Creates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]. rpc :CreateTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::CreateTargetSiteRequest, ::Google::Longrunning::Operation # Creates [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite] in a # batch. rpc :BatchCreateTargetSites, ::Google::Cloud::DiscoveryEngine::V1beta::BatchCreateTargetSitesRequest, ::Google::Longrunning::Operation # Gets a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]. rpc :GetTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::GetTargetSiteRequest, ::Google::Cloud::DiscoveryEngine::V1beta::TargetSite # Updates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]. rpc :UpdateTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::UpdateTargetSiteRequest, ::Google::Longrunning::Operation # Deletes a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]. rpc :DeleteTargetSite, ::Google::Cloud::DiscoveryEngine::V1beta::DeleteTargetSiteRequest, ::Google::Longrunning::Operation # Gets a list of # [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]s. rpc :ListTargetSites, ::Google::Cloud::DiscoveryEngine::V1beta::ListTargetSitesRequest, ::Google::Cloud::DiscoveryEngine::V1beta::ListTargetSitesResponse # Creates a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap]. rpc :CreateSitemap, ::Google::Cloud::DiscoveryEngine::V1beta::CreateSitemapRequest, ::Google::Longrunning::Operation # Deletes a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap]. rpc :DeleteSitemap, ::Google::Cloud::DiscoveryEngine::V1beta::DeleteSitemapRequest, ::Google::Longrunning::Operation # Fetch [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap]s in a # [DataStore][google.cloud.discoveryengine.v1beta.DataStore]. rpc :FetchSitemaps, ::Google::Cloud::DiscoveryEngine::V1beta::FetchSitemapsRequest, ::Google::Cloud::DiscoveryEngine::V1beta::FetchSitemapsResponse # Upgrade from basic site search to advanced site search. rpc :EnableAdvancedSiteSearch, ::Google::Cloud::DiscoveryEngine::V1beta::EnableAdvancedSiteSearchRequest, ::Google::Longrunning::Operation # Downgrade from advanced site search to basic site search. rpc :DisableAdvancedSiteSearch, ::Google::Cloud::DiscoveryEngine::V1beta::DisableAdvancedSiteSearchRequest, ::Google::Longrunning::Operation # Request on-demand recrawl for a list of URIs. rpc :RecrawlUris, ::Google::Cloud::DiscoveryEngine::V1beta::RecrawlUrisRequest, ::Google::Longrunning::Operation # Verify target sites' ownership and validity. # This API sends all the target sites under site search engine for # verification. rpc :BatchVerifyTargetSites, ::Google::Cloud::DiscoveryEngine::V1beta::BatchVerifyTargetSitesRequest, ::Google::Longrunning::Operation # Returns list of target sites with its domain verification status. # This method can only be called under data store with BASIC_SITE_SEARCH # state at the moment. rpc :FetchDomainVerificationStatus, ::Google::Cloud::DiscoveryEngine::V1beta::FetchDomainVerificationStatusRequest, ::Google::Cloud::DiscoveryEngine::V1beta::FetchDomainVerificationStatusResponse end Stub = Service.rpc_stub_class end end end end end