Class GlobalOrganizationOperationsConnection (2.18.0)

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

To create a concrete instance, see MakeGlobalOrganizationOperationsConnection().

For mocking, see compute_global_organization_operations_v1_mocks::MockGlobalOrganizationOperationsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual DeleteOperation(google::cloud::cpp::compute::global_organization_operations::v1::DeleteOperationRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::global_organization_operations::v1::DeleteOperationRequest const &
Returns
Type Description
Status

virtual GetOperation(google::cloud::cpp::compute::global_organization_operations::v1::GetOperationRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::global_organization_operations::v1::GetOperationRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Operation >

virtual ListGlobalOrganizationOperations(google::cloud::cpp::compute::global_organization_operations::v1::ListGlobalOrganizationOperationsRequest)

Parameter
Name Description
request google::cloud::cpp::compute::global_organization_operations::v1::ListGlobalOrganizationOperationsRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::Operation >