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:
StringVPC 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=>0ALL_TRAFFIC=>1PRIVATE_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:
BoolOptional. 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:
StringOptional. The path to a binary authorization policy. Format: `projects/{project}/platforms/cloudRun/{policy-name}`
$msg->breakglass_justification()/$msg->breakglass_justification($value)Type:
StringOptional. 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:
Int32Optional. Minimum number of serving instances that this resource should have.
$msg->max_instance_count()/$msg->max_instance_count($value)Type:
Int32Optional. 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:
FloatOptional. 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:
FloatOptional. 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:
StringThe 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:
BoolOptional. 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:
Int32Optional. 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:
Int32Optional. 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:
Int32Optional. 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=>0AUTOMATIC=>1MANUAL=>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:
Int32Optional. 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:
StringRequired. 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:
StringOutput only. The Cloud Build name of the latest successful deployment of the function.
$msg->source_location()/$msg->source_location($value)Type:
StringThe Cloud Storage bucket URI where the function source code is located.
$msg->function_target()/$msg->function_target($value)Type:
StringOptional. 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:
StringOptional. Artifact Registry URI to store the built image.
$msg->base_image()/$msg->base_image($value)Type:
StringOptional. The base image used to build the function.
$msg->enable_automatic_updates()/$msg->enable_automatic_updates($value)Type:
BoolOptional. Sets whether the function will receive automatic base image updates.
$msg->worker_pool()/$msg->worker_pool($value)Type:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
BoolOptional. 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.