Interface SiteSearchEngineServiceGrpc.AsyncService (0.50.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
Name Description
request BatchCreateTargetSitesRequest
responseObserver io.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
Name Description
request BatchVerifyTargetSitesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createTargetSite(CreateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

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

Creates a TargetSite.

Parameters
Name Description
request CreateTargetSiteRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteTargetSite(DeleteTargetSiteRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a TargetSite.

Parameters
Name Description
request DeleteTargetSiteRequest
responseObserver io.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
Name Description
request DisableAdvancedSiteSearchRequest
responseObserver io.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
Name Description
request EnableAdvancedSiteSearchRequest
responseObserver io.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
Name Description
request FetchDomainVerificationStatusRequest
responseObserver io.grpc.stub.StreamObserver<FetchDomainVerificationStatusResponse>

getSiteSearchEngine(GetSiteSearchEngineRequest request, StreamObserver<SiteSearchEngine> responseObserver)

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

Gets the SiteSearchEngine.

Parameters
Name Description
request GetSiteSearchEngineRequest
responseObserver io.grpc.stub.StreamObserver<SiteSearchEngine>

getTargetSite(GetTargetSiteRequest request, StreamObserver<TargetSite> responseObserver)

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

Gets a TargetSite.

Parameters
Name Description
request GetTargetSiteRequest
responseObserver io.grpc.stub.StreamObserver<TargetSite>

getUriPatternDocumentData(GetUriPatternDocumentDataRequest request, StreamObserver<GetUriPatternDocumentDataResponse> responseObserver)

public default void getUriPatternDocumentData(GetUriPatternDocumentDataRequest request, StreamObserver<GetUriPatternDocumentDataResponse> responseObserver)

Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.

Parameters
Name Description
request GetUriPatternDocumentDataRequest
responseObserver io.grpc.stub.StreamObserver<GetUriPatternDocumentDataResponse>

listTargetSites(ListTargetSitesRequest request, StreamObserver<ListTargetSitesResponse> responseObserver)

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

Gets a list of TargetSites.

Parameters
Name Description
request ListTargetSitesRequest
responseObserver io.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
Name Description
request RecrawlUrisRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

setUriPatternDocumentData(SetUriPatternDocumentDataRequest request, StreamObserver<Operation> responseObserver)

public default void setUriPatternDocumentData(SetUriPatternDocumentDataRequest request, StreamObserver<Operation> responseObserver)

Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.

Parameters
Name Description
request SetUriPatternDocumentDataRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateTargetSite(UpdateTargetSiteRequest request, StreamObserver<Operation> responseObserver)

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

Updates a TargetSite.

Parameters
Name Description
request UpdateTargetSiteRequest
responseObserver io.grpc.stub.StreamObserver<Operation>