Class EdgeContainerConnection (2.12.0)

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

To create a concrete instance, see MakeEdgeContainerConnection().

For mocking, see edgecontainer_v1_mocks::MockEdgeContainerConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListClusters(google::cloud::edgecontainer::v1::ListClustersRequest)

Parameter
Name Description
request google::cloud::edgecontainer::v1::ListClustersRequest
Returns
Type Description
StreamRange< google::cloud::edgecontainer::v1::Cluster >

virtual GetCluster(google::cloud::edgecontainer::v1::GetClusterRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::GetClusterRequest const &
Returns
Type Description
StatusOr< google::cloud::edgecontainer::v1::Cluster >

virtual CreateCluster(google::cloud::edgecontainer::v1::CreateClusterRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::CreateClusterRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgecontainer::v1::Cluster > >

virtual UpdateCluster(google::cloud::edgecontainer::v1::UpdateClusterRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::UpdateClusterRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgecontainer::v1::Cluster > >

virtual DeleteCluster(google::cloud::edgecontainer::v1::DeleteClusterRequest const &)

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

virtual GenerateAccessToken(google::cloud::edgecontainer::v1::GenerateAccessTokenRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::GenerateAccessTokenRequest const &
Returns
Type Description
StatusOr< google::cloud::edgecontainer::v1::GenerateAccessTokenResponse >

virtual ListNodePools(google::cloud::edgecontainer::v1::ListNodePoolsRequest)

Parameter
Name Description
request google::cloud::edgecontainer::v1::ListNodePoolsRequest
Returns
Type Description
StreamRange< google::cloud::edgecontainer::v1::NodePool >

virtual GetNodePool(google::cloud::edgecontainer::v1::GetNodePoolRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::GetNodePoolRequest const &
Returns
Type Description
StatusOr< google::cloud::edgecontainer::v1::NodePool >

virtual CreateNodePool(google::cloud::edgecontainer::v1::CreateNodePoolRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::CreateNodePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgecontainer::v1::NodePool > >

virtual UpdateNodePool(google::cloud::edgecontainer::v1::UpdateNodePoolRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::UpdateNodePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgecontainer::v1::NodePool > >

virtual DeleteNodePool(google::cloud::edgecontainer::v1::DeleteNodePoolRequest const &)

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

virtual ListMachines(google::cloud::edgecontainer::v1::ListMachinesRequest)

Parameter
Name Description
request google::cloud::edgecontainer::v1::ListMachinesRequest
Returns
Type Description
StreamRange< google::cloud::edgecontainer::v1::Machine >

virtual GetMachine(google::cloud::edgecontainer::v1::GetMachineRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::GetMachineRequest const &
Returns
Type Description
StatusOr< google::cloud::edgecontainer::v1::Machine >

virtual ListVpnConnections(google::cloud::edgecontainer::v1::ListVpnConnectionsRequest)

Parameter
Name Description
request google::cloud::edgecontainer::v1::ListVpnConnectionsRequest
Returns
Type Description
StreamRange< google::cloud::edgecontainer::v1::VpnConnection >

virtual GetVpnConnection(google::cloud::edgecontainer::v1::GetVpnConnectionRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::GetVpnConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::edgecontainer::v1::VpnConnection >

virtual CreateVpnConnection(google::cloud::edgecontainer::v1::CreateVpnConnectionRequest const &)

Parameter
Name Description
request google::cloud::edgecontainer::v1::CreateVpnConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgecontainer::v1::VpnConnection > >

virtual DeleteVpnConnection(google::cloud::edgecontainer::v1::DeleteVpnConnectionRequest const &)

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