Service Client: Google::Cloud::Edgecontainer::V1::Service::EdgeContainerClient

Client stub representing the remote EdgeContainer gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to edgecontainer.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

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

SYNOPSIS

use Google::Cloud::Edgecontainer::V1::Service;

my $msg = Google::Cloud::Edgecontainer::V1::Service::OperationMetadata->new({
    create_time => $create_time,
    end_time => $end_time,
    target => $target,
    verb => $verb,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/edgecontainer/v1/service.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::Service::OperationMetadata

Long-running operation metadata for Edge Container API methods.

Inherits from Protobuf::Message.

Accessors

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

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

    The time the operation was created.

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

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

    The time the operation finished running.

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

    Type: String

    Server-defined resource path for the target of the operation.

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

    Type: String

    The verb executed by the operation.

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

    Type: String

    Human-readable status of the operation, if any.

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

    Type: Bool

    Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.

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

    Type: String

    API version used to start the operation.

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

    Type: String

    Warnings that do not block the operation, but still hold relevant information for the end user to receive.

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

    Type: Enum (Google::Cloud::Edgecontainer::V1::OperationMetadata::StatusReason)

    Machine-readable status of the operation, if any.

Enum: OperationMetadata::StatusReason

  • STATUS_REASON_UNSPECIFIED => 0

  • UPGRADE_PAUSED => 1

Google::Cloud::Edgecontainer::V1::Service::ListClustersRequest

Lists clusters in a location.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent location, which owns this collection of clusters.

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

    Type: Int32

    The maximum number of resources to list.

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

    Type: String

    A page token received from previous list request. A page token received from previous list request.

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

    Type: String

    Only resources matching this filter will be listed.

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

    Type: String

    Specifies the order in which resources will be listed.

Google::Cloud::Edgecontainer::V1::Service::ListClustersResponse

List of clusters in a location.

Inherits from Protobuf::Message.

Accessors

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

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

    Clusters in the location.

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

    Type: String

    A token to retrieve next page of results.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Edgecontainer::V1::Service::GetClusterRequest

Gets a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster.

Google::Cloud::Edgecontainer::V1::Service::CreateClusterRequest

Creates a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent location where this cluster will be created.

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

    Type: String

    Required. A client-specified unique identifier for the cluster.

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

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

    Required. The cluster to create.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::UpdateClusterRequest

Updates a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Field mask is used to specify the fields to be overwritten in the Cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

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

    The updated cluster.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::UpgradeClusterRequest

Upgrades a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster.

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

    Type: String

    Required. The version the cluster is going to be upgraded to.

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

    Type: Enum (Google::Cloud::Edgecontainer::V1::UpgradeClusterRequest::Schedule)

    The schedule for the upgrade.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Enum: UpgradeClusterRequest::Schedule

  • SCHEDULE_UNSPECIFIED => 0

  • IMMEDIATELY => 1

Google::Cloud::Edgecontainer::V1::Service::DeleteClusterRequest

Deletes a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::GenerateAccessTokenRequest

Generates an access token for a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster.

Google::Cloud::Edgecontainer::V1::Service::GenerateAccessTokenResponse

An access token for a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Access token to authenticate to k8s api-server.

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

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

    Output only. Timestamp at which the token will expire.

Google::Cloud::Edgecontainer::V1::Service::GenerateOfflineCredentialRequest

Generates an offline credential(offline) for a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the cluster.

Google::Cloud::Edgecontainer::V1::Service::GenerateOfflineCredentialResponse

An offline credential for a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Client certificate to authenticate to k8s api-server.

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

    Type: String

    Output only. Client private key to authenticate to k8s api-server.

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

    Type: String

    Output only. Client's identity.

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

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

    Output only. Timestamp at which this credential will expire.

Google::Cloud::Edgecontainer::V1::Service::ListNodePoolsRequest

Lists node pools in a cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent cluster, which owns this collection of node pools.

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

    Type: Int32

    The maximum number of resources to list.

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

    Type: String

    A page token received from previous list request.

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

    Type: String

    Only resources matching this filter will be listed.

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

    Type: String

    Specifies the order in which resources will be listed.

Google::Cloud::Edgecontainer::V1::Service::ListNodePoolsResponse

List of node pools in a cluster.

Inherits from Protobuf::Message.

Accessors

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

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

    Node pools in the cluster.

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

    Type: String

    A token to retrieve next page of results.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Edgecontainer::V1::Service::GetNodePoolRequest

Gets a node pool.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the node pool.

Google::Cloud::Edgecontainer::V1::Service::CreateNodePoolRequest

Creates a node pool.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent cluster where this node pool will be created.

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

    Type: String

    Required. A client-specified unique identifier for the node pool.

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

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

    Required. The node pool to create.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::UpdateNodePoolRequest

Updates a node pool.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Field mask is used to specify the fields to be overwritten in the NodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

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

    The updated node pool.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::DeleteNodePoolRequest

Deletes a node pool.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the node pool.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::ListMachinesRequest

Lists machines in a site.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent site, which owns this collection of machines.

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

    Type: Int32

    The maximum number of resources to list.

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

    Type: String

    A page token received from previous list request.

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

    Type: String

    Only resources matching this filter will be listed.

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

    Type: String

    Specifies the order in which resources will be listed.

Google::Cloud::Edgecontainer::V1::Service::ListMachinesResponse

List of machines in a site.

Inherits from Protobuf::Message.

Accessors

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

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

    Machines in the site.

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

    Type: String

    A token to retrieve next page of results.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Edgecontainer::V1::Service::GetMachineRequest

Gets a machine.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the machine.

Google::Cloud::Edgecontainer::V1::Service::ListVpnConnectionsRequest

Lists VPN connections.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent location, which owns this collection of VPN connections.

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

    Type: Int32

    The maximum number of resources to list.

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

    Type: String

    A page token received from previous list request.

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

    Type: String

    Only resources matching this filter will be listed.

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

    Type: String

    Specifies the order in which resources will be listed.

Google::Cloud::Edgecontainer::V1::Service::ListVpnConnectionsResponse

List of VPN connections in a location.

Inherits from Protobuf::Message.

Accessors

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

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

    VpnConnections in the location.

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

    Type: String

    A token to retrieve next page of results.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Edgecontainer::V1::Service::GetVpnConnectionRequest

Gets a VPN connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the vpn connection.

Google::Cloud::Edgecontainer::V1::Service::CreateVpnConnectionRequest

Creates a VPN connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent location where this vpn connection will be created.

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

    Type: String

    Required. The VPN connection identifier.

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

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

    Required. The VPN connection to create.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::DeleteVpnConnectionRequest

Deletes a vpn connection.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the vpn connection.

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

    Type: String

    A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if `request_id` is provided.

Google::Cloud::Edgecontainer::V1::Service::GetServerConfigRequest

Gets the server config.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.