Service Client: Google::Cloud::Gkehub::V1::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::V1::Service - Compiled Protocol Buffers messages for google/cloud/gkehub/v1/service.proto

SYNOPSIS

use Google::Cloud::Gkehub::V1::Service;

my $msg = Google::Cloud::Gkehub::V1::Service::GetScopeNamespaceRequest->new({
    name => $name,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Gkehub::V1::Service::GetScopeNamespaceRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkehub/v1/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::V1::Service::GetScopeNamespaceRequest

Request message for the `GkeHub.GetNamespace` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::CreateScopeNamespaceRequest

Request to create a fleet namespace.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->scope_namespace_id() / $msg->scope_namespace_id($value)

    Type: String

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

    1. At most 63 characters in length
    2. It must consist of lower case alphanumeric characters or `-`
    3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

  • $msg->scope_namespace() / $msg->scope_namespace($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Namespace)

    Required. The fleet namespace to create.

Google::Cloud::Gkehub::V1::Service::UpdateScopeNamespaceRequest

Request to update a fleet namespace.

Inherits from Protobuf::Message.

Accessors

  • $msg->scope_namespace() / $msg->scope_namespace($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Namespace)

    Required. A namespace with fields updated. The 'name' field in this namespace is used to identify the resource to update. Given 'updated' prefix to follow go/proto-best-practices-checkers#keyword_conflict

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. The fields to be updated.

Google::Cloud::Gkehub::V1::Service::DeleteScopeNamespaceRequest

Request to delete a fleet namespace.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::ListScopeNamespacesRequest

Request to list fleet namespaces.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When 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: String

    Optional. Token returned by previous call to `ListFeatures` which specifies the position in the list from where to continue listing the resources.

Google::Cloud::Gkehub::V1::Service::ListScopeNamespacesResponse

List of fleet namespaces.

Inherits from Protobuf::Message.

Accessors

  • $msg->scope_namespaces() / $msg->scope_namespaces($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Namespace)

    The list of fleet namespaces

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListNamespaces` method. The value of an empty string means that there are no more resources to return.

Google::Cloud::Gkehub::V1::Service::GetScopeRBACRoleBindingRequest

Request message for the `GkeHub.GetScopeRBACRoleBinding` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::CreateScopeRBACRoleBindingRequest

Request to create a rbacrolebindings.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->rbacrolebinding_id() / $msg->rbacrolebinding_id($value)

    Type: String

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

    1. At most 63 characters in length
    2. It must consist of lower case alphanumeric characters or `-`
    3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

  • $msg->rbacrolebinding() / $msg->rbacrolebinding($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding)

    Required. The rbacrolebindings to create.

Google::Cloud::Gkehub::V1::Service::UpdateScopeRBACRoleBindingRequest

Request to update a scope rbacrolebinding.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Service::DeleteScopeRBACRoleBindingRequest

Request to delete a Scope RBACRoleBinding.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::ListScopeRBACRoleBindingsRequest

Request to list Scope RBACRoleBindings.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When 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: String

    Optional. Token returned by previous call to `ListScopeRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.

Google::Cloud::Gkehub::V1::Service::ListScopeRBACRoleBindingsResponse

List of Scope RBACRoleBindings.

Inherits from Protobuf::Message.

Accessors

  • $msg->rbacrolebindings() / $msg->rbacrolebindings($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding)

    The list of Scope RBACRoleBindings.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListScopeRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.

Google::Cloud::Gkehub::V1::Service::GetScopeRequest

Request message for the `GkeHub.GetScope` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::CreateScopeRequest

Request to create a Scope.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->scope_id() / $msg->scope_id($value)

    Type: String

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

  • $msg->scope() / $msg->scope($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Scope)

    Required. The Scope to create.

Google::Cloud::Gkehub::V1::Service::UpdateScopeRequest

Request to update a Scope.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Service::DeleteScopeRequest

Request to delete a Scope.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::ListScopesRequest

Request to list Scopes.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When 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: String

    Optional. Token returned by previous call to `ListScopes` which specifies the position in the list from where to continue listing the resources.

Google::Cloud::Gkehub::V1::Service::ListScopesResponse

List of Scopes.

Inherits from Protobuf::Message.

Accessors

  • $msg->scopes() / $msg->scopes($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Scope)

    The list of Scopes

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListScopes` method. The value of an empty string means that there are no more resources to return.

Google::Cloud::Gkehub::V1::Service::ListPermittedScopesRequest

Request to list permitted Scopes.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When 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: String

    Optional. Token returned by previous call to `ListPermittedScopes` which specifies the position in the list from where to continue listing the resources.

Google::Cloud::Gkehub::V1::Service::ListPermittedScopesResponse

List of permitted Scopes.

Inherits from Protobuf::Message.

Accessors

  • $msg->scopes() / $msg->scopes($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Scope)

    The list of permitted Scopes

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListPermittedScopes` method. The value of an empty string means that there are no more resources to return.

Google::Cloud::Gkehub::V1::Service::GetMembershipBindingRequest

Request message for the `GkeHub.GetMembershipBinding` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::CreateMembershipBindingRequest

Request to create a MembershipBinding.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->membership_binding() / $msg->membership_binding($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::MembershipBinding)

    Required. The MembershipBinding to create.

  • $msg->membership_binding_id() / $msg->membership_binding_id($value)

    Type: String

    Required. The ID to use for the MembershipBinding.

Google::Cloud::Gkehub::V1::Service::UpdateMembershipBindingRequest

Request to update a MembershipBinding.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Service::DeleteMembershipBindingRequest

Request to delete a Binding.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::ListMembershipBindingsRequest

Request to list MembershipBinding.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When 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: String

    Optional. Token returned by previous call to `ListMembershipBindings` which specifies the position in the list from where to continue listing the resources.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists MembershipBindings that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

Google::Cloud::Gkehub::V1::Service::ListMembershipBindingsResponse

List of MembershipBindings.

Inherits from Protobuf::Message.

Accessors

  • $msg->membership_bindings() / $msg->membership_bindings($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::MembershipBinding)

    The list of membership_bindings

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    List of locations that could not be reached while fetching this list.

Google::Cloud::Gkehub::V1::Service::ListMembershipsRequest

Request message for `GkeHub.ListMemberships` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When 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: String

    Optional. Token returned by previous call to `ListMemberships` which specifies the position in the list from where to continue listing the resources.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160.

    Examples:

    - Name is `bar` in project `foo-proj` and location `global`:
    
        name = "projects/foo-proj/locations/global/membership/bar"
    
    - Memberships that have a label called `foo`:
    
        labels.foo:*
    
    - Memberships that have a label called `foo` whose value is `bar`:
    
        labels.foo = bar
    
    - Memberships in the CREATING state:
    
        state = CREATING
  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

Google::Cloud::Gkehub::V1::Service::GetMembershipRBACRoleBindingRequest

Request message for the `GkeHub.GetMembershipRBACRoleBinding` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::CreateMembershipRBACRoleBindingRequest

Request to create a rbacrolebindings.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->rbacrolebinding_id() / $msg->rbacrolebinding_id($value)

    Type: String

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

    1. At most 63 characters in length
    2. It must consist of lower case alphanumeric characters or `-`
    3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

  • $msg->rbacrolebinding() / $msg->rbacrolebinding($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding)

    Required. The rbacrolebindings to create.

Google::Cloud::Gkehub::V1::Service::UpdateMembershipRBACRoleBindingRequest

Request to update a membership rbacrolebinding.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Service::DeleteMembershipRBACRoleBindingRequest

Request to delete a Membership RBACRoleBinding.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::ListMembershipRBACRoleBindingsRequest

Request to list Membership RBACRoleBindings.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When 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: String

    Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the position in the list from where to continue listing the resources.

Google::Cloud::Gkehub::V1::Service::ListMembershipRBACRoleBindingsResponse

List of Membership RBACRoleBindings.

Inherits from Protobuf::Message.

Accessors

  • $msg->rbacrolebindings() / $msg->rbacrolebindings($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding)

    The list of Membership RBACRoleBindings.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method. The value of an empty string means that there are no more resources to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    List of locations that could not be reached while fetching this list.

Google::Cloud::Gkehub::V1::Service::GenerateMembershipRBACRoleBindingYAMLRequest

Request to generate a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->rbacrolebinding_id() / $msg->rbacrolebinding_id($value)

    Type: String

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

    1. At most 63 characters in length
    2. It must consist of lower case alphanumeric characters or `-`
    3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

  • $msg->rbacrolebinding() / $msg->rbacrolebinding($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding)

    Required. The rbacrolebindings to generate the YAML for.

Google::Cloud::Gkehub::V1::Service::GenerateMembershipRBACRoleBindingYAMLResponse

Response for GenerateRBACRoleBindingYAML.

Inherits from Protobuf::Message.

Accessors

  • $msg->role_bindings_yaml() / $msg->role_bindings_yaml($value)

    Type: String

    a yaml text blob including the RBAC policies.

Google::Cloud::Gkehub::V1::Service::ListMembershipsResponse

Response message for the `GkeHub.ListMemberships` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->resources() / $msg->resources($value)

    Type: Message (Google::Cloud::Gkehub::V1::Membership::Membership)

    The list of matching Memberships.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListMemberships` method. The value of an empty string means that there are no more resources to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    List of locations that could not be reached while fetching this list.

Google::Cloud::Gkehub::V1::Service::GetMembershipRequest

Request message for `GkeHub.GetMembership` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::ListBoundMembershipsRequest

Request to list Memberships bound to a Scope.

Inherits from Protobuf::Message.

Accessors

  • $msg->scope_name() / $msg->scope_name($value)

    Type: String

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

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Lists Memberships that match the filter expression, following the syntax outlined in https://google.aip.dev/160. Currently, filtering can be done only based on Memberships's `name`, `labels`, `create_time`, `update_time`, and `unique_id`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to return. If unspecified or set to 0, all resources will be returned. Pagination is currently not supported; therefore, setting this field does not have any impact for now.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. Token returned by previous call to `ListBoundMemberships` which specifies the position in the list from where to continue listing the resources.

Google::Cloud::Gkehub::V1::Service::ListBoundMembershipsResponse

List of Memberships bound to a Scope.

Inherits from Protobuf::Message.

Accessors

  • $msg->memberships() / $msg->memberships($value)

    Type: Message (Google::Cloud::Gkehub::V1::Membership::Membership)

    The list of Memberships bound to the given Scope.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    List of locations that could not be reached while fetching this list.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to request the next page of resources from the `ListBoundMemberships` method. The value of an empty string means that there are no more resources to return.

Google::Cloud::Gkehub::V1::Service::CreateMembershipRequest

Request message for the `GkeHub.CreateMembership` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->membership_id() / $msg->membership_id($value)

    Type: String

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

    1. At most 63 characters in length
    2. It must consist of lower case alphanumeric characters or `-`
    3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.

  • $msg->resource() / $msg->resource($value)

    Type: Message (Google::Cloud::Gkehub::V1::Membership::Membership)

    Required. The membership to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::V1::Service::DeleteMembershipRequest

Request message for `GkeHub.DeleteMembership` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any subresource from this Membership will also be deleted. Otherwise, the request will only work if the Membership has no subresource.

Google::Cloud::Gkehub::V1::Service::UpdateMembershipRequest

Request message for `GkeHub.UpdateMembership` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Mask of fields to update.

  • $msg->resource() / $msg->resource($value)

    Type: Message (Google::Cloud::Gkehub::V1::Membership::Membership)

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

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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::V1::Service::GenerateConnectManifestRequest

Request message for `GkeHub.GenerateConnectManifest` method. .

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The Membership resource name the Agent will associate with, in the format `projects/*/locations/*/memberships/*`.

  • $msg->namespace() / $msg->namespace($value)

    Type: String

    Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`.

    The Connect Agent is authorized automatically when run in the default namespace. Otherwise, explicit authorization must be granted with an additional IAM binding.

  • $msg->proxy() / $msg->proxy($value)

    Type: Bytes

    Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com requires the use of a proxy. Format must be in the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol supported by the proxy. This will direct the connect agent's outbound traffic through a HTTP(S) proxy.

  • $msg->version() / $msg->version($value)

    Type: String

    Optional. The Connect agent version to use. Defaults to the most current version.

  • $msg->is_upgrade() / $msg->is_upgrade($value)

    Type: Bool

    Optional. If true, generate the resources for upgrade only. Some resources generated only for installation (e.g. secrets) will be excluded.

  • $msg->registry() / $msg->registry($value)

    Type: String

    Optional. The registry to fetch the connect agent image from. Defaults to gcr.io/gkeconnect.

  • $msg->image_pull_secret_content() / $msg->image_pull_secret_content($value)

    Type: Bytes

    Optional. The image pull secret content for the registry, if not public.

Google::Cloud::Gkehub::V1::Service::GenerateConnectManifestResponse

GenerateConnectManifestResponse contains manifest information for installing/upgrading a Connect agent.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Service::ConnectAgentResource

ConnectAgentResource represents a Kubernetes resource manifest for Connect Agent deployment.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Service::TypeMeta

TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.

Inherits from Protobuf::Message.

Accessors

  • $msg->kind() / $msg->kind($value)

    Type: String

    Kind of the resource (e.g. Deployment).

  • $msg->api_version() / $msg->api_version($value)

    Type: String

    APIVersion of the resource (e.g. v1).

Google::Cloud::Gkehub::V1::Service::ListFeaturesRequest

Request message for `GkeHub.ListFeatures` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    When 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: String

    Token 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: String

    Lists 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: String

    One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.

  • $msg->return_partial_success() / $msg->return_partial_success($value)

    Type: Bool

    Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.

Google::Cloud::Gkehub::V1::Service::ListFeaturesResponse

Response message for the `GkeHub.ListFeatures` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->resources() / $msg->resources($value)

    Type: Message (Google::Cloud::Gkehub::V1::Feature::Feature)

    The list of matching Features

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A 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::V1::Service::GetFeatureRequest

Request message for `GkeHub.GetFeature` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->return_partial_success() / $msg->return_partial_success($value)

    Type: Bool

    Optional. If set to true, the response will return partial results when some regions are unreachable and the unreachable field in Feature proto will be populated. If set to false, the request will fail when some regions are unreachable.

Google::Cloud::Gkehub::V1::Service::CreateFeatureRequest

Request message for the `GkeHub.CreateFeature` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->feature_id() / $msg->feature_id($value)

    Type: String

    The ID of the feature to create.

  • $msg->resource() / $msg->resource($value)

    Type: Message (Google::Cloud::Gkehub::V1::Feature::Feature)

    The Feature resource to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    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::V1::Service::DeleteFeatureRequest

Request message for `GkeHub.DeleteFeature` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->force() / $msg->force($value)

    Type: Bool

    If 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: String

    Optional. 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::V1::Service::UpdateFeatureRequest

Request message for `GkeHub.UpdateFeature` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The 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::V1::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: String

    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::V1::Service::CreateFleetRequest

Request message for the `GkeHub.CreateFleet` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->fleet() / $msg->fleet($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Fleet)

    Required. The fleet to create.

Google::Cloud::Gkehub::V1::Service::GetFleetRequest

Request message for the `GkeHub.GetFleet` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::UpdateFleetRequest

Request message for the `GkeHub.UpdateFleet` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Service::DeleteFleetRequest

Request message for `GkeHub.DeleteFleet` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

Google::Cloud::Gkehub::V1::Service::ListFleetsRequest

Request message for the `GkeHub.ListFleets` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

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

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Google::Cloud::Gkehub::V1::Service::ListFleetsResponse

Response message for the `GkeHub.ListFleetsResponse` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->fleets() / $msg->fleets($value)

    Type: Message (Google::Cloud::Gkehub::V1::Fleet::Fleet)

    The list of matching fleets.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h.

Google::Cloud::Gkehub::V1::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: String

    Output only. Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Output only. Name of the verb executed by the operation.

  • $msg->status_detail() / $msg->status_detail($value)

    Type: String

    Output only. Human-readable status of the operation, if any.

  • $msg->cancel_requested() / $msg->cancel_requested($value)

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.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: String

    Output only. API version used to start the operation.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Gkehub::V1::Service::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.