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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
resource |
google::cloud::gkehub::v1::Membership const &
Required. The membership to create. |
membership_id |
std::string const &
Required. Client chosen ID for the membership.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
rbacrolebinding |
google::cloud::gkehub::v1::RBACRoleBinding const &
Required. The rbacrolebindings to create. |
rbacrolebinding_id |
std::string const &
Required. Client chosen ID for the RBACRoleBinding.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
scope |
google::cloud::gkehub::v1::Scope const &
Required. The Scope to create. |
scope_id |
std::string const &
Required. Client chosen ID for the Scope. |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
rbacrolebinding |
google::cloud::gkehub::v1::RBACRoleBinding const &
Required. The rbacrolebindings to create. |
rbacrolebinding_id |
std::string const &
Required. Client chosen ID for the RBACRoleBinding.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |