Class GkeHubClient (3.4.0-rc)

The GKE Hub service handles the registration of many Kubernetes clusters to Google Cloud, and the management of multi-cluster features over those clusters.

The GKE Hub service operates on the following resources:

GKE Hub is currently available in the global region and all regions in https://cloud.google.com/compute/docs/regions-zones. Feature is only available in global region while membership is global region and all the regions.

Membership management may be non-trivial: it is recommended to use one of the Google-provided client libraries or tools where possible when working with Membership resources.

Equality

Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection> objects compare equal. Objects that compare equal share the same underlying resources.

Performance

Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.

Thread Safety

Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.

Constructors

GkeHubClient(GkeHubClient const &)

Copy and move support

Parameter
Name Description
GkeHubClient const &

GkeHubClient(GkeHubClient &&)

Copy and move support

Parameter
Name Description
GkeHubClient &&

GkeHubClient(std::shared_ptr< GkeHubConnection >, Options)

Parameters
Name Description
connection std::shared_ptr< GkeHubConnection >
opts Options

Operators

operator=(GkeHubClient const &)

Copy and move support

Parameter
Name Description
GkeHubClient const &
Returns
Type Description
GkeHubClient &

operator=(GkeHubClient &&)

Copy and move support

Parameter
Name Description
GkeHubClient &&
Returns
Type Description
GkeHubClient &

Functions

ListMemberships(std::string const &, Options)

Lists Memberships in a given project and location.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Memberships will be listed. Specified in the format projects/*/locations/*. projects/*/locations/- list memberships in all the regions.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Membership >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Membership, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListMemberships(google::cloud::gkehub::v1::ListMembershipsRequest, Options)

Lists Memberships in a given project and location.

Parameters
Name Description
request google::cloud::gkehub::v1::ListMembershipsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListMembershipsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Membership >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Membership, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListBoundMemberships(std::string const &, Options)

Lists Memberships bound to a Scope.

The response includes relevant Memberships from all regions.

Parameters
Name Description
scope_name std::string const &

Required. Name of the Scope, in the format projects/*/locations/global/scopes/*, to which the Memberships are bound.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Membership >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Membership, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListBoundMemberships(google::cloud::gkehub::v1::ListBoundMembershipsRequest, Options)

Lists Memberships bound to a Scope.

The response includes relevant Memberships from all regions.

Parameters
Name Description
request google::cloud::gkehub::v1::ListBoundMembershipsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListBoundMembershipsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Membership >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Membership, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListFeatures(std::string const &, Options)

Lists Features in a given project and location.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Feature >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Feature, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListFeatures(google::cloud::gkehub::v1::ListFeaturesRequest, Options)

Lists Features in a given project and location.

Parameters
Name Description
request google::cloud::gkehub::v1::ListFeaturesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListFeaturesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Feature >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Feature, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetMembership(std::string const &, Options)

Gets the details of a Membership.

Parameters
Name Description
name std::string const &

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Membership >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Membership) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetMembership(google::cloud::gkehub::v1::GetMembershipRequest const &, Options)

Gets the details of a Membership.

Parameters
Name Description
request google::cloud::gkehub::v1::GetMembershipRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetMembershipRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Membership >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Membership) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetFeature(std::string const &, Options)

Gets details of a single Feature.

Parameters
Name Description
name std::string const &

Required. The Feature resource name in the format projects/*/locations/*/features/*

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Feature >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Feature) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetFeature(google::cloud::gkehub::v1::GetFeatureRequest const &, Options)

Gets details of a single Feature.

Parameters
Name Description
request google::cloud::gkehub::v1::GetFeatureRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetFeatureRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Feature >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Feature) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateMembership(std::string const &, google::cloud::gkehub::v1::Membership const &, std::string const &, Options)

Creates a new Membership.

This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Memberships will be created. Specified in the format projects/*/locations/*.

resource google::cloud::gkehub::v1::Membership const &

Required. The membership to create.

membership_id std::string const &

Required. Client chosen ID for the membership. membership_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character
    Which can be expressed as the regex: [a-z0-9]([-a-z0-9]*[a-z0-9])?, with a maximum length of 63 characters.
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Membership proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateMembership(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::Membership const &, std::string const &, Options)

Creates a new Membership.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
resource google::cloud::gkehub::v1::Membership const &
membership_id std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateMembership(google::cloud::gkehub::v1::CreateMembershipRequest const &, Options)

Creates a new Membership.

This is currently only supported for GKE clusters on Google Cloud. To register other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateMembershipRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateMembershipRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Membership proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateMembership(NoAwaitTag, google::cloud::gkehub::v1::CreateMembershipRequest const &, Options)

Creates a new Membership.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateMembershipRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateMembership(google::longrunning::Operation const &, Options)

Creates a new Membership.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

CreateFeature(std::string const &, google::cloud::gkehub::v1::Feature const &, std::string const &, Options)

Adds a new Feature.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Feature will be created. Specified in the format projects/*/locations/*.

resource google::cloud::gkehub::v1::Feature const &

The Feature resource to create.

feature_id std::string const &

The ID of the feature to create.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Feature proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateFeature(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::Feature const &, std::string const &, Options)

Adds a new Feature.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
resource google::cloud::gkehub::v1::Feature const &
feature_id std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateFeature(google::cloud::gkehub::v1::CreateFeatureRequest const &, Options)

Adds a new Feature.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateFeatureRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateFeatureRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Feature proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateFeature(NoAwaitTag, google::cloud::gkehub::v1::CreateFeatureRequest const &, Options)

Adds a new Feature.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateFeatureRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateFeature(google::longrunning::Operation const &, Options)

Adds a new Feature.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

DeleteMembership(std::string const &, Options)

Removes a Membership.

This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.

Parameters
Name Description
name std::string const &

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteMembership(NoAwaitTag, std::string const &, Options)

Removes a Membership.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteMembership(google::cloud::gkehub::v1::DeleteMembershipRequest const &, Options)

Removes a Membership.

This is currently only supported for GKE clusters on Google Cloud. To unregister other clusters, follow the instructions at https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteMembershipRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteMembershipRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteMembership(NoAwaitTag, google::cloud::gkehub::v1::DeleteMembershipRequest const &, Options)

Removes a Membership.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteMembershipRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteMembership(google::longrunning::Operation const &, Options)

Removes a Membership.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

DeleteFeature(std::string const &, Options)

Removes a Feature.

Parameters
Name Description
name std::string const &

Required. The Feature resource name in the format projects/*/locations/*/features/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteFeature(NoAwaitTag, std::string const &, Options)

Removes a Feature.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteFeature(google::cloud::gkehub::v1::DeleteFeatureRequest const &, Options)

Removes a Feature.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteFeatureRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteFeatureRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteFeature(NoAwaitTag, google::cloud::gkehub::v1::DeleteFeatureRequest const &, Options)

Removes a Feature.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteFeatureRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteFeature(google::longrunning::Operation const &, Options)

Removes a Feature.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

UpdateMembership(std::string const &, google::cloud::gkehub::v1::Membership const &, google::protobuf::FieldMask const &, Options)

Updates an existing Membership.

Parameters
Name Description
name std::string const &

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

resource google::cloud::gkehub::v1::Membership const &

Required. Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match resource.

update_mask google::protobuf::FieldMask const &

Required. Mask of fields to update.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Membership proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateMembership(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::Membership const &, google::protobuf::FieldMask const &, Options)

Updates an existing Membership.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
resource google::cloud::gkehub::v1::Membership const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateMembership(google::cloud::gkehub::v1::UpdateMembershipRequest const &, Options)

Updates an existing Membership.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateMembershipRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateMembershipRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Membership proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateMembership(NoAwaitTag, google::cloud::gkehub::v1::UpdateMembershipRequest const &, Options)

Updates an existing Membership.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateMembershipRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateMembership(google::longrunning::Operation const &, Options)

Updates an existing Membership.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Membership > >

UpdateFeature(std::string const &, google::cloud::gkehub::v1::Feature const &, google::protobuf::FieldMask const &, Options)

Updates an existing Feature.

Parameters
Name Description
name std::string const &

Required. The Feature resource name in the format projects/*/locations/*/features/*.

resource google::cloud::gkehub::v1::Feature const &

Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match resource.

update_mask google::protobuf::FieldMask const &

Mask of fields to update.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Feature proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateFeature(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::Feature const &, google::protobuf::FieldMask const &, Options)

Updates an existing Feature.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
resource google::cloud::gkehub::v1::Feature const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateFeature(google::cloud::gkehub::v1::UpdateFeatureRequest const &, Options)

Updates an existing Feature.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateFeatureRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateFeatureRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Feature proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateFeature(NoAwaitTag, google::cloud::gkehub::v1::UpdateFeatureRequest const &, Options)

Updates an existing Feature.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateFeatureRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateFeature(google::longrunning::Operation const &, Options)

Updates an existing Feature.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Feature > >

GenerateConnectManifest(google::cloud::gkehub::v1::GenerateConnectManifestRequest const &, Options)

Generates the manifest for deployment of the GKE connect agent.

This method is used internally by Google-provided libraries. Most clients should not need to call this method directly.

Parameters
Name Description
request google::cloud::gkehub::v1::GenerateConnectManifestRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GenerateConnectManifestRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::GenerateConnectManifestResponse >

the result of the RPC. The response message type (google.cloud.gkehub.v1.GenerateConnectManifestResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateFleet(std::string const &, google::cloud::gkehub::v1::Fleet const &, Options)

Creates a fleet.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Fleet will be created. Specified in the format projects/*/locations/*.

fleet google::cloud::gkehub::v1::Fleet const &

Required. The fleet to create.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Fleet > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Fleet proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateFleet(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::Fleet const &, Options)

Creates a fleet.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
fleet google::cloud::gkehub::v1::Fleet const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateFleet(google::cloud::gkehub::v1::CreateFleetRequest const &, Options)

Creates a fleet.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateFleetRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateFleetRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Fleet > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Fleet proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateFleet(NoAwaitTag, google::cloud::gkehub::v1::CreateFleetRequest const &, Options)

Creates a fleet.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateFleetRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateFleet(google::longrunning::Operation const &, Options)

Creates a fleet.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Fleet > >

GetFleet(std::string const &, Options)

Returns the details of a fleet.

Parameters
Name Description
name std::string const &

Required. The Fleet resource name in the format projects/*/locations/*/fleets/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Fleet >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Fleet) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetFleet(google::cloud::gkehub::v1::GetFleetRequest const &, Options)

Returns the details of a fleet.

Parameters
Name Description
request google::cloud::gkehub::v1::GetFleetRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetFleetRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Fleet >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Fleet) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateFleet(google::cloud::gkehub::v1::Fleet const &, google::protobuf::FieldMask const &, Options)

Updates a fleet.

Parameters
Name Description
fleet google::cloud::gkehub::v1::Fleet const &

Required. The Fleet to update.
The name field of the Fleet object identifies which fleet will be updated.

update_mask google::protobuf::FieldMask const &

Required. The fields to be updated;

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Fleet > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Fleet proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateFleet(NoAwaitTag, google::cloud::gkehub::v1::Fleet const &, google::protobuf::FieldMask const &, Options)

Updates a fleet.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
fleet google::cloud::gkehub::v1::Fleet const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateFleet(google::cloud::gkehub::v1::UpdateFleetRequest const &, Options)

Updates a fleet.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateFleetRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateFleetRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Fleet > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Fleet proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateFleet(NoAwaitTag, google::cloud::gkehub::v1::UpdateFleetRequest const &, Options)

Updates a fleet.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateFleetRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateFleet(google::longrunning::Operation const &, Options)

Updates a fleet.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Fleet > >

DeleteFleet(std::string const &, Options)

Removes a Fleet.

There must be no memberships remaining in the Fleet.

Parameters
Name Description
name std::string const &

Required. The Fleet resource name in the format projects/*/locations/*/fleets/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteFleet(NoAwaitTag, std::string const &, Options)

Removes a Fleet.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteFleet(google::cloud::gkehub::v1::DeleteFleetRequest const &, Options)

Removes a Fleet.

There must be no memberships remaining in the Fleet.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteFleetRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteFleetRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteFleet(NoAwaitTag, google::cloud::gkehub::v1::DeleteFleetRequest const &, Options)

Removes a Fleet.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteFleetRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteFleet(google::longrunning::Operation const &, Options)

Removes a Fleet.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

ListFleets(std::string const &, Options)

Returns all fleets within an organization or a project that the caller has access to.

Parameters
Name Description
parent std::string const &

Required. The organization or project to list for Fleets under, in the format organizations/*/locations/* or projects/*/locations/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Fleet >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Fleet, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListFleets(google::cloud::gkehub::v1::ListFleetsRequest, Options)

Returns all fleets within an organization or a project that the caller has access to.

Parameters
Name Description
request google::cloud::gkehub::v1::ListFleetsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListFleetsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Fleet >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Fleet, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetScopeNamespace(std::string const &, Options)

Returns the details of a fleet namespace.

Parameters
Name Description
name std::string const &

Required. The Namespace resource name in the format projects/*/locations/*/scopes/*/namespaces/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Namespace >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Namespace) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetScopeNamespace(google::cloud::gkehub::v1::GetScopeNamespaceRequest const &, Options)

Returns the details of a fleet namespace.

Parameters
Name Description
request google::cloud::gkehub::v1::GetScopeNamespaceRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetScopeNamespaceRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Namespace >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Namespace) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateScopeNamespace(std::string const &, google::cloud::gkehub::v1::Namespace const &, std::string const &, Options)

Creates a fleet namespace.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Namespace will be created. Specified in the format projects/*/locations/*/scopes/*.

scope_namespace google::cloud::gkehub::v1::Namespace const &

Required. The fleet namespace to create.

scope_namespace_id std::string const &

Required. Client chosen ID for the Namespace. namespace_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character
    Which can be expressed as the regex: [a-z0-9]([-a-z0-9]*[a-z0-9])?, with a maximum length of 63 characters.
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Namespace > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Namespace proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateScopeNamespace(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::Namespace const &, std::string const &, Options)

Creates a fleet namespace.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
scope_namespace google::cloud::gkehub::v1::Namespace const &
scope_namespace_id std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateScopeNamespace(google::cloud::gkehub::v1::CreateScopeNamespaceRequest const &, Options)

Creates a fleet namespace.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateScopeNamespaceRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateScopeNamespaceRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Namespace > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Namespace proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateScopeNamespace(NoAwaitTag, google::cloud::gkehub::v1::CreateScopeNamespaceRequest const &, Options)

Creates a fleet namespace.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateScopeNamespaceRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateScopeNamespace(google::longrunning::Operation const &, Options)

Creates a fleet namespace.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Namespace > >

UpdateScopeNamespace(google::cloud::gkehub::v1::Namespace const &, google::protobuf::FieldMask const &, Options)

Updates a fleet namespace.

Parameters
Name Description
scope_namespace google::cloud::gkehub::v1::Namespace const &

Required. A namespace with fields updated. The 'name' field in this namespace is used to identify the resource to update.

update_mask google::protobuf::FieldMask const &

Required. The fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Namespace > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Namespace proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateScopeNamespace(NoAwaitTag, google::cloud::gkehub::v1::Namespace const &, google::protobuf::FieldMask const &, Options)

Updates a fleet namespace.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
scope_namespace google::cloud::gkehub::v1::Namespace const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateScopeNamespace(google::cloud::gkehub::v1::UpdateScopeNamespaceRequest const &, Options)

Updates a fleet namespace.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateScopeNamespaceRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateScopeNamespaceRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Namespace > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Namespace proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateScopeNamespace(NoAwaitTag, google::cloud::gkehub::v1::UpdateScopeNamespaceRequest const &, Options)

Updates a fleet namespace.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateScopeNamespaceRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateScopeNamespace(google::longrunning::Operation const &, Options)

Updates a fleet namespace.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Namespace > >

DeleteScopeNamespace(std::string const &, Options)

Deletes a fleet namespace.

Parameters
Name Description
name std::string const &

Required. The Namespace resource name in the format projects/*/locations/*/scopes/*/namespaces/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteScopeNamespace(NoAwaitTag, std::string const &, Options)

Deletes a fleet namespace.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteScopeNamespace(google::cloud::gkehub::v1::DeleteScopeNamespaceRequest const &, Options)

Deletes a fleet namespace.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteScopeNamespaceRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteScopeNamespaceRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteScopeNamespace(NoAwaitTag, google::cloud::gkehub::v1::DeleteScopeNamespaceRequest const &, Options)

Deletes a fleet namespace.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteScopeNamespaceRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteScopeNamespace(google::longrunning::Operation const &, Options)

Deletes a fleet namespace.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

ListScopeNamespaces(std::string const &, Options)

Lists fleet namespaces.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*/scopes/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Namespace >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Namespace, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListScopeNamespaces(google::cloud::gkehub::v1::ListScopeNamespacesRequest, Options)

Lists fleet namespaces.

Parameters
Name Description
request google::cloud::gkehub::v1::ListScopeNamespacesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListScopeNamespacesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Namespace >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Namespace, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetScopeRBACRoleBinding(std::string const &, Options)

Returns the details of a Scope RBACRoleBinding.

Parameters
Name Description
name std::string const &

Required. The RBACRoleBinding resource name in the format projects/*/locations/*/scopes/*/rbacrolebindings/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::RBACRoleBinding >

the result of the RPC. The response message type (google.cloud.gkehub.v1.RBACRoleBinding) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetScopeRBACRoleBinding(google::cloud::gkehub::v1::GetScopeRBACRoleBindingRequest const &, Options)

Returns the details of a Scope RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::GetScopeRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetScopeRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::RBACRoleBinding >

the result of the RPC. The response message type (google.cloud.gkehub.v1.RBACRoleBinding) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateScopeRBACRoleBinding(std::string const &, google::cloud::gkehub::v1::RBACRoleBinding const &, std::string const &, Options)

Creates a Scope RBACRoleBinding.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format projects/*/locations/*/scopes/*.

rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &

Required. The rbacrolebindings to create.

rbacrolebinding_id std::string const &

Required. Client chosen ID for the RBACRoleBinding. rbacrolebinding_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character
    Which can be expressed as the regex: [a-z0-9]([-a-z0-9]*[a-z0-9])?, with a maximum length of 63 characters.
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateScopeRBACRoleBinding(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::RBACRoleBinding const &, std::string const &, Options)

Creates a Scope RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &
rbacrolebinding_id std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateScopeRBACRoleBinding(google::cloud::gkehub::v1::CreateScopeRBACRoleBindingRequest const &, Options)

Creates a Scope RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateScopeRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateScopeRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateScopeRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::CreateScopeRBACRoleBindingRequest const &, Options)

Creates a Scope RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateScopeRBACRoleBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateScopeRBACRoleBinding(google::longrunning::Operation const &, Options)

Creates a Scope RBACRoleBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

UpdateScopeRBACRoleBinding(google::cloud::gkehub::v1::RBACRoleBinding const &, google::protobuf::FieldMask const &, Options)

Updates a Scope RBACRoleBinding.

Parameters
Name Description
rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &

Required. A rbacrolebinding with fields updated. The 'name' field in this rbacrolebinding is used to identify the resource to update.

update_mask google::protobuf::FieldMask const &

Required. The fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateScopeRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::RBACRoleBinding const &, google::protobuf::FieldMask const &, Options)

Updates a Scope RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateScopeRBACRoleBinding(google::cloud::gkehub::v1::UpdateScopeRBACRoleBindingRequest const &, Options)

Updates a Scope RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateScopeRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateScopeRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateScopeRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::UpdateScopeRBACRoleBindingRequest const &, Options)

Updates a Scope RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateScopeRBACRoleBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateScopeRBACRoleBinding(google::longrunning::Operation const &, Options)

Updates a Scope RBACRoleBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

DeleteScopeRBACRoleBinding(std::string const &, Options)

Deletes a Scope RBACRoleBinding.

Parameters
Name Description
name std::string const &

Required. The RBACRoleBinding resource name in the format projects/*/locations/*/scopes/*/rbacrolebindings/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteScopeRBACRoleBinding(NoAwaitTag, std::string const &, Options)

Deletes a Scope RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteScopeRBACRoleBinding(google::cloud::gkehub::v1::DeleteScopeRBACRoleBindingRequest const &, Options)

Deletes a Scope RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteScopeRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteScopeRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteScopeRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::DeleteScopeRBACRoleBindingRequest const &, Options)

Deletes a Scope RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteScopeRBACRoleBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteScopeRBACRoleBinding(google::longrunning::Operation const &, Options)

Deletes a Scope RBACRoleBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

ListScopeRBACRoleBindings(std::string const &, Options)

Lists all Scope RBACRoleBindings.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*/scopes/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::RBACRoleBinding >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.RBACRoleBinding, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListScopeRBACRoleBindings(google::cloud::gkehub::v1::ListScopeRBACRoleBindingsRequest, Options)

Lists all Scope RBACRoleBindings.

Parameters
Name Description
request google::cloud::gkehub::v1::ListScopeRBACRoleBindingsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListScopeRBACRoleBindingsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::RBACRoleBinding >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.RBACRoleBinding, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetScope(std::string const &, Options)

Returns the details of a Scope.

Parameters
Name Description
name std::string const &

Required. The Scope resource name in the format projects/*/locations/*/scopes/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Scope >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Scope) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetScope(google::cloud::gkehub::v1::GetScopeRequest const &, Options)

Returns the details of a Scope.

Parameters
Name Description
request google::cloud::gkehub::v1::GetScopeRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetScopeRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::Scope >

the result of the RPC. The response message type (google.cloud.gkehub.v1.Scope) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateScope(std::string const &, google::cloud::gkehub::v1::Scope const &, std::string const &, Options)

Creates a Scope.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Scope will be created. Specified in the format projects/*/locations/*.

scope google::cloud::gkehub::v1::Scope const &

Required. The Scope to create.

scope_id std::string const &

Required. Client chosen ID for the Scope. scope_id must be a ????

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Scope > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Scope proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateScope(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::Scope const &, std::string const &, Options)

Creates a Scope.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
scope google::cloud::gkehub::v1::Scope const &
scope_id std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateScope(google::cloud::gkehub::v1::CreateScopeRequest const &, Options)

Creates a Scope.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateScopeRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateScopeRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Scope > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Scope proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateScope(NoAwaitTag, google::cloud::gkehub::v1::CreateScopeRequest const &, Options)

Creates a Scope.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateScopeRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateScope(google::longrunning::Operation const &, Options)

Creates a Scope.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Scope > >

UpdateScope(google::cloud::gkehub::v1::Scope const &, google::protobuf::FieldMask const &, Options)

Updates a scopes.

Parameters
Name Description
scope google::cloud::gkehub::v1::Scope const &

Required. A Scope with fields updated. The 'name' field in this namespace is used to identify the resource to update.

update_mask google::protobuf::FieldMask const &

Required. The fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Scope > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Scope proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateScope(NoAwaitTag, google::cloud::gkehub::v1::Scope const &, google::protobuf::FieldMask const &, Options)

Updates a scopes.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
scope google::cloud::gkehub::v1::Scope const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateScope(google::cloud::gkehub::v1::UpdateScopeRequest const &, Options)

Updates a scopes.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateScopeRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateScopeRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Scope > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.Scope proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateScope(NoAwaitTag, google::cloud::gkehub::v1::UpdateScopeRequest const &, Options)

Updates a scopes.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateScopeRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateScope(google::longrunning::Operation const &, Options)

Updates a scopes.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::Scope > >

DeleteScope(std::string const &, Options)

Deletes a Scope.

Parameters
Name Description
name std::string const &

Required. The Scope resource name in the format projects/*/locations/*/scopes/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteScope(NoAwaitTag, std::string const &, Options)

Deletes a Scope.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteScope(google::cloud::gkehub::v1::DeleteScopeRequest const &, Options)

Deletes a Scope.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteScopeRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteScopeRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteScope(NoAwaitTag, google::cloud::gkehub::v1::DeleteScopeRequest const &, Options)

Deletes a Scope.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteScopeRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteScope(google::longrunning::Operation const &, Options)

Deletes a Scope.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

ListScopes(std::string const &, Options)

Lists Scopes.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Scope will be listed. Specified in the format projects/*/locations/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Scope >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Scope, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListScopes(google::cloud::gkehub::v1::ListScopesRequest, Options)

Lists Scopes.

Parameters
Name Description
request google::cloud::gkehub::v1::ListScopesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListScopesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Scope >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Scope, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListPermittedScopes(std::string const &, Options)

Lists permitted Scopes.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Scope will be listed. Specified in the format projects/*/locations/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Scope >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Scope, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListPermittedScopes(google::cloud::gkehub::v1::ListPermittedScopesRequest, Options)

Lists permitted Scopes.

Parameters
Name Description
request google::cloud::gkehub::v1::ListPermittedScopesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListPermittedScopesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::Scope >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.Scope, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetMembershipBinding(std::string const &, Options)

Returns the details of a MembershipBinding.

Parameters
Name Description
name std::string const &

Required. The MembershipBinding resource name in the format projects/*/locations/*/memberships/*/bindings/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::MembershipBinding >

the result of the RPC. The response message type (google.cloud.gkehub.v1.MembershipBinding) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetMembershipBinding(google::cloud::gkehub::v1::GetMembershipBindingRequest const &, Options)

Returns the details of a MembershipBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::GetMembershipBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetMembershipBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::MembershipBinding >

the result of the RPC. The response message type (google.cloud.gkehub.v1.MembershipBinding) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateMembershipBinding(std::string const &, google::cloud::gkehub::v1::MembershipBinding const &, std::string const &, Options)

Creates a MembershipBinding.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the MembershipBinding will be created. Specified in the format projects/*/locations/*/memberships/*.

membership_binding google::cloud::gkehub::v1::MembershipBinding const &

Required. The MembershipBinding to create.

membership_binding_id std::string const &

Required. The ID to use for the MembershipBinding.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::MembershipBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.MembershipBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateMembershipBinding(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::MembershipBinding const &, std::string const &, Options)

Creates a MembershipBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
membership_binding google::cloud::gkehub::v1::MembershipBinding const &
membership_binding_id std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateMembershipBinding(google::cloud::gkehub::v1::CreateMembershipBindingRequest const &, Options)

Creates a MembershipBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateMembershipBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateMembershipBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::MembershipBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.MembershipBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateMembershipBinding(NoAwaitTag, google::cloud::gkehub::v1::CreateMembershipBindingRequest const &, Options)

Creates a MembershipBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateMembershipBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateMembershipBinding(google::longrunning::Operation const &, Options)

Creates a MembershipBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::MembershipBinding > >

UpdateMembershipBinding(google::cloud::gkehub::v1::MembershipBinding const &, google::protobuf::FieldMask const &, Options)

Updates a MembershipBinding.

Parameters
Name Description
membership_binding google::cloud::gkehub::v1::MembershipBinding const &

Required. The MembershipBinding object with fields updated.

update_mask google::protobuf::FieldMask const &

Required. The fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::MembershipBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.MembershipBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateMembershipBinding(NoAwaitTag, google::cloud::gkehub::v1::MembershipBinding const &, google::protobuf::FieldMask const &, Options)

Updates a MembershipBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
membership_binding google::cloud::gkehub::v1::MembershipBinding const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateMembershipBinding(google::cloud::gkehub::v1::UpdateMembershipBindingRequest const &, Options)

Updates a MembershipBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateMembershipBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateMembershipBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::MembershipBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.MembershipBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateMembershipBinding(NoAwaitTag, google::cloud::gkehub::v1::UpdateMembershipBindingRequest const &, Options)

Updates a MembershipBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateMembershipBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateMembershipBinding(google::longrunning::Operation const &, Options)

Updates a MembershipBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::MembershipBinding > >

DeleteMembershipBinding(std::string const &, Options)

Deletes a MembershipBinding.

Parameters
Name Description
name std::string const &

Required. The MembershipBinding resource name in the format projects/*/locations/*/memberships/*/bindings/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteMembershipBinding(NoAwaitTag, std::string const &, Options)

Deletes a MembershipBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteMembershipBinding(google::cloud::gkehub::v1::DeleteMembershipBindingRequest const &, Options)

Deletes a MembershipBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteMembershipBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteMembershipBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteMembershipBinding(NoAwaitTag, google::cloud::gkehub::v1::DeleteMembershipBindingRequest const &, Options)

Deletes a MembershipBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteMembershipBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteMembershipBinding(google::longrunning::Operation const &, Options)

Deletes a MembershipBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

ListMembershipBindings(std::string const &, Options)

Lists MembershipBindings.

Parameters
Name Description
parent std::string const &

Required. The parent Membership for which the MembershipBindings will be listed. Specified in the format projects/*/locations/*/memberships/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::MembershipBinding >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.MembershipBinding, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListMembershipBindings(google::cloud::gkehub::v1::ListMembershipBindingsRequest, Options)

Lists MembershipBindings.

Parameters
Name Description
request google::cloud::gkehub::v1::ListMembershipBindingsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListMembershipBindingsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::MembershipBinding >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.MembershipBinding, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetMembershipRBACRoleBinding(std::string const &, Options)

Returns the details of a Membership RBACRoleBinding.

Parameters
Name Description
name std::string const &

Required. The RBACRoleBinding resource name in the format projects/*/locations/*/memberships/*/rbacrolebindings/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::RBACRoleBinding >

the result of the RPC. The response message type (google.cloud.gkehub.v1.RBACRoleBinding) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetMembershipRBACRoleBinding(google::cloud::gkehub::v1::GetMembershipRBACRoleBindingRequest const &, Options)

Returns the details of a Membership RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::GetMembershipRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GetMembershipRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::RBACRoleBinding >

the result of the RPC. The response message type (google.cloud.gkehub.v1.RBACRoleBinding) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateMembershipRBACRoleBinding(std::string const &, google::cloud::gkehub::v1::RBACRoleBinding const &, std::string const &, Options)

Creates a Membership RBACRoleBinding.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format projects/*/locations/*/memberships/*.

rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &

Required. The rbacrolebindings to create.

rbacrolebinding_id std::string const &

Required. Client chosen ID for the RBACRoleBinding. rbacrolebinding_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character
    Which can be expressed as the regex: [a-z0-9]([-a-z0-9]*[a-z0-9])?, with a maximum length of 63 characters.
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateMembershipRBACRoleBinding(NoAwaitTag, std::string const &, google::cloud::gkehub::v1::RBACRoleBinding const &, std::string const &, Options)

Creates a Membership RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &
rbacrolebinding_id std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateMembershipRBACRoleBinding(google::cloud::gkehub::v1::CreateMembershipRBACRoleBindingRequest const &, Options)

Creates a Membership RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::CreateMembershipRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.CreateMembershipRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateMembershipRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::CreateMembershipRBACRoleBindingRequest const &, Options)

Creates a Membership RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::CreateMembershipRBACRoleBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateMembershipRBACRoleBinding(google::longrunning::Operation const &, Options)

Creates a Membership RBACRoleBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

UpdateMembershipRBACRoleBinding(google::cloud::gkehub::v1::RBACRoleBinding const &, google::protobuf::FieldMask const &, Options)

Updates a Membership RBACRoleBinding.

Parameters
Name Description
rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &

Required. A rbacrolebinding with fields updated. The 'name' field in this rbacrolebinding is used to identify the resource to update.

update_mask google::protobuf::FieldMask const &

Required. The fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateMembershipRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::RBACRoleBinding const &, google::protobuf::FieldMask const &, Options)

Updates a Membership RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
rbacrolebinding google::cloud::gkehub::v1::RBACRoleBinding const &
update_mask google::protobuf::FieldMask const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateMembershipRBACRoleBinding(google::cloud::gkehub::v1::UpdateMembershipRBACRoleBindingRequest const &, Options)

Updates a Membership RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::UpdateMembershipRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.UpdateMembershipRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.RBACRoleBinding proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UpdateMembershipRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::UpdateMembershipRBACRoleBindingRequest const &, Options)

Updates a Membership RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::UpdateMembershipRBACRoleBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UpdateMembershipRBACRoleBinding(google::longrunning::Operation const &, Options)

Updates a Membership RBACRoleBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::RBACRoleBinding > >

DeleteMembershipRBACRoleBinding(std::string const &, Options)

Deletes a Membership RBACRoleBinding.

Parameters
Name Description
name std::string const &

Required. The RBACRoleBinding resource name in the format projects/*/locations/*/memberships/*/rbacrolebindings/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteMembershipRBACRoleBinding(NoAwaitTag, std::string const &, Options)

Deletes a Membership RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteMembershipRBACRoleBinding(google::cloud::gkehub::v1::DeleteMembershipRBACRoleBindingRequest const &, Options)

Deletes a Membership RBACRoleBinding.

Parameters
Name Description
request google::cloud::gkehub::v1::DeleteMembershipRBACRoleBindingRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.DeleteMembershipRBACRoleBindingRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.gkehub.v1.OperationMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteMembershipRBACRoleBinding(NoAwaitTag, google::cloud::gkehub::v1::DeleteMembershipRBACRoleBindingRequest const &, Options)

Deletes a Membership RBACRoleBinding.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::gkehub::v1::DeleteMembershipRBACRoleBindingRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteMembershipRBACRoleBinding(google::longrunning::Operation const &, Options)

Deletes a Membership RBACRoleBinding.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::gkehub::v1::OperationMetadata > >

ListMembershipRBACRoleBindings(std::string const &, Options)

Lists all Membership RBACRoleBindings.

Parameters
Name Description
parent std::string const &

Required. The parent (project and location) where the Features will be listed. Specified in the format projects/*/locations/*/memberships/*.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::RBACRoleBinding >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.RBACRoleBinding, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListMembershipRBACRoleBindings(google::cloud::gkehub::v1::ListMembershipRBACRoleBindingsRequest, Options)

Lists all Membership RBACRoleBindings.

Parameters
Name Description
request google::cloud::gkehub::v1::ListMembershipRBACRoleBindingsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.ListMembershipRBACRoleBindingsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::gkehub::v1::RBACRoleBinding >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.gkehub.v1.RBACRoleBinding, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GenerateMembershipRBACRoleBindingYAML(google::cloud::gkehub::v1::GenerateMembershipRBACRoleBindingYAMLRequest const &, Options)

Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.

Parameters
Name Description
request google::cloud::gkehub::v1::GenerateMembershipRBACRoleBindingYAMLRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.gkehub.v1.GenerateMembershipRBACRoleBindingYAMLRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::gkehub::v1::GenerateMembershipRBACRoleBindingYAMLResponse >

the result of the RPC. The response message type (google.cloud.gkehub.v1.GenerateMembershipRBACRoleBindingYAMLResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.