Get desktop application:
View/edit binary Protocol Buffers messages
Manages App Engine applications.
Gets information about an application.
Request message for `Applications.GetApplication`.
Name of the Application resource to get. Example: `apps/myapp`.
An Application resource contains the top-level configuration of an App Engine application.
Full path to the Application resource in the API. Example: `apps/myapp`. @OutputOnly
Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: `myapp`.
HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. @OutputOnly
Google Apps authentication domain that controls which users can access this application. Defaults to open access for any Google Account.
Location from which this application will be run. Application instances will run out of data centers in the chosen location, which is also where all of the application's end user content is stored. Defaults to `us-central`. Options are: `us-central` - Central US `europe-west` - Western Europe `us-east1` - Eastern US
Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands. @OutputOnly
Cookie expiration policy for this application. @OutputOnly
Hostname used to reach this application, as resolved by App Engine. @OutputOnly
Google Cloud Storage bucket that can be used by this application to store content. @OutputOnly
Recreates the required App Engine features for the application in your project, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example "*Error retrieving the App Engine service account*".
Request message for 'Applications.RepairApplication'.
Name of the application to repair. Example: `apps/myapp`
Manages instances of a version.
Lists the instances of a version.
Request message for `Instances.ListInstances`.
Name of the parent Version resource. Example: `apps/myapp/services/default/versions/v1`.
Maximum results to return per page.
Continuation token for fetching the next page of results.
Response message for `Instances.ListInstances`.
The instances belonging to the requested version.
Continuation token for fetching the next page of results.
Gets instance information.
Request message for `Instances.GetInstance`.
Name of the resource requested. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
Stops a running instance.
Request message for `Instances.DeleteInstance`.
Name of the resource requested. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started. Only applicable for instances in App Engine flexible environment.
Request message for `Instances.DebugInstance`.
Name of the resource requested. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
Manages services of an application.
Lists all the services in the application.
Request message for `Services.ListServices`.
Name of the parent Application resource. Example: `apps/myapp`.
Maximum results to return per page.
Continuation token for fetching the next page of results.
Response message for `Services.ListServices`.
The services belonging to the requested application.
Continuation token for fetching the next page of results.
Gets the current configuration of the specified service.
Request message for `Services.GetService`.
Name of the resource requested. Example: `apps/myapp/services/default`.
Updates the configuration of the specified service.
Deletes the specified service and all enclosed versions.
Request message for `Services.DeleteService`.
Name of the resource requested. Example: `apps/myapp/services/default`.
Manages versions of a service.
Lists the versions of a service.
Request message for `Versions.ListVersions`.
Name of the parent Service resource. Example: `apps/myapp/services/default`.
Controls the set of fields returned in the `List` response.
Maximum results to return per page.
Continuation token for fetching the next page of results.
Response message for `Versions.ListVersions`.
The versions belonging to the requested service.
Continuation token for fetching the next page of results.
Gets the specified Version resource. By default, only a `BASIC_VIEW` will be returned. Specify the `FULL_VIEW` parameter to get the full resource.
Request message for `Versions.GetVersion`.
Name of the resource requested. Example: `apps/myapp/services/default/versions/v1`.
Controls the set of fields returned in the `Get` response.
Deploys code and resource files to a new version.
Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses: * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment. * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment. * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
Request message for `Versions.UpdateVersion`.
Name of the resource to update. Example: `apps/myapp/services/default/versions/1`.
A Version containing the updated resource. Only fields set in the field mask will be updated.
Standard field mask for the set of fields to be updated.
Deletes an existing Version resource.
Request message for `Versions.DeleteVersion`.
Name of the resource requested. Example: `apps/myapp/services/default/versions/v1`.
[Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.
Used in:
Action to take when users access resources that require authentication. Defaults to `redirect`.
Level of login required to access this resource. Defaults to `optional`.
Path to the script from the application root directory.
Security (HTTPS) enforcement for this URL.
URL to serve the endpoint at.
Uses Google Cloud Endpoints to handle requests.
Used in:
Path to the script from the application root directory.
App Engine admin service audit log.
Detailed information about methods that require it. Does not include simple Get, List or Delete methods because all significant information (resource name, number of returned elements for List operations) is already included in parent audit log message.
Detailed information about UpdateService call.
Detailed information about CreateVersion call.
Actions to take when the user is not logged in.
Used in:
,Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed.
Redirects user to "accounts.google.com". The user is redirected back to the application URL after signing in or creating an account.
Rejects request with a `401` HTTP status code and an error message.
Automatic scaling is based on request rate, response latencies, and other application metrics.
Used in:
Amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Only applicable for VM runtimes.
Target scaling by CPU usage.
Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
Maximum number of idle instances that should be maintained for this version.
Maximum number of instances that should be started to handle requests.
Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
Minimum number of instances that should be maintained for this version.
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
Target scaling by request utilization.
Target scaling by disk usage.
Target scaling by network usage.
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.
Used in:
Duration of time after the last request that an instance must wait before the instance is shut down.
Maximum number of instances to create for this version.
Docker image that is used to start a VM container for the version you deploy.
Used in:
URI to the hosted container image in a Docker repository. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
Target scaling by CPU usage.
Used in:
Period of time over which CPU utilization is calculated.
Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
Detailed information about CreateVersion call.
Used in:
Create version request.
Request message for `Versions.CreateVersion`.
Used as request type in: Versions.CreateVersion
Used as field type in:
Name of the parent resource to create this version under. Example: `apps/myapp/services/default`.
Application deployment configuration.
Code and application artifacts used to deploy a version to App Engine.
Used in:
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
A Docker image that App Engine uses to run the version. Only applicable for instances in App Engine flexible environment.
The zip file for this deployment, if this is a zip deployment.
Target scaling by disk usage. Only applicable for VM runtimes.
Used in:
Target bytes written per second.
Target ops written per second.
Target bytes read per second.
Target ops read per seconds.
Custom static error page to be served when an error occurs.
Used in:
Error condition this handler applies to.
Static file content to be served for this error.
MIME type of file. Defaults to `text/html`.
Error codes.
Used in:
Not specified. ERROR_CODE_DEFAULT is assumed.
All other error types.
Application has exceeded a resource quota.
Client blocked by the application's Denial of Service protection configuration.
Deadline reached before the application responds.
Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
Used in:
URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
The SHA1 hash of the file, in hex.
The MIME type of the file. Defaults to the value from Google Cloud Storage.
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
Used in:
Whether to explicitly disable health checks for this instance.
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
Number of consecutive successful health checks required before receiving traffic.
Number of consecutive failed health checks required before removing traffic.
Number of consecutive failed health checks required before an instance is restarted.
Interval between health checks.
Time before the health check is considered failed.
Available inbound services.
Used in:
Not specified.
Allows an application to receive mail.
Allows an application to receive email-bound notifications.
Allows an application to receive error stanzas.
Allows an application to receive instant messages.
Allows an application to receive user subscription POSTs.
Allows an application to receive a user's chat presence.
Registers an application for notifications when a client connects or disconnects from a channel.
Enables warmup requests.
An Instance resource is the computing unit that App Engine uses to automatically scale an application.
Used as response type in: Instances.GetInstance
Used as field type in:
Full path to the Instance resource in the API. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly
Relative name of the instance within the version. Example: `instance-1`. @OutputOnly
App Engine release this instance is running on. @OutputOnly
Availability of the instance. @OutputOnly
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. @OutputOnly
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. @OutputOnly
Time that this instance was started. @OutputOnly
Number of requests since this instance was started. @OutputOnly
Number of errors since this instance was started. @OutputOnly
Average queries per second (QPS) over the last minute. @OutputOnly
Average latency (ms) over the last minute. @OutputOnly
Total memory in use (bytes). @OutputOnly
Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. @OutputOnly
Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. @OutputOnly
Availability of the instance.
Used in:
Third-party Python runtime library that is required by the application.
Used in:
Name of the library. Example: "django".
Version of the library to select, or "latest".
Metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
App Engine Standard Environment is available in the given location. @OutputOnly
App Engine Flexible Environment is available in the given location. @OutputOnly
Methods to restrict access to a URL based on login status.
Used in:
,Not specified. `LOGIN_OPTIONAL` is assumed.
Does not require that the user is signed in.
If the user is not signed in, the `auth_fail_action` is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of `auth_fail_action`. If the user is an administrator, the handler proceeds.
If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken.
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
Used in:
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.
Extra network settings. Only applicable for VM runtimes.
Used in:
List of ports, or port pairs, to forward from the virtual machine to the application container.
Tag to apply to the VM instance during creation.
Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path. Defaults to `default`.
Target scaling by network usage. Only applicable for VM runtimes.
Used in:
Target bytes sent per second.
Target packets sent per second.
Target bytes received per second.
Target packets received per second.
Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
API method that initiated this operation. Example: `google.appengine.v1.Versions.CreateVersion`. @OutputOnly
Time that this operation was created. @OutputOnly
Time that this operation completed. @OutputOnly
User who requested this operation. @OutputOnly
Name of the resource that this operation is acting on. Example: `apps/myapp/services/default`. @OutputOnly
Target scaling by request utilization. Only applicable for VM runtimes.
Used in:
Target requests per second.
Target number of concurrent requests.
Machine resources for a version.
Used in:
Number of CPU cores needed.
Disk size (GB) needed.
Memory (GB) needed.
Executes a script to handle the request that matches the URL pattern.
Used in:
Path to the script from the application root directory.
Methods to enforce security (HTTPS) on a URL.
Used in:
,Not specified.
Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used, and respond accordingly.
Requests for a URL that match this handler that use HTTPS are automatically redirected to the HTTP equivalent URL.
Both HTTP and HTTPS requests with URLs that match the handler succeed without redirects. The application can examine the request to determine which protocol was used and respond accordingly.
Requests for a URL that match this handler that do not use HTTPS are automatically redirected to the HTTPS URL with the same path. Query parameters are reserved for the redirect.
A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.
Used as response type in: Services.GetService
Used as field type in:
,Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
Relative name of the service within the application. Example: `default`. @OutputOnly
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
Run states of a version.
Used in:
Not specified.
Currently serving. Instances are created according to the scaling settings of the version.
Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to `SERVING`.
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.
Used in:
Path 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.
Regular expression that matches the file paths for all files that should be referenced by this handler.
HTTP headers to use for all responses from these URLs.
MIME 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.
Time a static file served by this handler should be cached by web proxies and browsers.
Whether this handler should match the request if the file referenced by the handler does not exist.
Whether 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.
Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.
Used in:
Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.
Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
Available sharding mechanisms.
Used in:
Diversion method unspecified.
Diversion based on a specially named cookie, "GOOGAPPUID." The cookie must be set by the application itself or no diversion will occur.
Diversion based on applying the modulus operation to a fingerprint of the IP address.
Detailed information about UpdateService call.
Used in:
Update service request.
Request message for `Services.UpdateService`.
Used as request type in: Services.UpdateService
Used as field type in:
Name of the resource to update. Example: `apps/myapp/services/default`.
A Service resource containing the updated service. Only fields set in the field mask will be updated.
Standard field mask for the set of fields to be updated.
Set to `true` to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both [warmup requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see [Migrating and Splitting Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
Rules to match an HTTP request and dispatch that request to a service.
Used in:
Domain name to match against. The wildcard "`*`" is supported if specified before a period: "`*.`". Defaults to matching all domains: "`*`".
Pathname within the host. Must start with a "`/`". A single "`*`" can be included at the end of the path. The sum of the lengths of the domain and path may not exceed 100 characters.
Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: `default`.
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.
Used in:
URL 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.
Type of handler for this URL pattern.
Returns the contents of a file, such as an image, as the response.
Executes a script to handle the request that matches this URL pattern.
Uses API Endpoints to handle requests.
Security (HTTPS) enforcement for this URL.
Level of login required to access this resource.
Action to take when users access resources that require authentication. Defaults to `redirect`.
`30x` code to use when performing redirects for the `secure` field. Defaults to `302`.
Redirect codes.
Used in:
Not specified. `302` is assumed.
`301 Moved Permanently` code.
`302 Moved Temporarily` code.
`303 See Other` code.
`307 Temporary Redirect` code.
A Version resource is a specific set of source code and configuration files that are deployed into a service.
Used as response type in: Versions.GetVersion
Used as field type in:
, ,Full path to the Version resource in the API. Example: `apps/myapp/services/default/versions/v1`. @OutputOnly
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-".
Controls how instances are created. Defaults to `AutomaticScaling`.
Automatic scaling is based on request rate, response latencies, and other application metrics.
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.
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
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.
Extra network settings. Only applicable for VM runtimes.
Machine resources for this version. Only applicable for VM runtimes.
Desired runtime. Example: `python27`.
Whether multiple requests can be dispatched to this version at once.
Whether to deploy this version in a container on a virtual machine.
Metadata settings that are supplied to this version to enable beta runtime features.
App Engine execution environment for this version. Defaults to `standard`.
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`.
Email address of the user who created this version. @OutputOnly
Time that this version was created. @OutputOnly
Total size in bytes of all the files that are included in this version and curerntly hosted on the App Engine disk. @OutputOnly
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.
Custom static error pages. Limited to 10KB per page. Only returned in `GET` requests if `view=FULL` is set.
Configuration for third-party Python runtime libraries that are required by the application. Only returned in `GET` requests if `view=FULL` is set.
Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). Only returned in `GET` requests if `view=FULL` is set.
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
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.
Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes. Only returned in `GET` requests if `view=FULL` is set.
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.
Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set.
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
Fields that should be returned when [Version][google.appengine.v1.Version] resources are retreived.
Used in:
,Basic version information including scaling and inbound services, but not detailed deployment information.
The information from `BASIC`, plus detailed information about the deployment. This format is required when creating resources, but is not returned in `Get` or `List` by default.
Used in:
URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'.
An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.