Class ConfigConnection (2.26.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(ExperimentalTag, NoAwaitTag, google::cloud::config::v1::CreateDeploymentRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::config::v1::UpdateDeploymentRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::config::v1::DeleteDeploymentRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::config::v1::LockDeploymentRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::config::v1::UnlockDeploymentRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::config::v1::CreatePreviewRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::config::v1::DeletePreviewRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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 >