Service Client: Google::Cloud::Gkehub::V1beta::Service::GkeHubClient
Client stub representing the remote GkeHub gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to gkehub.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Gkehub::V1beta::Service - Compiled Protocol Buffers messages for google/cloud/gkehub/v1beta/service.proto
SYNOPSIS
use Google::Cloud::Gkehub::V1beta::Service;
my $msg = Google::Cloud::Gkehub::V1beta::Service::ListFeaturesRequest->new({
parent => $parent,
page_size => $page_size,
page_token => $page_token,
filter => $filter,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Gkehub::V1beta::Service::ListFeaturesRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/gkehub/v1beta/service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Gkehub::V1beta::Service::ListFeaturesRequest
Request message for `GkeHub.ListFeatures` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe parent (project and location) where the Features will be listed. Specified in the format `projects/*/locations/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned.
$msg->page_token()/$msg->page_token($value)Type:
StringToken returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.
$msg->filter()/$msg->filter($value)Type:
StringLists Features that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
Examples:
- Feature with the name "servicemesh" in project "foo-proj": name = "projects/foo-proj/locations/global/features/servicemesh" - Features that have a label called `foo`: labels.foo:* - Features that have a label called `foo` whose value is `bar`: labels.foo = bar$msg->order_by()/$msg->order_by($value)Type:
StringOne or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
Google::Cloud::Gkehub::V1beta::Service::ListFeaturesResponse
Response message for the `GkeHub.ListFeatures` method.
Inherits from Protobuf::Message.
Accessors
$msg->resources()/$msg->resources($value)Type:
Message(Google::Cloud::Gkehub::V1beta::Feature::Feature)The list of matching Features
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to request the next page of resources from the `ListFeatures` method. The value of an empty string means that there are no more resources to return.
Google::Cloud::Gkehub::V1beta::Service::GetFeatureRequest
Request message for `GkeHub.GetFeature` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe Feature resource name in the format `projects/*/locations/*/features/*`
Google::Cloud::Gkehub::V1beta::Service::CreateFeatureRequest
Request message for the `GkeHub.CreateFeature` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe parent (project and location) where the Feature will be created. Specified in the format `projects/*/locations/*`.
$msg->feature_id()/$msg->feature_id($value)Type:
StringThe ID of the feature to create.
$msg->resource()/$msg->resource($value)Type:
Message(Google::Cloud::Gkehub::V1beta::Feature::Feature)The Feature resource to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Gkehub::V1beta::Service::DeleteFeatureRequest
Request message for `GkeHub.DeleteFeature` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe Feature resource name in the format `projects/*/locations/*/features/*`.
$msg->force()/$msg->force($value)Type:
BoolIf set to true, the delete will ignore any outstanding resources for this Feature (that is, `FeatureState.has_resources` is set to true). These resources will NOT be cleaned up or modified in any way.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Gkehub::V1beta::Service::UpdateFeatureRequest
Request message for `GkeHub.UpdateFeature` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe Feature resource name in the format `projects/*/locations/*/features/*`.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Mask of fields to update.
$msg->resource()/$msg->resource($value)Type:
Message(Google::Cloud::Gkehub::V1beta::Feature::Feature)Only fields specified in update_mask are updated. If you specify a field in the update_mask but don't specify its value here that field will be deleted. If you are updating a map field, set the value of a key to null or empty string to delete the key from the map. It's not possible to update a key's value to the empty string. If you specify the update_mask to be a special path "*", fully replaces all user-modifiable fields to match `resource`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Gkehub::V1beta::Service::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_detail()/$msg->status_detail($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->cancel_requested()/$msg->cancel_requested($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Gkehub::V1beta::Service::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.