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:
StringOutput 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:
StringOptional. 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:
StringOutput 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
$msg->security_posture_config()/$msg->security_posture_config($value)Type:
Message(Google::Cloud::Gkehub::V1::Fleet::SecurityPostureConfig)Enable/Disable Security Posture features for the cluster.
$msg->binary_authorization_config()/$msg->binary_authorization_config($value)Type:
Message(Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig)Optional. Enable/Disable binary authorization features for the cluster.
$msg->compliance_posture_config()/$msg->compliance_posture_config($value)Type:
Message(Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig)Optional. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask.
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
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Cloud::Gkehub::V1::SecurityPostureConfig::Mode)Sets which mode to use for Security Posture features.
$msg->vulnerability_mode()/$msg->vulnerability_mode($value)Type:
Enum(Google::Cloud::Gkehub::V1::SecurityPostureConfig::VulnerabilityMode)Sets which mode to use for vulnerability scanning.
Enum: SecurityPostureConfig::Mode
MODE_UNSPECIFIED=>0DISABLED=>1BASIC=>2ENTERPRISE=>3
Enum: SecurityPostureConfig::VulnerabilityMode
VULNERABILITY_MODE_UNSPECIFIED=>0VULNERABILITY_DISABLED=>1VULNERABILITY_BASIC=>2VULNERABILITY_ENTERPRISE=>3
Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig
BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.
Inherits from Protobuf::Message.
Accessors
$msg->evaluation_mode()/$msg->evaluation_mode($value)Type:
Enum(Google::Cloud::Gkehub::V1::BinaryAuthorizationConfig::EvaluationMode)Optional. Mode of operation for binauthz policy evaluation.
$msg->policy_bindings()/$msg->policy_bindings($value)Type:
Message(Google::Cloud::Gkehub::V1::Fleet::BinaryAuthorizationConfig::PolicyBinding)Optional. Binauthz policies that apply to this cluster.
Enum: BinaryAuthorizationConfig::EvaluationMode
EVALUATION_MODE_UNSPECIFIED=>0DISABLED=>1POLICY_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
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Cloud::Gkehub::V1::CompliancePostureConfig::Mode)Defines the enablement mode for Compliance Posture.
$msg->compliance_standards()/$msg->compliance_standards($value)Type:
Message(Google::Cloud::Gkehub::V1::Fleet::CompliancePostureConfig::ComplianceStandard)List of enabled compliance standards.
Enum: CompliancePostureConfig::Mode
MODE_UNSPECIFIED=>0DISABLED=>1ENABLED=>2
Google::Cloud::Gkehub::V1::Fleet::FleetLifecycleState
FleetLifecycleState describes the state of a Fleet resource.
Inherits from Protobuf::Message.
Accessors
$msg->code()/$msg->code($value)Type:
Enum(Google::Cloud::Gkehub::V1::FleetLifecycleState::Code)Output only. The current state of the Fleet resource.
Enum: FleetLifecycleState::Code
CODE_UNSPECIFIED=>0CREATING=>1READY=>2DELETING=>3UPDATING=>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:
StringThe resource name for the namespace `projects/{project}/locations/{location}/namespaces/{namespace}`
$msg->uid()/$msg->uid($value)Type:
StringOutput 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:
StringRequired. 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
$msg->code()/$msg->code($value)Type:
Enum(Google::Cloud::Gkehub::V1::NamespaceLifecycleState::Code)Output only. The current state of the Namespace resource.
Enum: NamespaceLifecycleState::Code
CODE_UNSPECIFIED=>0CREATING=>1READY=>2DELETING=>3UPDATING=>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:
Stringuser is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"
$msg->group()/$msg->group($value)Type:
Stringgroup is the group, as seen by the kubernetes cluster.
$msg->name()/$msg->name($value)Type:
StringThe 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:
StringOutput 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
$msg->code()/$msg->code($value)Type:
Enum(Google::Cloud::Gkehub::V1::RBACRoleBindingLifecycleState::Code)Output only. The current state of the rbacrolebinding resource.
Enum: RBACRoleBindingLifecycleState::Code
CODE_UNSPECIFIED=>0CREATING=>1READY=>2DELETING=>3UPDATING=>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:
StringThe resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`
$msg->uid()/$msg->uid($value)Type:
StringOutput 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
$msg->code()/$msg->code($value)Type:
Enum(Google::Cloud::Gkehub::V1::ScopeLifecycleState::Code)Output only. The current state of the scope resource.
Enum: ScopeLifecycleState::Code
CODE_UNSPECIFIED=>0CREATING=>1READY=>2DELETING=>3UPDATING=>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:
StringA Scope resource name in the format `projects/*/locations/*/scopes/*`.
$msg->name()/$msg->name($value)Type:
StringThe resource name for the membershipbinding itself `projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}`
$msg->uid()/$msg->uid($value)Type:
StringOutput 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
$msg->code()/$msg->code($value)Type:
Enum(Google::Cloud::Gkehub::V1::MembershipBindingLifecycleState::Code)Output only. The current state of the MembershipBinding resource.
Enum: MembershipBindingLifecycleState::Code
CODE_UNSPECIFIED=>0CREATING=>1READY=>2DELETING=>3UPDATING=>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.