Class SiteSearchEngineServiceConnection (2.33.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in SiteSearchEngineServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SiteSearchEngineServiceClient.

To create a concrete instance, see MakeSiteSearchEngineServiceConnection().

For mocking, see discoveryengine_v1_mocks::MockSiteSearchEngineServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetSiteSearchEngine(google::cloud::discoveryengine::v1::GetSiteSearchEngineRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::GetSiteSearchEngineRequest const &
Returns
Type Description
StatusOr< google::cloud::discoveryengine::v1::SiteSearchEngine >

virtual CreateTargetSite(google::cloud::discoveryengine::v1::CreateTargetSiteRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::CreateTargetSiteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::TargetSite > >

virtual CreateTargetSite(NoAwaitTag, google::cloud::discoveryengine::v1::CreateTargetSiteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::CreateTargetSiteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateTargetSite(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::TargetSite > >

virtual BatchCreateTargetSites(google::cloud::discoveryengine::v1::BatchCreateTargetSitesRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::BatchCreateTargetSitesRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::BatchCreateTargetSitesResponse > >

virtual BatchCreateTargetSites(NoAwaitTag, google::cloud::discoveryengine::v1::BatchCreateTargetSitesRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::BatchCreateTargetSitesRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual BatchCreateTargetSites(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::BatchCreateTargetSitesResponse > >

virtual GetTargetSite(google::cloud::discoveryengine::v1::GetTargetSiteRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::GetTargetSiteRequest const &
Returns
Type Description
StatusOr< google::cloud::discoveryengine::v1::TargetSite >

virtual UpdateTargetSite(google::cloud::discoveryengine::v1::UpdateTargetSiteRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::UpdateTargetSiteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::TargetSite > >

virtual UpdateTargetSite(NoAwaitTag, google::cloud::discoveryengine::v1::UpdateTargetSiteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::UpdateTargetSiteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateTargetSite(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::TargetSite > >

virtual DeleteTargetSite(google::cloud::discoveryengine::v1::DeleteTargetSiteRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::DeleteTargetSiteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::DeleteTargetSiteMetadata > >

virtual DeleteTargetSite(NoAwaitTag, google::cloud::discoveryengine::v1::DeleteTargetSiteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::DeleteTargetSiteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteTargetSite(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::DeleteTargetSiteMetadata > >

virtual ListTargetSites(google::cloud::discoveryengine::v1::ListTargetSitesRequest)

Parameter
Name Description
request google::cloud::discoveryengine::v1::ListTargetSitesRequest
Returns
Type Description
StreamRange< google::cloud::discoveryengine::v1::TargetSite >

virtual EnableAdvancedSiteSearch(google::cloud::discoveryengine::v1::EnableAdvancedSiteSearchRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::EnableAdvancedSiteSearchRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::EnableAdvancedSiteSearchResponse > >

virtual EnableAdvancedSiteSearch(NoAwaitTag, google::cloud::discoveryengine::v1::EnableAdvancedSiteSearchRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::EnableAdvancedSiteSearchRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual EnableAdvancedSiteSearch(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::EnableAdvancedSiteSearchResponse > >

virtual DisableAdvancedSiteSearch(google::cloud::discoveryengine::v1::DisableAdvancedSiteSearchRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::DisableAdvancedSiteSearchRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::DisableAdvancedSiteSearchResponse > >

virtual DisableAdvancedSiteSearch(NoAwaitTag, google::cloud::discoveryengine::v1::DisableAdvancedSiteSearchRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::DisableAdvancedSiteSearchRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DisableAdvancedSiteSearch(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::DisableAdvancedSiteSearchResponse > >

virtual RecrawlUris(google::cloud::discoveryengine::v1::RecrawlUrisRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::RecrawlUrisRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::RecrawlUrisResponse > >

virtual RecrawlUris(NoAwaitTag, google::cloud::discoveryengine::v1::RecrawlUrisRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::RecrawlUrisRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual RecrawlUris(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::RecrawlUrisResponse > >

virtual BatchVerifyTargetSites(google::cloud::discoveryengine::v1::BatchVerifyTargetSitesRequest const &)

Parameter
Name Description
request google::cloud::discoveryengine::v1::BatchVerifyTargetSitesRequest const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::BatchVerifyTargetSitesResponse > >

virtual BatchVerifyTargetSites(NoAwaitTag, google::cloud::discoveryengine::v1::BatchVerifyTargetSitesRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::discoveryengine::v1::BatchVerifyTargetSitesRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual BatchVerifyTargetSites(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::discoveryengine::v1::BatchVerifyTargetSitesResponse > >

virtual FetchDomainVerificationStatus(google::cloud::discoveryengine::v1::FetchDomainVerificationStatusRequest)

Parameter
Name Description
request google::cloud::discoveryengine::v1::FetchDomainVerificationStatusRequest
Returns
Type Description
StreamRange< google::cloud::discoveryengine::v1::TargetSite >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status