NAME

Google::Cloud::Gkehub::V1::Fleet - Compiled Protocol Buffers messages for google/cloud/gkehub/v1/fleet.proto

SYNOPSIS

use Google::Cloud::Gkehub::V1::Fleet;

my $msg = Google::Cloud::Gkehub::V1::Fleet::Fleet->new({
    name => $name,
    display_name => $display_name,
    create_time => $create_time,
    update_time => $update_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkehub/v1/fleet.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::Fleet::Fleet

Fleet contains the Fleet-wide metadata and configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`.

    Each Google Cloud project can have at most one fleet resource, named "default".

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

    Type: String

    Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point.

    Example: `Production Fleet`

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the Fleet was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the Fleet was last updated.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the Fleet was deleted.

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

    Type: String

    Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.

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

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

    Output only. State of the namespace resource.

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

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

    Optional. The default cluster configurations to apply across the fleet.

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

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

    Optional. Labels for this Fleet.

Google::Cloud::Gkehub::V1::Fleet::DefaultClusterConfig

DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Fleet::SecurityPostureConfig

SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.

Inherits from Protobuf::Message.

Accessors

Enum: SecurityPostureConfig::Mode

  • MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • BASIC => 2

  • ENTERPRISE => 3

Enum: SecurityPostureConfig::VulnerabilityMode

  • VULNERABILITY_MODE_UNSPECIFIED => 0

  • VULNERABILITY_DISABLED => 1

  • VULNERABILITY_BASIC => 2

  • VULNERABILITY_ENTERPRISE => 3

Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig

BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.

Inherits from Protobuf::Message.

Accessors

Enum: BinaryAuthorizationConfig::EvaluationMode

  • EVALUATION_MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • POLICY_BINDINGS => 2

Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig

CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.

Inherits from Protobuf::Message.

Accessors

Enum: CompliancePostureConfig::Mode

  • MODE_UNSPECIFIED => 0

  • DISABLED => 1

  • ENABLED => 2

Google::Cloud::Gkehub::V1::Fleet::FleetLifecycleState

FleetLifecycleState describes the state of a Fleet resource.

Inherits from Protobuf::Message.

Accessors

Enum: FleetLifecycleState::Code

  • CODE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

  • UPDATING => 4

Google::Cloud::Gkehub::V1::Fleet::Namespace

Namespace represents a namespace across the Fleet

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`

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

    Type: String

    Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is created, it gets a different uid.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the namespace was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the namespace was last updated.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the namespace was deleted.

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

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

    Output only. State of the namespace resource.

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

    Type: String

    Required. Scope associated with the namespace

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

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

    Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (`namespace_labels` in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.

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

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

    Optional. Labels for this Namespace.

Google::Cloud::Gkehub::V1::Fleet::NamespaceLifecycleState

NamespaceLifecycleState describes the state of a Namespace resource.

Inherits from Protobuf::Message.

Accessors

Enum: NamespaceLifecycleState::Code

  • CODE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

  • UPDATING => 4

Google::Cloud::Gkehub::V1::Fleet::RBACRoleBinding

RBACRoleBinding represents a rbacrolebinding across the Fleet

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

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

    Type: String

    group is the group, as seen by the kubernetes cluster.

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

    Type: String

    The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`

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

    Type: String

    Output only. Google-generated UUID for this resource. This is unique across all rbacrolebinding resources. If a rbacrolebinding resource is deleted and another resource with the same name is created, it gets a different uid.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the rbacrolebinding was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the rbacrolebinding was last updated.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the rbacrolebinding was deleted.

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

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

    Output only. State of the rbacrolebinding resource.

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

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

    Required. Role to bind to the principal

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

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

    Optional. Labels for this RBACRolebinding.

Google::Cloud::Gkehub::V1::Fleet::RBACRoleBindingLifecycleState

RBACRoleBindingLifecycleState describes the state of a RbacRoleBinding resource.

Inherits from Protobuf::Message.

Accessors

Enum: RBACRoleBindingLifecycleState::Code

  • CODE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

  • UPDATING => 4

Google::Cloud::Gkehub::V1::Fleet::Scope

Scope represents a Scope in a Fleet.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`

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

    Type: String

    Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the scope was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the scope was last updated.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the scope was deleted.

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

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

    Output only. State of the scope resource.

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

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

    Optional. Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (`namespace_labels` in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.

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

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

    Optional. Labels for this Scope.

Google::Cloud::Gkehub::V1::Fleet::ScopeLifecycleState

ScopeLifecycleState describes the state of a Scope resource.

Inherits from Protobuf::Message.

Accessors

Enum: ScopeLifecycleState::Code

  • CODE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

  • UPDATING => 4

Google::Cloud::Gkehub::V1::Fleet::MembershipBinding

MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

    The resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`

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

    Type: String

    Output only. Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the membership binding was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the membership binding was last updated.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the membership binding was deleted.

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

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

    Output only. State of the membership binding resource.

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

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

    Optional. Labels for this MembershipBinding.

Google::Cloud::Gkehub::V1::Fleet::MembershipBindingLifecycleState

MembershipBindingLifecycleState describes the state of a Binding resource.

Inherits from Protobuf::Message.

Accessors

Enum: MembershipBindingLifecycleState::Code

  • CODE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • DELETING => 3

  • UPDATING => 4

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.