Class GkeHubConnection (2.22.0)

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

To create a concrete instance, see MakeGkeHubConnection().

For mocking, see gkehub_v1_mocks::MockGkeHubConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListMemberships(google::cloud::gkehub::v1::ListMembershipsRequest)

Parameter
NameDescription
request google::cloud::gkehub::v1::ListMembershipsRequest
Returns
TypeDescription
StreamRange< google::cloud::gkehub::v1::Membership >

virtual ListFeatures(google::cloud::gkehub::v1::ListFeaturesRequest)

Parameter
NameDescription
request google::cloud::gkehub::v1::ListFeaturesRequest
Returns
TypeDescription
StreamRange< google::cloud::gkehub::v1::Feature >

virtual GetMembership(google::cloud::gkehub::v1::GetMembershipRequest const &)

Parameter
NameDescription
request google::cloud::gkehub::v1::GetMembershipRequest const &
Returns
TypeDescription
StatusOr< google::cloud::gkehub::v1::Membership >

virtual GetFeature(google::cloud::gkehub::v1::GetFeatureRequest const &)

Parameter
NameDescription
request google::cloud::gkehub::v1::GetFeatureRequest const &
Returns
TypeDescription
StatusOr< google::cloud::gkehub::v1::Feature >

virtual CreateMembership(google::cloud::gkehub::v1::CreateMembershipRequest const &)

Parameter
NameDescription
request google::cloud::gkehub::v1::CreateMembershipRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gkehub::v1::Membership > >

virtual CreateFeature(google::cloud::gkehub::v1::CreateFeatureRequest const &)

Parameter
NameDescription
request google::cloud::gkehub::v1::CreateFeatureRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gkehub::v1::Feature > >

virtual DeleteMembership(google::cloud::gkehub::v1::DeleteMembershipRequest const &)

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

virtual DeleteFeature(google::cloud::gkehub::v1::DeleteFeatureRequest const &)

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

virtual UpdateMembership(google::cloud::gkehub::v1::UpdateMembershipRequest const &)

Parameter
NameDescription
request google::cloud::gkehub::v1::UpdateMembershipRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gkehub::v1::Membership > >

virtual UpdateFeature(google::cloud::gkehub::v1::UpdateFeatureRequest const &)

Parameter
NameDescription
request google::cloud::gkehub::v1::UpdateFeatureRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::gkehub::v1::Feature > >

virtual GenerateConnectManifest(google::cloud::gkehub::v1::GenerateConnectManifestRequest const &)

Parameter
NameDescription
request google::cloud::gkehub::v1::GenerateConnectManifestRequest const &
Returns
TypeDescription
StatusOr< google::cloud::gkehub::v1::GenerateConnectManifestResponse >