NAME

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

SYNOPSIS

use Google::Cloud::Gkehub::V1beta::Feature;

my $msg = Google::Cloud::Gkehub::V1beta::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::V1beta::Feature::Feature->parse($bytes);

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

DESCRIPTION

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

Feature represents the settings and status of any Hub 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::V1beta::Feature::Feature::LabelsEntry)

    Labels for this Feature.

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

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

    Output only. State of the Feature resource itself.

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

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

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

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

    Type: Message (Google::Cloud::Gkehub::V1beta::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::V1beta::Feature::CommonFeatureState)

    Output only. The Hub-wide Feature state.

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

    Type: Message (Google::Cloud::Gkehub::V1beta::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.

Google::Cloud::Gkehub::V1beta::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 Hub 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::V1beta::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::V1beta::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::V1beta::Feature::CommonFeatureSpec

CommonFeatureSpec contains Hub-wide configuration information

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1beta::Feature::CommonFeatureState

CommonFeatureState contains Hub-wide Feature status information.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1beta::Feature::MembershipFeatureSpec

MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::V1beta::Feature::MembershipFeatureState

MembershipFeatureState contains Feature status information for a single Membership.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.