Version class

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

Constructors

Version()
Version.fromJson(Map _json)

Properties

apiConfig 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.
read / write
automaticScaling AutomaticScaling
Automatic scaling is based on request rate, response latencies, and other application metrics.
read / write
basicScaling 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.
read / write
betaSettings Map<String, String>
Metadata settings that are supplied to this version to enable beta runtime features.
read / write
createdBy String
Email address of the user who created this version.@OutputOnly
read / write
createTime String
Time that this version was created.@OutputOnly
read / write
defaultExpiration String
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.
read / write
deployment Deployment
Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
read / write
diskUsageBytes String
Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
read / write
endpointsApiService 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.
read / write
entrypoint Entrypoint
The entrypoint for the application.
read / write
env String
App Engine execution environment for this version.Defaults to standard.
read / write
envVariables Map<String, String>
Environment variables available to the application.Only returned in GET requests if view=FULL is set.
read / write
errorHandlers List<ErrorHandler>
Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
read / write
handlers List<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.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
healthCheck 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.
read / write
id 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-".
read / write
inboundServices List<String>
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
read / write
instanceClass 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_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
read / write
libraries List<Library>
Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
read / write
livenessCheck LivenessCheck
Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.
read / write
manualScaling ManualScaling
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
read / write
name String
Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
read / write
network Network
Extra network settings. Only applicable in the App Engine flexible environment.
read / write
nobuildFilesRegex 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.
read / write
readinessCheck 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.
read / write
resources Resources
Machine resources for this version. Only applicable in the App Engine flexible environment.
read / write
runtime String
Desired runtime. Example: python27.
read / write
runtimeApiVersion 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//config/appref
read / write
runtimeChannel String
The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
read / write
runtimeMainExecutablePath String
The path or name of the app's main executable.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
servingStatus String
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. Possible string values are: [...]
read / write
threadsafe bool
Whether multiple requests can be dispatched to this version at once.
read / write
versionUrl String
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly
read / write
vm bool
Whether to deploy this version in a container on a virtual machine.
read / write
vpcAccessConnector VpcAccessConnector
Enables VPC connectivity for standard apps.
read / write
zones List<String>
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited