Service Client: Google::Cloud::Vpcaccess::V1::VpcAccess::VpcAccessServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Vpcaccess::V1::VpcAccess - Compiled Protocol Buffers messages for google/cloud/vpcaccess/v1/vpc_access.proto

SYNOPSIS

use Google::Cloud::Vpcaccess::V1::VpcAccess;

my $msg = Google::Cloud::Vpcaccess::V1::VpcAccess::Connector->new({
    name => $name,
    network => $network,
    ip_cidr_range => $ip_cidr_range,
    state => $state,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/vpcaccess/v1/vpc_access.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::Vpcaccess::V1::VpcAccess::Connector

Definition of a Serverless VPC Access connector.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name in the format `projects/*/locations/*/connectors/*`.

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

    Type: String

    Name of a VPC network.

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

    Type: String

    The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.

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

    Type: Enum (Google::Cloud::Vpcaccess::V1::Connector::State)

    Output only. State of the VPC access connector.

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

    Type: Int32

    Minimum throughput of the connector in Mbps. Default and min is 200.

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

    Type: Int32

    Maximum throughput of the connector in Mbps. Default is 300, max is 1000.

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

    Type: String

    Output only. List of projects using the connector.

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

    Type: Message (Google::Cloud::Vpcaccess::V1::VpcAccess::Connector::Subnet)

    The subnet in which to house the VPC Access Connector.

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

    Type: String

    Machine type of VM Instance underlying connector. Default is e2-micro

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

    Type: Int32

    Minimum value of instances in autoscaling group underlying the connector.

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

    Type: Int32

    Maximum value of instances in autoscaling group underlying the connector.

Enum: Connector::State

  • STATE_UNSPECIFIED => 0

  • READY => 1

  • CREATING => 2

  • DELETING => 3

  • ERROR => 4

  • UPDATING => 5

Google::Cloud::Vpcaccess::V1::VpcAccess::CreateConnectorRequest

Request for creating a Serverless VPC Access connector.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location in which the configuration should be created, specified in the format `projects/*/locations/*`.

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

    Type: String

    Required. The ID to use for this connector.

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

    Type: Message (Google::Cloud::Vpcaccess::V1::VpcAccess::Connector)

    Required. Resource to create.

Google::Cloud::Vpcaccess::V1::VpcAccess::GetConnectorRequest

Request for getting a Serverless VPC Access connector.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of a Serverless VPC Access connector to get.

Google::Cloud::Vpcaccess::V1::VpcAccess::ListConnectorsRequest

Request for listing Serverless VPC Access connectors in a location.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location from which the routes should be listed.

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

    Type: Int32

    Maximum number of functions to return per call.

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

    Type: String

    Continuation token.

Google::Cloud::Vpcaccess::V1::VpcAccess::ListConnectorsResponse

Response for listing Serverless VPC Access connectors.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Vpcaccess::V1::VpcAccess::DeleteConnectorRequest

Request for deleting a Serverless VPC Access connector.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of a Serverless VPC Access connector to delete.

Google::Cloud::Vpcaccess::V1::VpcAccess::OperationMetadata

Metadata for google.longrunning.Operation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1.Connectors.CreateConnector.

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

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

    Output only. Time when the operation was created.

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

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

    Output only. Time when the operation completed.

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

    Type: String

    Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Vpcaccess::V1::VpcAccess::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.