Interface SiteSearchEngineServiceGrpc.AsyncService (0.32.0)

public static interface SiteSearchEngineServiceGrpc.AsyncService

Service for managing site search related resources.

Methods

batchCreateTargetSites(BatchCreateTargetSitesRequest request, StreamObserver<Operation> responseObserver)

public default void batchCreateTargetSites(BatchCreateTargetSitesRequest request, StreamObserver<Operation> responseObserver)

Creates TargetSite in a batch.

Parameters
NameDescription
requestBatchCreateTargetSitesRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

batchVerifyTargetSites(BatchVerifyTargetSitesRequest request, StreamObserver<Operation> responseObserver)

public default void batchVerifyTargetSites(BatchVerifyTargetSitesRequest request, StreamObserver<Operation> responseObserver)

Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.

Parameters
NameDescription
requestBatchVerifyTargetSitesRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createTargetSite(CreateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

public default void createTargetSite(CreateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

Creates a TargetSite.

Parameters
NameDescription
requestCreateTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteTargetSite(DeleteTargetSiteRequest request, StreamObserver<Operation> responseObserver)

public default void deleteTargetSite(DeleteTargetSiteRequest request, StreamObserver<Operation> responseObserver)

Deletes a TargetSite.

Parameters
NameDescription
requestDeleteTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

public default void disableAdvancedSiteSearch(DisableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

Downgrade from advanced site search to basic site search.

Parameters
NameDescription
requestDisableAdvancedSiteSearchRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

public default void enableAdvancedSiteSearch(EnableAdvancedSiteSearchRequest request, StreamObserver<Operation> responseObserver)

Upgrade from basic site search to advanced site search.

Parameters
NameDescription
requestEnableAdvancedSiteSearchRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request, StreamObserver<FetchDomainVerificationStatusResponse> responseObserver)

public default void fetchDomainVerificationStatus(FetchDomainVerificationStatusRequest request, StreamObserver<FetchDomainVerificationStatusResponse> responseObserver)

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.

Parameters
NameDescription
requestFetchDomainVerificationStatusRequest
responseObserverio.grpc.stub.StreamObserver<FetchDomainVerificationStatusResponse>

getSiteSearchEngine(GetSiteSearchEngineRequest request, StreamObserver<SiteSearchEngine> responseObserver)

public default void getSiteSearchEngine(GetSiteSearchEngineRequest request, StreamObserver<SiteSearchEngine> responseObserver)

Gets the SiteSearchEngine.

Parameters
NameDescription
requestGetSiteSearchEngineRequest
responseObserverio.grpc.stub.StreamObserver<SiteSearchEngine>

getTargetSite(GetTargetSiteRequest request, StreamObserver<TargetSite> responseObserver)

public default void getTargetSite(GetTargetSiteRequest request, StreamObserver<TargetSite> responseObserver)

Gets a TargetSite.

Parameters
NameDescription
requestGetTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<TargetSite>

listTargetSites(ListTargetSitesRequest request, StreamObserver<ListTargetSitesResponse> responseObserver)

public default void listTargetSites(ListTargetSitesRequest request, StreamObserver<ListTargetSitesResponse> responseObserver)

Gets a list of TargetSites.

Parameters
NameDescription
requestListTargetSitesRequest
responseObserverio.grpc.stub.StreamObserver<ListTargetSitesResponse>

recrawlUris(RecrawlUrisRequest request, StreamObserver<Operation> responseObserver)

public default void recrawlUris(RecrawlUrisRequest request, StreamObserver<Operation> responseObserver)

Request on-demand recrawl for a list of URIs.

Parameters
NameDescription
requestRecrawlUrisRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateTargetSite(UpdateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

public default void updateTargetSite(UpdateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

Updates a TargetSite.

Parameters
NameDescription
requestUpdateTargetSiteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>