Class ConfigConnection (2.42.0-rc)

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 cloudsecuritycompliance_v1_mocks::MockConfigConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListFrameworks(google::cloud::cloudsecuritycompliance::v1::ListFrameworksRequest)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::ListFrameworksRequest
Returns
Type Description
StreamRange< google::cloud::cloudsecuritycompliance::v1::Framework >

virtual GetFramework(google::cloud::cloudsecuritycompliance::v1::GetFrameworkRequest const &)

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

virtual CreateFramework(google::cloud::cloudsecuritycompliance::v1::CreateFrameworkRequest const &)

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

virtual UpdateFramework(google::cloud::cloudsecuritycompliance::v1::UpdateFrameworkRequest const &)

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

virtual DeleteFramework(google::cloud::cloudsecuritycompliance::v1::DeleteFrameworkRequest const &)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::DeleteFrameworkRequest const &
Returns
Type Description
Status

virtual ListCloudControls(google::cloud::cloudsecuritycompliance::v1::ListCloudControlsRequest)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::ListCloudControlsRequest
Returns
Type Description
StreamRange< google::cloud::cloudsecuritycompliance::v1::CloudControl >

virtual GetCloudControl(google::cloud::cloudsecuritycompliance::v1::GetCloudControlRequest const &)

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

virtual CreateCloudControl(google::cloud::cloudsecuritycompliance::v1::CreateCloudControlRequest const &)

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

virtual UpdateCloudControl(google::cloud::cloudsecuritycompliance::v1::UpdateCloudControlRequest const &)

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

virtual DeleteCloudControl(google::cloud::cloudsecuritycompliance::v1::DeleteCloudControlRequest const &)

Parameter
Name Description
request google::cloud::cloudsecuritycompliance::v1::DeleteCloudControlRequest const &
Returns
Type Description
Status

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