NAME
Google::Appengine::V1::AppYaml - Compiled Protocol Buffers messages for google/appengine/v1/app_yaml.proto
SYNOPSIS
use Google::Appengine::V1::AppYaml;
my $msg = Google::Appengine::V1::AppYaml::ApiConfigHandler->new({
auth_fail_action => $auth_fail_action,
login => $login,
script => $script,
security_level => $security_level,
});
# Read or update a field
my $val = $msg->auth_fail_action();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Appengine::V1::AppYaml::ApiConfigHandler->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/appengine/v1/app_yaml.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::AppYaml::ApiConfigHandler
[Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.
Inherits from Protobuf::Message.
Accessors
$msg->auth_fail_action()/$msg->auth_fail_action($value)Type:
Enum(Google::Appengine::V1::AuthFailAction)Action to take when users access resources that require authentication. Defaults to `redirect`.
$msg->login()/$msg->login($value)Type:
Enum(Google::Appengine::V1::LoginRequirement)Level of login required to access this resource. Defaults to `optional`.
$msg->script()/$msg->script($value)Type:
StringPath to the script from the application root directory.
$msg->security_level()/$msg->security_level($value)Type:
Enum(Google::Appengine::V1::SecurityLevel)Security (HTTPS) enforcement for this URL.
$msg->url()/$msg->url($value)Type:
StringURL to serve the endpoint at.
Google::Appengine::V1::AppYaml::ErrorHandler
Custom static error page to be served when an error occurs.
Inherits from Protobuf::Message.
Accessors
$msg->error_code()/$msg->error_code($value)Type:
Enum(Google::Appengine::V1::ErrorHandler::ErrorCode)Error condition this handler applies to.
$msg->static_file()/$msg->static_file($value)Type:
StringStatic file content to be served for this error.
$msg->mime_type()/$msg->mime_type($value)Type:
StringMIME type of file. Defaults to `text/html`.
Enum: ErrorHandler::ErrorCode
ERROR_CODE_UNSPECIFIED=>0ERROR_CODE_DEFAULT=>0ERROR_CODE_OVER_QUOTA=>1ERROR_CODE_DOS_API_DENIAL=>2ERROR_CODE_TIMEOUT=>3
Google::Appengine::V1::AppYaml::UrlMap
URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
Inherits from Protobuf::Message.
Accessors
$msg->url_regex()/$msg->url_regex($value)Type:
StringURL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
$msg->static_files()/$msg->static_files($value)Type:
Message(Google::Appengine::V1::AppYaml::StaticFilesHandler)Returns the contents of a file, such as an image, as the response.
$msg->script()/$msg->script($value)Type:
Message(Google::Appengine::V1::AppYaml::ScriptHandler)Executes a script to handle the requests that match this URL pattern. Only the `auto` value is supported for Node.js in the App Engine standard environment, for example `"script": "auto"`.
$msg->api_endpoint()/$msg->api_endpoint($value)Type:
Message(Google::Appengine::V1::AppYaml::ApiEndpointHandler)Uses API Endpoints to handle requests.
$msg->security_level()/$msg->security_level($value)Type:
Enum(Google::Appengine::V1::SecurityLevel)Security (HTTPS) enforcement for this URL.
$msg->login()/$msg->login($value)Type:
Enum(Google::Appengine::V1::LoginRequirement)Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
$msg->auth_fail_action()/$msg->auth_fail_action($value)Type:
Enum(Google::Appengine::V1::AuthFailAction)Action to take when users access resources that require authentication. Defaults to `redirect`.
$msg->redirect_http_response_code()/$msg->redirect_http_response_code($value)Type:
Enum(Google::Appengine::V1::UrlMap::RedirectHttpResponseCode)`30x` code to use when performing redirects for the `secure` field. Defaults to `302`.
Enum: UrlMap::RedirectHttpResponseCode
REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED=>0REDIRECT_HTTP_RESPONSE_CODE_301=>1REDIRECT_HTTP_RESPONSE_CODE_302=>2REDIRECT_HTTP_RESPONSE_CODE_303=>3REDIRECT_HTTP_RESPONSE_CODE_307=>4
Google::Appengine::V1::AppYaml::StaticFilesHandler
Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.
Inherits from Protobuf::Message.
Accessors
$msg->path()/$msg->path($value)Type:
StringPath to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
$msg->upload_path_regex()/$msg->upload_path_regex($value)Type:
StringRegular expression that matches the file paths for all files that should be referenced by this handler.
$msg->http_headers()/$msg->http_headers($value)Type:
Message(Google::Appengine::V1::AppYaml::StaticFilesHandler::HttpHeadersEntry)HTTP headers to use for all responses from these URLs.
$msg->mime_type()/$msg->mime_type($value)Type:
StringMIME type used to serve all files served by this handler.
Defaults to file-specific MIME types, which are derived from each file's filename extension.
$msg->expiration()/$msg->expiration($value)Type:
Message(Google::Protobuf::Duration::Duration)Time a static file served by this handler should be cached by web proxies and browsers.
$msg->require_matching_file()/$msg->require_matching_file($value)Type:
BoolWhether this handler should match the request if the file referenced by the handler does not exist.
$msg->application_readable()/$msg->application_readable($value)Type:
BoolWhether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
Google::Appengine::V1::AppYaml::ScriptHandler
Executes a script to handle the request that matches the URL pattern.
Inherits from Protobuf::Message.
Accessors
$msg->script_path()/$msg->script_path($value)Type:
StringPath to the script from the application root directory.
Google::Appengine::V1::AppYaml::ApiEndpointHandler
Uses Google Cloud Endpoints to handle requests.
Inherits from Protobuf::Message.
Accessors
$msg->script_path()/$msg->script_path($value)Type:
StringPath to the script from the application root directory.
Google::Appengine::V1::AppYaml::HealthCheck
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
Inherits from Protobuf::Message.
Accessors
$msg->disable_health_check()/$msg->disable_health_check($value)Type:
BoolWhether to explicitly disable health checks for this instance.
$msg->host()/$msg->host($value)Type:
StringHost header to send when performing an HTTP health check. Example: "myapp.appspot.com"
$msg->healthy_threshold()/$msg->healthy_threshold($value)Type:
UInt32Number of consecutive successful health checks required before receiving traffic.
$msg->unhealthy_threshold()/$msg->unhealthy_threshold($value)Type:
UInt32Number of consecutive failed health checks required before removing traffic.
$msg->restart_threshold()/$msg->restart_threshold($value)Type:
UInt32Number of consecutive failed health checks required before an instance is restarted.
$msg->check_interval()/$msg->check_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)Interval between health checks.
$msg->timeout()/$msg->timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Time before the health check is considered failed.
Google::Appengine::V1::AppYaml::ReadinessCheck
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
Inherits from Protobuf::Message.
Accessors
$msg->path()/$msg->path($value)Type:
StringThe request path.
$msg->host()/$msg->host($value)Type:
StringHost header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
$msg->failure_threshold()/$msg->failure_threshold($value)Type:
UInt32Number of consecutive failed checks required before removing traffic.
$msg->success_threshold()/$msg->success_threshold($value)Type:
UInt32Number of consecutive successful checks required before receiving traffic.
$msg->check_interval()/$msg->check_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)Interval between health checks.
$msg->timeout()/$msg->timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Time before the check is considered failed.
$msg->app_start_timeout()/$msg->app_start_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
Google::Appengine::V1::AppYaml::LivenessCheck
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
Inherits from Protobuf::Message.
Accessors
$msg->path()/$msg->path($value)Type:
StringThe request path.
$msg->host()/$msg->host($value)Type:
StringHost header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
$msg->failure_threshold()/$msg->failure_threshold($value)Type:
UInt32Number of consecutive failed checks required before considering the VM unhealthy.
$msg->success_threshold()/$msg->success_threshold($value)Type:
UInt32Number of consecutive successful checks required before considering the VM healthy.
$msg->check_interval()/$msg->check_interval($value)Type:
Message(Google::Protobuf::Duration::Duration)Interval between health checks.
$msg->timeout()/$msg->timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Time before the check is considered failed.
$msg->initial_delay()/$msg->initial_delay($value)Type:
Message(Google::Protobuf::Duration::Duration)The initial delay before starting to execute the checks.
Google::Appengine::V1::AppYaml::Library
Third-party Python runtime library that is required by the application.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the library. Example: "django".
$msg->version()/$msg->version($value)Type:
StringVersion of the library to select, or "latest".
SEE ALSO
Protobuf, Protobuf::Message, Google::Appengine::V1::AppYaml::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.