Class AwsClustersConnection (2.23.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 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 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 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 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 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 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 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 >