Version class

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

Constructors

Version({ApiConfigHandler? apiConfig, bool? appEngineApis, AutomaticScaling? automaticScaling, BasicScaling? basicScaling, Map<String, String>? betaSettings, Map<String, String>? buildEnvVariables, String? createTime, String? createdBy, String? defaultExpiration, Deployment? deployment, String? diskUsageBytes, EndpointsApiService? endpointsApiService, Entrypoint? entrypoint, String? env, Map<String, String>? envVariables, List<ErrorHandler>? errorHandlers, FlexibleRuntimeSettings? flexibleRuntimeSettings, Map<String, Object?>? generatedCustomerMetadata, List<UrlMap>? handlers, HealthCheck? healthCheck, String? id, List<String>? inboundServices, String? instanceClass, List<Library>? libraries, LivenessCheck? livenessCheck, ManualScaling? manualScaling, String? name, Network? network, String? nobuildFilesRegex, ReadinessCheck? readinessCheck, Resources? resources, String? runtime, String? runtimeApiVersion, String? runtimeChannel, String? runtimeMainExecutablePath, String? serviceAccount, String? servingStatus, bool? threadsafe, String? versionUrl, bool? vm, VpcAccessConnector? vpcAccessConnector, List<String>? zones})
Version.fromJson(Map json_)

Properties

apiConfig ApiConfigHandler?
Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set.
getter/setter pair
appEngineApis bool?
Allows App Engine second generation runtimes to access the legacy bundled services.
getter/setter pair
automaticScaling AutomaticScaling?
Automatic scaling is based on request rate, response latencies, and other application metrics.
getter/setter pair
basicScaling BasicScaling?
A service with basic scaling will create an instance when the application receives a request.
getter/setter pair
betaSettings Map<String, String>?
Metadata settings that are supplied to this version to enable beta runtime features.
getter/setter pair
buildEnvVariables Map<String, String>?
Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
getter/setter pair
createdBy String?
Email address of the user who created this version.@OutputOnly
getter/setter pair
createTime String?
Time that this version was created.@OutputOnly
getter/setter pair
defaultExpiration String?
Duration that static files should be cached by web proxies and browsers.
getter/setter pair
deployment Deployment?
Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
getter/setter pair
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
getter/setter pair
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.
getter/setter pair
entrypoint Entrypoint?
The entrypoint for the application.
getter/setter pair
env String?
App Engine execution environment for this version.Defaults to standard.
getter/setter pair
envVariables Map<String, String>?
Environment variables available to the application.Only returned in GET requests if view=FULL is set.
getter/setter pair
errorHandlers List<ErrorHandler>?
Custom static error pages.
getter/setter pair
flexibleRuntimeSettings FlexibleRuntimeSettings?
Settings for App Engine flexible runtimes.
getter/setter pair
generatedCustomerMetadata Map<String, Object?>?
Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest
getter/setter pair
handlers List<UrlMap>?
An ordered list of URL-matching patterns that should be applied to incoming requests.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
healthCheck HealthCheck?
Configures health checking for instances.
getter/setter pair
id String?
Relative name of the version within the service.
getter/setter pair
inboundServices List<String>?
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
getter/setter pair
instanceClass String?
Instance class that is used to run this version.
getter/setter pair
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.
getter/setter pair
livenessCheck LivenessCheck?
Configures liveness health checking for instances.
getter/setter pair
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.
getter/setter pair
name String?
Full path to the Version resource in the API.
getter/setter pair
network Network?
Extra network settings.
getter/setter pair
nobuildFilesRegex String?
Files that match this pattern will not be built into this version.
getter/setter pair
readinessCheck ReadinessCheck?
Configures readiness health checking for instances.
getter/setter pair
resources Resources?
Machine resources for this version.
getter/setter pair
runtime String?
Desired runtime.
getter/setter pair
runtimeApiVersion String?
The version of the API in the given runtime environment.
getter/setter pair
runtimeChannel String?
The channel of the runtime to use.
getter/setter pair
runtimeMainExecutablePath String?
The path or name of the app's main executable.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount String?
The identity that the deployed version will run as.
getter/setter pair
servingStatus String?
Current serving status of this version.
getter/setter pair
threadsafe bool?
Whether multiple requests can be dispatched to this version at once.
getter/setter pair
versionUrl String?
Serving URL for this version.
getter/setter pair
vm bool?
Whether to deploy this version in a container on a virtual machine.
getter/setter pair
vpcAccessConnector VpcAccessConnector?
Enables VPC connectivity for standard apps.
getter/setter pair
zones List<String>?
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited