NAME

Google::Cloud::Run::V2::VendorSettings - Compiled Protocol Buffers messages for google/cloud/run/v2/vendor_settings.proto

SYNOPSIS

use Google::Cloud::Run::V2::VendorSettings;

my $msg = Google::Cloud::Run::V2::VendorSettings::VpcAccess->new({
    connector => $connector,
    egress => $egress,
    network_interfaces => $network_interfaces,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Run::V2::VendorSettings::VpcAccess->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/run/v2/vendor_settings.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::Run::V2::VendorSettings::VpcAccess

VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    VPC Access connector name. Format: `projects/{project}/locations/{location}/connectors/{connector}`, where `{project}` can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.

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

    Type: Enum (Google::Cloud::Run::V2::VpcAccess::VpcEgress)

    Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.

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

    Type: Message (Google::Cloud::Run::V2::VendorSettings::VpcAccess::NetworkInterface)

    Optional. Direct VPC egress settings. Currently only single network interface is supported.

Enum: VpcAccess::VpcEgress

  • VPC_EGRESS_UNSPECIFIED => 0

  • ALL_TRAFFIC => 1

  • PRIVATE_RANGES_ONLY => 2

Google::Cloud::Run::V2::VendorSettings::BinaryAuthorization

Settings for Binary Authorization feature.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled.

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

    Type: String

    Optional. The path to a binary authorization policy. Format: `projects/{project}/platforms/cloudRun/{policy-name}`

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

    Type: String

    Optional. If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass

Google::Cloud::Run::V2::VendorSettings::RevisionScaling

Settings for revision-level scaling settings.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Optional. Minimum number of serving instances that this resource should have.

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

    Type: Int32

    Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances

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

    Type: Float

    Optional. Determines a threshold for CPU utilization before scaling begins. Accepted values are between `0.1` and `0.90` (inclusive) or `0.0` to disable CPU utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.

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

    Type: Float

    Optional. Determines a threshold for concurrency utilization before scaling begins. Accepted values are between `0.1` and `0.95` (inclusive) or `0.0` to disable concurrency utilization as threshold for scaling. CPU and concurrency scaling cannot both be disabled.

Google::Cloud::Run::V2::VendorSettings::ServiceMesh

Settings for Cloud Service Mesh. For more information see https://cloud.google.com/service-mesh/docs/overview.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The Mesh resource name. Format: `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can be project id or number.

Google::Cloud::Run::V2::VendorSettings::AmbientNetworking

Configuration for Ambient Networking.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    Optional. Whether ambient networking is enabled.

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

    Type: Enum (Google::Cloud::Run::V2::AmbientScope)

    The ambient networking scope of the instance.

Google::Cloud::Run::V2::VendorSettings::ServiceScaling

Scaling settings applied at the service level rather than at the revision level.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.

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

    Type: Enum (Google::Cloud::Run::V2::ServiceScaling::ScalingMode)

    Optional. The scaling mode for the service.

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

    Type: Int32

    Optional. total max instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.

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

    Type: Int32

    Optional. total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.

Enum: ServiceScaling::ScalingMode

  • SCALING_MODE_UNSPECIFIED => 0

  • AUTOMATIC => 1

  • MANUAL => 2

Google::Cloud::Run::V2::VendorSettings::WorkerPoolScaling

Worker pool scaling settings.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Optional. The total number of instances in manual scaling mode.

Google::Cloud::Run::V2::VendorSettings::NodeSelector

Hardware constraints configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. GPU accelerator type to attach to an instance.

Google::Cloud::Run::V2::VendorSettings::BuildConfig

Describes the Build step of the function that builds a container from the given source.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The Cloud Build name of the latest successful deployment of the function.

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

    Type: String

    The Cloud Storage bucket URI where the function source code is located.

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

    Type: String

    Optional. The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function".

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

    Type: String

    Optional. Artifact Registry URI to store the built image.

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

    Type: String

    Optional. The base image used to build the function.

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

    Type: Bool

    Optional. Sets whether the function will receive automatic base image updates.

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

    Type: String

    Optional. Name of the Cloud Build private pool that should be used to build the Cloud Run function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool.

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

    Type: Message (Google::Cloud::Run::V2::VendorSettings::BuildConfig::EnvironmentVariablesEntry)

    Optional. User-provided build-time environment variables for the function

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

    Type: String

    Optional. Service account to be used for building the container. The format of this field is `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.

Google::Cloud::Run::V2::VendorSettings::WorkloadIdentityConfig

Workload identity settings.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The Revision's SPIFFE workload identity. Enables provisioning of SPIFFE workload certificates.

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

    Type: Enum (Google::Cloud::Run::V2::IdentityType)

    Optional. The type of identity to use.

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

    Type: Bool

    Optional. Controls whether an instance receives a MWLID certificate. Corresponds to the intention of the original --[no-]identity-certificate flag.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Run::V2::VendorSettings::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.