Class EdgeContainerConnection (2.21.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::ListClustersRequest
Returns
TypeDescription
StreamRange< google::cloud::edgecontainer::v1::Cluster >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::GetClusterRequest const &
Returns
TypeDescription
StatusOr< google::cloud::edgecontainer::v1::Cluster >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::CreateClusterRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::Cluster > >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::UpdateClusterRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::Cluster > >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::DeleteClusterRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::GenerateAccessTokenRequest const &
Returns
TypeDescription
StatusOr< google::cloud::edgecontainer::v1::GenerateAccessTokenResponse >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::ListNodePoolsRequest
Returns
TypeDescription
StreamRange< google::cloud::edgecontainer::v1::NodePool >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::GetNodePoolRequest const &
Returns
TypeDescription
StatusOr< google::cloud::edgecontainer::v1::NodePool >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::CreateNodePoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::NodePool > >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::UpdateNodePoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::NodePool > >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::DeleteNodePoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::ListMachinesRequest
Returns
TypeDescription
StreamRange< google::cloud::edgecontainer::v1::Machine >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::GetMachineRequest const &
Returns
TypeDescription
StatusOr< google::cloud::edgecontainer::v1::Machine >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::ListVpnConnectionsRequest
Returns
TypeDescription
StreamRange< google::cloud::edgecontainer::v1::VpnConnection >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::GetVpnConnectionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::edgecontainer::v1::VpnConnection >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::CreateVpnConnectionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::VpnConnection > >

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

Parameter
NameDescription
request google::cloud::edgecontainer::v1::DeleteVpnConnectionRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::edgecontainer::v1::OperationMetadata > >