Class DeploymentConnection (2.42.0-rc)

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

To create a concrete instance, see MakeDeploymentConnection().

For mocking, see cloudsecuritycompliance_v1_mocks::MockDeploymentConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateFrameworkDeployment(google::cloud::cloudsecuritycompliance::v1::CreateFrameworkDeploymentRequest const &)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::CreateFrameworkDeploymentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cloudsecuritycompliance::v1::FrameworkDeployment > >

virtual CreateFrameworkDeployment(NoAwaitTag, google::cloud::cloudsecuritycompliance::v1::CreateFrameworkDeploymentRequest const &)

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

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

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

virtual DeleteFrameworkDeployment(google::cloud::cloudsecuritycompliance::v1::DeleteFrameworkDeploymentRequest const &)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::DeleteFrameworkDeploymentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cloudsecuritycompliance::v1::OperationMetadata > >

virtual DeleteFrameworkDeployment(NoAwaitTag, google::cloud::cloudsecuritycompliance::v1::DeleteFrameworkDeploymentRequest const &)

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

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

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

virtual GetFrameworkDeployment(google::cloud::cloudsecuritycompliance::v1::GetFrameworkDeploymentRequest const &)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::GetFrameworkDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::cloudsecuritycompliance::v1::FrameworkDeployment >

virtual ListFrameworkDeployments(google::cloud::cloudsecuritycompliance::v1::ListFrameworkDeploymentsRequest)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::ListFrameworkDeploymentsRequest
Returns
Type Description
StreamRange< google::cloud::cloudsecuritycompliance::v1::FrameworkDeployment >

virtual GetCloudControlDeployment(google::cloud::cloudsecuritycompliance::v1::GetCloudControlDeploymentRequest const &)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::GetCloudControlDeploymentRequest const &
Returns
Type Description
StatusOr< google::cloud::cloudsecuritycompliance::v1::CloudControlDeployment >

virtual ListCloudControlDeployments(google::cloud::cloudsecuritycompliance::v1::ListCloudControlDeploymentsRequest)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::ListCloudControlDeploymentsRequest
Returns
Type Description
StreamRange< google::cloud::cloudsecuritycompliance::v1::CloudControlDeployment >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

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 DeleteOperation(google::longrunning::DeleteOperationRequest const &)

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

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

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