Class AwsClustersConnection (2.33.0)

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

To create a concrete instance, see MakeAwsClustersConnection().

For mocking, see gkemulticloud_v1_mocks::MockAwsClustersConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateAwsCluster(google::cloud::gkemulticloud::v1::CreateAwsClusterRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::CreateAwsClusterRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkemulticloud::v1::AwsCluster > >

virtual CreateAwsCluster(NoAwaitTag, google::cloud::gkemulticloud::v1::CreateAwsClusterRequest const &)

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

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

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

virtual UpdateAwsCluster(google::cloud::gkemulticloud::v1::UpdateAwsClusterRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::UpdateAwsClusterRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkemulticloud::v1::AwsCluster > >

virtual UpdateAwsCluster(NoAwaitTag, google::cloud::gkemulticloud::v1::UpdateAwsClusterRequest const &)

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

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

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

virtual GetAwsCluster(google::cloud::gkemulticloud::v1::GetAwsClusterRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::GetAwsClusterRequest const &
Returns
Type Description
StatusOr< google::cloud::gkemulticloud::v1::AwsCluster >

virtual ListAwsClusters(google::cloud::gkemulticloud::v1::ListAwsClustersRequest)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::ListAwsClustersRequest
Returns
Type Description
StreamRange< google::cloud::gkemulticloud::v1::AwsCluster >

virtual DeleteAwsCluster(google::cloud::gkemulticloud::v1::DeleteAwsClusterRequest const &)

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

virtual DeleteAwsCluster(NoAwaitTag, google::cloud::gkemulticloud::v1::DeleteAwsClusterRequest const &)

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

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

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

virtual GenerateAwsClusterAgentToken(google::cloud::gkemulticloud::v1::GenerateAwsClusterAgentTokenRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::GenerateAwsClusterAgentTokenRequest const &
Returns
Type Description
StatusOr< google::cloud::gkemulticloud::v1::GenerateAwsClusterAgentTokenResponse >

virtual GenerateAwsAccessToken(google::cloud::gkemulticloud::v1::GenerateAwsAccessTokenRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::GenerateAwsAccessTokenRequest const &
Returns
Type Description
StatusOr< google::cloud::gkemulticloud::v1::GenerateAwsAccessTokenResponse >

virtual CreateAwsNodePool(google::cloud::gkemulticloud::v1::CreateAwsNodePoolRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::CreateAwsNodePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkemulticloud::v1::AwsNodePool > >

virtual CreateAwsNodePool(NoAwaitTag, google::cloud::gkemulticloud::v1::CreateAwsNodePoolRequest const &)

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

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

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

virtual UpdateAwsNodePool(google::cloud::gkemulticloud::v1::UpdateAwsNodePoolRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::UpdateAwsNodePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkemulticloud::v1::AwsNodePool > >

virtual UpdateAwsNodePool(NoAwaitTag, google::cloud::gkemulticloud::v1::UpdateAwsNodePoolRequest const &)

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

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

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

virtual RollbackAwsNodePoolUpdate(google::cloud::gkemulticloud::v1::RollbackAwsNodePoolUpdateRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::RollbackAwsNodePoolUpdateRequest const &
Returns
Type Description
future< StatusOr< google::cloud::gkemulticloud::v1::AwsNodePool > >

virtual RollbackAwsNodePoolUpdate(NoAwaitTag, google::cloud::gkemulticloud::v1::RollbackAwsNodePoolUpdateRequest const &)

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

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

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

virtual GetAwsNodePool(google::cloud::gkemulticloud::v1::GetAwsNodePoolRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::GetAwsNodePoolRequest const &
Returns
Type Description
StatusOr< google::cloud::gkemulticloud::v1::AwsNodePool >

virtual ListAwsNodePools(google::cloud::gkemulticloud::v1::ListAwsNodePoolsRequest)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::ListAwsNodePoolsRequest
Returns
Type Description
StreamRange< google::cloud::gkemulticloud::v1::AwsNodePool >

virtual DeleteAwsNodePool(google::cloud::gkemulticloud::v1::DeleteAwsNodePoolRequest const &)

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

virtual DeleteAwsNodePool(NoAwaitTag, google::cloud::gkemulticloud::v1::DeleteAwsNodePoolRequest const &)

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

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

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

virtual GetAwsOpenIdConfig(google::cloud::gkemulticloud::v1::GetAwsOpenIdConfigRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::GetAwsOpenIdConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::gkemulticloud::v1::AwsOpenIdConfig >

virtual GetAwsJsonWebKeys(google::cloud::gkemulticloud::v1::GetAwsJsonWebKeysRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::GetAwsJsonWebKeysRequest const &
Returns
Type Description
StatusOr< google::cloud::gkemulticloud::v1::AwsJsonWebKeys >

virtual GetAwsServerConfig(google::cloud::gkemulticloud::v1::GetAwsServerConfigRequest const &)

Parameter
Name Description
request google::cloud::gkemulticloud::v1::GetAwsServerConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::gkemulticloud::v1::AwsServerConfig >

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