NAME

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

SYNOPSIS

use Google::Cloud::Gkehub::V1::Feature;

my $msg = Google::Cloud::Gkehub::V1::Feature::Feature->new({
    name => $name,
    labels => $labels,
    resource_state => $resource_state,
    spec => $spec,
});

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

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

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

DESCRIPTION

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

Feature represents the settings and status of any Fleet Feature.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The full, unique name of this Feature resource in the format `projects/*/locations/*/features/*`.

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

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

    Labels for this Feature.

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

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

    Output only. State of the Feature resource itself.

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

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

    Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused.

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

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

    Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused.

    The keys indicate which Membership the configuration is for, in the form:

    `projects/{p}/locations/{l}/memberships/{m}`

    Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project.

    {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.

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

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

    Output only. The Fleet-wide Feature state.

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

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

    Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused.

    The keys indicate which Membership the state is for, in the form:

    `projects/{p}/locations/{l}/memberships/{m}`

    Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

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

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

    Output only. When the Feature resource was created.

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

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

    Output only. When the Feature resource was last updated.

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

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

    Output only. When the Feature resource was deleted.

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

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

    Optional. Scope-specific configuration for this Feature. If this Feature does not support any per-Scope configuration, this field may be unused.

    The keys indicate which Scope the configuration is for, in the form:

    `projects/{p}/locations/global/scopes/{s}`

    Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.

    {p} will always be returned as the project number, but the project ID is also accepted during input. If the same Scope is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.

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

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

    Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused.

    The keys indicate which Scope the state is for, in the form:

    `projects/{p}/locations/global/scopes/{s}`

    Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.

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

    Type: String

    Output only. List of locations that could not be reached while fetching this feature.

Google::Cloud::Gkehub::V1::Feature::FeatureResourceState

FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the "running state" of the Feature in the Fleet and across Memberships.

Inherits from Protobuf::Message.

Accessors

Enum: FeatureResourceState::State

  • STATE_UNSPECIFIED => 0

  • ENABLING => 1

  • ACTIVE => 2

  • DISABLING => 3

  • UPDATING => 4

  • SERVICE_UPDATING => 5

Google::Cloud::Gkehub::V1::Feature::FeatureState

FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Gkehub::V1::FeatureState::Code)

    The high-level, machine-readable status of this Feature.

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

    Type: String

    A human-readable description of the current status.

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

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

    The time this status and any related Feature-specific details were updated.

Enum: FeatureState::Code

  • CODE_UNSPECIFIED => 0

  • OK => 1

  • WARNING => 2

  • ERROR => 3

Google::Cloud::Gkehub::V1::Feature::CommonFeatureSpec

CommonFeatureSpec contains Hub-wide configuration information

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Feature::CommonFeatureState

CommonFeatureState contains Fleet-wide Feature status information.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Feature::ScopeFeatureSpec

ScopeFeatureSpec contains feature specs for a fleet scope.

Inherits from Protobuf::Message.

Google::Cloud::Gkehub::V1::Feature::ScopeFeatureState

ScopeFeatureState contains Scope-wide Feature status information.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Feature::MembershipFeatureSpec

MembershipFeatureSpec contains configuration information for a single Membership.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1::Feature::MembershipFeatureState

MembershipFeatureState contains Feature status information for a single Membership.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.