Class ImageVersionsConnection (2.33.0)

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

To create a concrete instance, see MakeImageVersionsConnection().

For mocking, see composer_v1_mocks::MockImageVersionsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListImageVersions(google::cloud::orchestration::airflow::service::v1::ListImageVersionsRequest)

Parameter
Name Description
request google::cloud::orchestration::airflow::service::v1::ListImageVersionsRequest
Returns
Type Description
StreamRange< google::cloud::orchestration::airflow::service::v1::ImageVersion >

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