Class ConfigConnection (2.29.0)

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

To create a concrete instance, see MakeConfigConnection().

For mocking, see config_v1_mocks::MockConfigConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListDeployments(google::cloud::config::v1::ListDeploymentsRequest)

Parameter
Name Description
request google::cloud::config::v1::ListDeploymentsRequest
Returns
Type Description
StreamRange< google::cloud::config::v1::Deployment >

virtual GetDeployment(google::cloud::config::v1::GetDeploymentRequest const &)

Parameter
Name Description
request google::cloud::config::v1::GetDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::Deployment >

virtual CreateDeployment(google::cloud::config::v1::CreateDeploymentRequest const &)

Parameter
Name Description
request google::cloud::config::v1::CreateDeploymentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::config::v1::Deployment > >

virtual CreateDeployment(NoAwaitTag, google::cloud::config::v1::CreateDeploymentRequest const &)

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

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

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

virtual UpdateDeployment(google::cloud::config::v1::UpdateDeploymentRequest const &)

Parameter
Name Description
request google::cloud::config::v1::UpdateDeploymentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::config::v1::Deployment > >

virtual UpdateDeployment(NoAwaitTag, google::cloud::config::v1::UpdateDeploymentRequest const &)

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

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

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

virtual DeleteDeployment(google::cloud::config::v1::DeleteDeploymentRequest const &)

Parameter
Name Description
request google::cloud::config::v1::DeleteDeploymentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::config::v1::Deployment > >

virtual DeleteDeployment(NoAwaitTag, google::cloud::config::v1::DeleteDeploymentRequest const &)

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

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

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

virtual ListRevisions(google::cloud::config::v1::ListRevisionsRequest)

Parameter
Name Description
request google::cloud::config::v1::ListRevisionsRequest
Returns
Type Description
StreamRange< google::cloud::config::v1::Revision >

virtual GetRevision(google::cloud::config::v1::GetRevisionRequest const &)

Parameter
Name Description
request google::cloud::config::v1::GetRevisionRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::Revision >

virtual GetResource(google::cloud::config::v1::GetResourceRequest const &)

Parameter
Name Description
request google::cloud::config::v1::GetResourceRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::Resource >

virtual ListResources(google::cloud::config::v1::ListResourcesRequest)

Parameter
Name Description
request google::cloud::config::v1::ListResourcesRequest
Returns
Type Description
StreamRange< google::cloud::config::v1::Resource >

virtual ExportDeploymentStatefile(google::cloud::config::v1::ExportDeploymentStatefileRequest const &)

Parameter
Name Description
request google::cloud::config::v1::ExportDeploymentStatefileRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::Statefile >

virtual ExportRevisionStatefile(google::cloud::config::v1::ExportRevisionStatefileRequest const &)

Parameter
Name Description
request google::cloud::config::v1::ExportRevisionStatefileRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::Statefile >

virtual ImportStatefile(google::cloud::config::v1::ImportStatefileRequest const &)

Parameter
Name Description
request google::cloud::config::v1::ImportStatefileRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::Statefile >

virtual DeleteStatefile(google::cloud::config::v1::DeleteStatefileRequest const &)

Parameter
Name Description
request google::cloud::config::v1::DeleteStatefileRequest const &
Returns
Type Description
Status

virtual LockDeployment(google::cloud::config::v1::LockDeploymentRequest const &)

Parameter
Name Description
request google::cloud::config::v1::LockDeploymentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::config::v1::Deployment > >

virtual LockDeployment(NoAwaitTag, google::cloud::config::v1::LockDeploymentRequest const &)

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

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

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

virtual UnlockDeployment(google::cloud::config::v1::UnlockDeploymentRequest const &)

Parameter
Name Description
request google::cloud::config::v1::UnlockDeploymentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::config::v1::Deployment > >

virtual UnlockDeployment(NoAwaitTag, google::cloud::config::v1::UnlockDeploymentRequest const &)

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

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

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

virtual ExportLockInfo(google::cloud::config::v1::ExportLockInfoRequest const &)

Parameter
Name Description
request google::cloud::config::v1::ExportLockInfoRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::LockInfo >

virtual CreatePreview(google::cloud::config::v1::CreatePreviewRequest const &)

Parameter
Name Description
request google::cloud::config::v1::CreatePreviewRequest const &
Returns
Type Description
future< StatusOr< google::cloud::config::v1::Preview > >

virtual CreatePreview(NoAwaitTag, google::cloud::config::v1::CreatePreviewRequest const &)

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

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

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

virtual GetPreview(google::cloud::config::v1::GetPreviewRequest const &)

Parameter
Name Description
request google::cloud::config::v1::GetPreviewRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::Preview >

virtual ListPreviews(google::cloud::config::v1::ListPreviewsRequest)

Parameter
Name Description
request google::cloud::config::v1::ListPreviewsRequest
Returns
Type Description
StreamRange< google::cloud::config::v1::Preview >

virtual DeletePreview(google::cloud::config::v1::DeletePreviewRequest const &)

Parameter
Name Description
request google::cloud::config::v1::DeletePreviewRequest const &
Returns
Type Description
future< StatusOr< google::cloud::config::v1::Preview > >

virtual DeletePreview(NoAwaitTag, google::cloud::config::v1::DeletePreviewRequest const &)

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

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

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

virtual ExportPreviewResult(google::cloud::config::v1::ExportPreviewResultRequest const &)

Parameter
Name Description
request google::cloud::config::v1::ExportPreviewResultRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::ExportPreviewResultResponse >

virtual ListTerraformVersions(google::cloud::config::v1::ListTerraformVersionsRequest)

Parameter
Name Description
request google::cloud::config::v1::ListTerraformVersionsRequest
Returns
Type Description
StreamRange< google::cloud::config::v1::TerraformVersion >

virtual GetTerraformVersion(google::cloud::config::v1::GetTerraformVersionRequest const &)

Parameter
Name Description
request google::cloud::config::v1::GetTerraformVersionRequest const &
Returns
Type Description
StatusOr< google::cloud::config::v1::TerraformVersion >