Class ServiceManagerConnection (2.29.0)

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

To create a concrete instance, see MakeServiceManagerConnection().

For mocking, see servicemanagement_v1_mocks::MockServiceManagerConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListServices(google::api::servicemanagement::v1::ListServicesRequest)

Parameter
Name Description
request google::api::servicemanagement::v1::ListServicesRequest
Returns
Type Description
StreamRange< google::api::servicemanagement::v1::ManagedService >

virtual GetService(google::api::servicemanagement::v1::GetServiceRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::GetServiceRequest const &
Returns
Type Description
StatusOr< google::api::servicemanagement::v1::ManagedService >

virtual CreateService(google::api::servicemanagement::v1::CreateServiceRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::CreateServiceRequest const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::ManagedService > >

virtual CreateService(NoAwaitTag, google::api::servicemanagement::v1::CreateServiceRequest const &)

Parameters
Name Description
NoAwaitTag
request google::api::servicemanagement::v1::CreateServiceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::ManagedService > >

virtual DeleteService(google::api::servicemanagement::v1::DeleteServiceRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::DeleteServiceRequest const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::OperationMetadata > >

virtual DeleteService(NoAwaitTag, google::api::servicemanagement::v1::DeleteServiceRequest const &)

Parameters
Name Description
NoAwaitTag
request google::api::servicemanagement::v1::DeleteServiceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::OperationMetadata > >

virtual UndeleteService(google::api::servicemanagement::v1::UndeleteServiceRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::UndeleteServiceRequest const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::UndeleteServiceResponse > >

virtual UndeleteService(NoAwaitTag, google::api::servicemanagement::v1::UndeleteServiceRequest const &)

Parameters
Name Description
NoAwaitTag
request google::api::servicemanagement::v1::UndeleteServiceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::UndeleteServiceResponse > >

virtual ListServiceConfigs(google::api::servicemanagement::v1::ListServiceConfigsRequest)

Parameter
Name Description
request google::api::servicemanagement::v1::ListServiceConfigsRequest
Returns
Type Description
StreamRange< google::api::Service >

virtual GetServiceConfig(google::api::servicemanagement::v1::GetServiceConfigRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::GetServiceConfigRequest const &
Returns
Type Description
StatusOr< google::api::Service >

virtual CreateServiceConfig(google::api::servicemanagement::v1::CreateServiceConfigRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::CreateServiceConfigRequest const &
Returns
Type Description
StatusOr< google::api::Service >

virtual SubmitConfigSource(google::api::servicemanagement::v1::SubmitConfigSourceRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::SubmitConfigSourceRequest const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::SubmitConfigSourceResponse > >

virtual SubmitConfigSource(NoAwaitTag, google::api::servicemanagement::v1::SubmitConfigSourceRequest const &)

Parameters
Name Description
NoAwaitTag
request google::api::servicemanagement::v1::SubmitConfigSourceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::SubmitConfigSourceResponse > >

virtual ListServiceRollouts(google::api::servicemanagement::v1::ListServiceRolloutsRequest)

Parameter
Name Description
request google::api::servicemanagement::v1::ListServiceRolloutsRequest
Returns
Type Description
StreamRange< google::api::servicemanagement::v1::Rollout >

virtual GetServiceRollout(google::api::servicemanagement::v1::GetServiceRolloutRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::GetServiceRolloutRequest const &
Returns
Type Description
StatusOr< google::api::servicemanagement::v1::Rollout >

virtual CreateServiceRollout(google::api::servicemanagement::v1::CreateServiceRolloutRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::CreateServiceRolloutRequest const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::Rollout > >

virtual CreateServiceRollout(NoAwaitTag, google::api::servicemanagement::v1::CreateServiceRolloutRequest const &)

Parameters
Name Description
NoAwaitTag
request google::api::servicemanagement::v1::CreateServiceRolloutRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::api::servicemanagement::v1::Rollout > >

virtual GenerateConfigReport(google::api::servicemanagement::v1::GenerateConfigReportRequest const &)

Parameter
Name Description
request google::api::servicemanagement::v1::GenerateConfigReportRequest const &
Returns
Type Description
StatusOr< google::api::servicemanagement::v1::GenerateConfigReportResponse >