NAME

Google::Cloud::Edgecontainer::V1::Resources - Compiled Protocol Buffers messages for google/cloud/edgecontainer/v1/resources.proto

SYNOPSIS

use Google::Cloud::Edgecontainer::V1::Resources;

my $msg = Google::Cloud::Edgecontainer::V1::Resources::Cluster->new({
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
    labels => $labels,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/edgecontainer/v1/resources.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::Edgecontainer::V1::Resources::Cluster

A Google Distributed Cloud Edge Kubernetes cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster.

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

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

    Output only. The time when the cluster was created.

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

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

    Output only. The time when the cluster was last updated.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Cluster::LabelsEntry)

    Labels associated with this resource.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Fleet)

    Required. Fleet configuration.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::ClusterNetworking)

    Required. Cluster-wide networking configuration.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Authorization)

    Required. Immutable. RBAC policy that will be applied and managed by GEC.

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

    Type: Int32

    Optional. The default maximum number of pods per node used if a maximum value is not specified explicitly for a node pool in this cluster. If unspecified, the Kubernetes default value will be used.

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

    Type: String

    Output only. The IP address of the Kubernetes API server.

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

    Type: Int32

    Output only. The port number of the Kubernetes API server.

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

    Type: String

    Output only. The PEM-encoded public certificate of the cluster's CA.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::MaintenancePolicy)

    Optional. Cluster-wide maintenance policy configuration.

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

    Type: String

    Output only. The control plane release version

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

    Type: String

    Output only. The lowest release version among all worker nodes. This field can be empty if the cluster does not have any worker nodes.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Cluster::ControlPlane)

    Optional. The configuration of the cluster control plane.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Cluster::SystemAddonsConfig)

    Optional. The configuration of the system add-ons.

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

    Type: String

    Optional. IPv4 address pools for cluster data plane external load balancing.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Cluster::ControlPlaneEncryption)

    Optional. Remote control plane disk encryption options. This field is only used when enabling CMEK support.

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

    Type: Enum (Google::Cloud::Edgecontainer::V1::Cluster::Status)

    Output only. The current status of the cluster.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Cluster::MaintenanceEvent)

    Output only. All the maintenance events scheduled for the cluster, including the ones ongoing, planned for the future and done in the past (up to 90 days).

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

    Type: String

    Optional. The target cluster version. For example: "1.5.0".

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

    Type: Enum (Google::Cloud::Edgecontainer::V1::Cluster::ReleaseChannel)

    Optional. The release channel a cluster is subscribed to.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Cluster::SurvivabilityConfig)

    Optional. Configuration of the cluster survivability, e.g., for the case when network connectivity is lost. Note: This only applies to local control plane clusters.

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

    Type: String

    Optional. IPv6 address pools for cluster data plane external load balancing.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Cluster::ConnectionState)

    Output only. The current connection state of the cluster.

Enum: Cluster::Status

  • STATUS_UNSPECIFIED => 0

  • PROVISIONING => 1

  • RUNNING => 2

  • DELETING => 3

  • ERROR => 4

  • RECONCILING => 5

Enum: Cluster::ReleaseChannel

  • RELEASE_CHANNEL_UNSPECIFIED => 0

  • NONE => 1

  • REGULAR => 2

Google::Cloud::Edgecontainer::V1::Resources::ClusterNetworking

Cluster-wide networking configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

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

    Type: String

    Required. All services in the cluster are assigned an RFC1918 IPv4 address from these blocks. Only a single block is supported. This field cannot be changed after creation.

Google::Cloud::Edgecontainer::V1::Resources::Fleet

Fleet related configuration.

Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Fleet host project where this cluster will be registered.

    Project names are formatted as `projects/<project-number>`.

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

    Type: String

    Output only. The name of the managed Hub Membership resource associated to this cluster.

    Membership names are formatted as `projects/<project-number>/locations/global/membership/<cluster-id>`.

Google::Cloud::Edgecontainer::V1::Resources::ClusterUser

A user principal for an RBAC policy.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. An active Google username.

Google::Cloud::Edgecontainer::V1::Resources::Authorization

RBAC policy that will be applied and managed by GEC.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::ClusterUser)

    Required. User that will be granted the cluster-admin role on the cluster, providing full access to the cluster. Currently, this is a singular field, but will be expanded to allow multiple admins in the future.

Google::Cloud::Edgecontainer::V1::Resources::NodePool

A set of Kubernetes nodes in a cluster with common configuration and specification.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the node pool.

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

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

    Output only. The time when the node pool was created.

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

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

    Output only. The time when the node pool was last updated.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::NodePool::LabelsEntry)

    Labels associated with this resource.

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

    Type: String

    Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.

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

    Type: Int32

    Required. The number of nodes in the pool.

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

    Type: String

    Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::NodePool::LocalDiskEncryption)

    Optional. Local disk encryption options. This field is only used when enabling CMEK support.

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

    Type: String

    Output only. The lowest release version among all worker nodes.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::NodePool::NodeConfig)

    Optional. Configuration for each node in the NodePool

Google::Cloud::Edgecontainer::V1::Resources::Machine

A Google Distributed Cloud Edge machine capable of acting as a Kubernetes node.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the machine.

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

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

    Output only. The time when the node pool was created.

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

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

    Output only. The time when the node pool was last updated.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::Machine::LabelsEntry)

    Labels associated with this resource.

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

    Type: String

    Canonical resource name of the node that this machine is responsible for hosting e.g. projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, Or empty if the machine is not assigned to assume the role of a node.

    For control plane nodes hosted on edge machines, this will return the following format: "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}".

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

    Type: String

    The Google Distributed Cloud Edge zone of this machine.

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

    Type: String

    Output only. The software version of the machine.

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

    Type: Bool

    Output only. Whether the machine is disabled. If disabled, the machine is unable to enter service.

Google::Cloud::Edgecontainer::V1::Resources::VpnConnection

A VPN connection .

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of VPN connection

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

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

    Output only. The time when the VPN connection was created.

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

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

    Output only. The time when the VPN connection was last updated.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::VpnConnection::LabelsEntry)

    Labels associated with this resource.

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

    Type: String

    NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used.

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

    Type: Enum (Google::Cloud::Edgecontainer::V1::VpnConnection::BgpRoutingMode)

    Dynamic routing mode of the VPC network, `regional` or `global`.

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

    Type: String

    The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}.

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

    Type: String

    The network ID of VPC to connect to.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::VpnConnection::VpcProject)

    Optional. Project detail of the VPC network. Required if VPC is in a different project than the cluster project.

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

    Type: Bool

    Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs.

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

    Type: String

    Optional. The VPN connection Cloud Router name.

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::VpnConnection::Details)

    Output only. The created connection details.

Enum: VpnConnection::BgpRoutingMode

  • BGP_ROUTING_MODE_UNSPECIFIED => 0

  • REGIONAL => 1

  • GLOBAL => 2

Google::Cloud::Edgecontainer::V1::Resources::LocationMetadata

Metadata for a given [google.cloud.location.Location][google.cloud.location.Location].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Edgecontainer::V1::Resources::ZoneMetadata

A Google Distributed Cloud Edge zone where edge machines are located.

Inherits from Protobuf::Message.

Accessors

Enum: ZoneMetadata::RackType

  • RACK_TYPE_UNSPECIFIED => 0

  • BASE => 1

  • EXPANSION => 2

Google::Cloud::Edgecontainer::V1::Resources::ConfigData

Config data holds all the config related data for the zone.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    list of available v4 ip pools for external loadbalancer

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

    Type: String

    list of available v6 ip pools for external loadbalancer

Google::Cloud::Edgecontainer::V1::Resources::Quota

Represents quota for Edge Container resources.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the quota metric.

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

    Type: Double

    Quota limit for this metric.

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

    Type: Double

    Current usage of this metric.

Google::Cloud::Edgecontainer::V1::Resources::MaintenancePolicy

Maintenance policy configuration.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Edgecontainer::V1::Resources::MaintenanceWindow

Maintenance window configuration

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Edgecontainer::V1::Resources::RecurringTimeWindow

Represents an arbitrary window of time that recurs.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Edgecontainer::V1::Resources::TimeWindow)

    The window of the first recurrence.

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

    Type: String

    An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window recurs. They go on for the span of time between the start and end time.

Google::Cloud::Edgecontainer::V1::Resources::MaintenanceExclusionWindow

Represents a maintenance exclusion window.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Edgecontainer::V1::Resources::TimeWindow

Represents an arbitrary window of time.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Edgecontainer::V1::Resources::ServerConfig

Server configuration for supported versions and release channels.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Edgecontainer::V1::Resources::ChannelConfig

Configuration for a release channel.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Default version for this release channel, e.g.: "1.4.0".

Google::Cloud::Edgecontainer::V1::Resources::Version

Version of a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Name of the version, e.g.: "1.4.0".

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Edgecontainer::V1::Resources::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.