NAME

Google::Appengine::V1::Version - Compiled Protocol Buffers messages for google/appengine/v1/version.proto

SYNOPSIS

use Google::Appengine::V1::Version;

my $msg = Google::Appengine::V1::Version::Version->new({
    name => $name,
    id => $id,
    automatic_scaling => $automatic_scaling,
    basic_scaling => $basic_scaling,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Appengine::V1::Version::Version->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/appengine/v1/version.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Appengine::V1::Version::Version

A Version resource is a specific set of source code and configuration files that are deployed into a service.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Full path to the Version resource in the API. Example: `apps/myapp/services/default/versions/v1`.

    @OutputOnly

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

    Type: String

    Relative name of the version within the service. Example: `v1`. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-".

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

    Type: Message (Google::Appengine::V1::Version::AutomaticScaling)

    Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.

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

    Type: Message (Google::Appengine::V1::Version::BasicScaling)

    A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

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

    Type: Message (Google::Appengine::V1::Version::ManualScaling)

    A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".

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

    Type: Enum (Google::Appengine::V1::InboundServiceType)

    Before an application can receive email or XMPP messages, the application must be configured to enable the service.

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

    Type: String

    Instance class that is used to run this version. Valid values are:

    * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G`

    Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or BasicScaling.

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

    Type: Message (Google::Appengine::V1::Version::Network)

    Extra network settings. Only applicable in the App Engine flexible environment.

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

    Type: String

    The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.

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

    Type: Message (Google::Appengine::V1::Version::Resources)

    Machine resources for this version. Only applicable in the App Engine flexible environment.

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

    Type: String

    Desired runtime. Example: `python27`.

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

    Type: String

    The channel of the runtime to use. Only available for some runtimes. Defaults to the `default` channel.

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

    Type: Bool

    Whether multiple requests can be dispatched to this version at once.

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

    Type: Bool

    Whether to deploy this version in a container on a virtual machine.

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

    Type: Bool

    Allows App Engine second generation runtimes to access the legacy bundled services.

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

    Type: Message (Google::Appengine::V1::Version::Version::BetaSettingsEntry)

    Metadata settings that are supplied to this version to enable beta runtime features.

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

    Type: String

    App Engine execution environment for this version.

    Defaults to `standard`.

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

    Type: Enum (Google::Appengine::V1::ServingStatus)

    Current serving status of this version. Only the versions with a `SERVING` status create instances and can be billed.

    `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`.

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

    Type: String

    Email address of the user who created this version.

    @OutputOnly

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

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

    Time that this version was created.

    @OutputOnly

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

    Type: Int64

    Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.

    @OutputOnly

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

    Type: String

    The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref

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

    Type: String

    The path or name of the app's main executable.

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

    Type: String

    The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.

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

    Type: Message (Google::Appengine::V1::AppYaml::UrlMap)

    An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::AppYaml::ErrorHandler)

    Custom static error pages. Limited to 10KB per page.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::AppYaml::Library)

    Configuration for third-party Python runtime libraries that are required by the application.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::AppYaml::ApiConfigHandler)

    Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::Version::Version::EnvVariablesEntry)

    Environment variables available to the application.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::Version::Version::BuildEnvVariablesEntry)

    Environment variables available to the build environment.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::AppYaml::HealthCheck)

    Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::AppYaml::ReadinessCheck)

    Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::AppYaml::LivenessCheck)

    Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: String

    Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: Message (Google::Appengine::V1::Deploy::Deployment)

    Code and application artifacts that make up this version.

    Only returned in `GET` requests if `view=FULL` is set.

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

    Type: String

    Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"

    @OutputOnly

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

    Type: Message (Google::Appengine::V1::Version::EndpointsApiService)

    Cloud Endpoints configuration.

    If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.

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

    Type: Message (Google::Appengine::V1::Version::Entrypoint)

    The entrypoint for the application.

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

    Type: Message (Google::Appengine::V1::Version::VpcAccessConnector)

    Enables VPC connectivity for standard apps.

Google::Appengine::V1::Version::EndpointsApiService

[Cloud Endpoints](https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.

The fields here refer to the name and configuration ID of a "service" resource in the [Service Management API](https://cloud.google.com/service-management/overview).

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"

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

    Type: String

    Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".

    By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The `config_id` field is used to give the configuration ID and is required in this case.

    Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, `config_id` must be omitted.

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

    Type: Enum (Google::Appengine::V1::EndpointsApiService::RolloutStrategy)

    Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.

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

    Type: Bool

    Enable or disable trace sampling. By default, this is set to false for enabled.

Enum: EndpointsApiService::RolloutStrategy

  • UNSPECIFIED_ROLLOUT_STRATEGY => 0

  • FIXED => 1

  • MANAGED => 2

Google::Appengine::V1::Version::AutomaticScaling

Automatic scaling is based on request rate, response latencies, and other application metrics.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Duration::Duration)

    The time period that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.

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

    Type: Message (Google::Appengine::V1::Version::CpuUtilization)

    Target scaling by CPU usage.

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

    Type: Int32

    Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.

    Defaults to a runtime-specific value.

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

    Type: Int32

    Maximum number of idle instances that should be maintained for this version.

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

    Type: Int32

    Maximum number of instances that should be started to handle requests for this version.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

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

    Type: Int32

    Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

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

    Type: Int32

    Minimum number of running instances that should be maintained for this version.

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

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

    Type: Message (Google::Appengine::V1::Version::RequestUtilization)

    Target scaling by request utilization.

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

    Type: Message (Google::Appengine::V1::Version::DiskUtilization)

    Target scaling by disk usage.

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

    Type: Message (Google::Appengine::V1::Version::NetworkUtilization)

    Target scaling by network usage.

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

    Type: Message (Google::Appengine::V1::Version::StandardSchedulerSettings)

    Scheduler settings for standard environment.

Google::Appengine::V1::Version::BasicScaling

A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Duration of time after the last request that an instance must wait before the instance is shut down.

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

    Type: Int32

    Maximum number of instances to create for this version.

Google::Appengine::V1::Version::ManualScaling

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Number of instances to assign to the service at the start. This number can later be altered by using the [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions) `set_num_instances()` function.

Google::Appengine::V1::Version::CpuUtilization

Target scaling by CPU usage.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Duration::Duration)

    Period of time over which CPU utilization is calculated.

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

    Type: Double

    Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.

Google::Appengine::V1::Version::RequestUtilization

Target scaling by request utilization. Only applicable in the App Engine flexible environment.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Target requests per second.

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

    Type: Int32

    Target number of concurrent requests.

Google::Appengine::V1::Version::DiskUtilization

Target scaling by disk usage. Only applicable in the App Engine flexible environment.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Target bytes written per second.

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

    Type: Int32

    Target ops written per second.

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

    Type: Int32

    Target bytes read per second.

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

    Type: Int32

    Target ops read per seconds.

Google::Appengine::V1::Version::NetworkUtilization

Target scaling by network usage. Only applicable in the App Engine flexible environment.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Target bytes sent per second.

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

    Type: Int32

    Target packets sent per second.

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

    Type: Int32

    Target bytes received per second.

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

    Type: Int32

    Target packets received per second.

Google::Appengine::V1::Version::StandardSchedulerSettings

Scheduler settings for standard environment.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    Target CPU utilization ratio to maintain when scaling.

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

    Type: Double

    Target throughput utilization ratio to maintain when scaling

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

    Type: Int32

    Minimum number of instances to run for this version. Set to zero to disable `min_instances` configuration.

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

    Type: Int32

    Maximum number of instances to run for this version. Set to zero to disable `max_instances` configuration.

Google::Appengine::V1::Version::Network

Extra network settings. Only applicable in the App Engine flexible environment.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.

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

    Type: String

    Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.

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

    Type: String

    Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.

    Defaults to `default`.

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

    Type: String

    Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.

    If a subnetwork name is specified, a network name will also be required unless it is for the default network.

    * If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. * If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. * If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.

    If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.

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

    Type: Bool

    Enable session affinity. Only applicable in the App Engine flexible environment.

Google::Appengine::V1::Version::Volume

Volumes mounted within the app container. Only applicable in the App Engine flexible environment.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Unique name for the volume.

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

    Type: String

    Underlying volume type, e.g. 'tmpfs'.

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

    Type: Double

    Volume size in gigabytes.

Google::Appengine::V1::Version::Resources

Machine resources for a version.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    Number of CPU cores needed.

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

    Type: Double

    Disk size (GB) needed.

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

    Type: Double

    Memory (GB) needed.

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

    Type: Message (Google::Appengine::V1::Version::Volume)

    User specified volumes.

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

    Type: String

    The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk

Google::Appengine::V1::Version::VpcAccessConnector

VPC access connector specification.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.

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

    Type: Enum (Google::Appengine::V1::VpcAccessConnector::EgressSetting)

    The egress setting for the connector, controlling what traffic is diverted through it.

Enum: VpcAccessConnector::EgressSetting

  • EGRESS_SETTING_UNSPECIFIED => 0

  • ALL_TRAFFIC => 1

  • PRIVATE_IP_RANGES => 2

Google::Appengine::V1::Version::Entrypoint

The entrypoint for the application.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The format should be a shell command that can be fed to `bash -c`.

SEE ALSO

Protobuf, Protobuf::Message, Google::Appengine::V1::Version::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.