public final class Version
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the App Engine Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
Version |
clone() |
ApiConfigHandler |
getApiConfig()
Serving configuration for Google Cloud Endpoints
(https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if
view=FULL is set.
|
AutomaticScaling |
getAutomaticScaling()
Automatic scaling is based on request rate, response latencies, and other application metrics.
|
BasicScaling |
getBasicScaling()
A service with basic scaling will create an instance when the application receives a request.
|
java.util.Map<java.lang.String,java.lang.String> |
getBetaSettings()
Metadata settings that are supplied to this version to enable beta runtime features.
|
java.lang.String |
getCreatedBy()
Email address of the user who created this version.@OutputOnly
|
java.lang.String |
getCreateTime()
Time that this version was created.@OutputOnly
|
java.lang.String |
getDefaultExpiration()
Duration that static files should be cached by web proxies and browsers.
|
Deployment |
getDeployment()
Code and application artifacts that make up this version.Only returned in GET requests if
view=FULL is set.
|
java.lang.Long |
getDiskUsageBytes()
Total size in bytes of all the files that are included in this version and currently hosted on
the App Engine disk.@OutputOnly
|
EndpointsApiService |
getEndpointsApiService()
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.
|
Entrypoint |
getEntrypoint()
The entrypoint for the application.
|
java.lang.String |
getEnv()
App Engine execution environment for this version.Defaults to standard.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvVariables()
Environment variables available to the application.Only returned in GET requests if view=FULL
is set.
|
java.util.List<ErrorHandler> |
getErrorHandlers()
Custom static error pages.
|
java.util.List<UrlMap> |
getHandlers()
An ordered list of URL-matching patterns that should be applied to incoming requests.
|
HealthCheck |
getHealthCheck()
Configures health checking for instances.
|
java.lang.String |
getId()
Relative name of the version within the service.
|
java.util.List<java.lang.String> |
getInboundServices()
Before an application can receive email or XMPP messages, the application must be configured to
enable the service.
|
java.lang.String |
getInstanceClass()
Instance class that is used to run this version.
|
java.util.List<Library> |
getLibraries()
Configuration for third-party Python runtime libraries that are required by the
application.Only returned in GET requests if view=FULL is set.
|
LivenessCheck |
getLivenessCheck()
Configures liveness health checking for instances.
|
ManualScaling |
getManualScaling()
A service with manual scaling runs continuously, allowing you to perform complex initialization
and rely on the state of its memory over time.
|
java.lang.String |
getName()
Full path to the Version resource in the API.
|
Network |
getNetwork()
Extra network settings.
|
java.lang.String |
getNobuildFilesRegex()
Files that match this pattern will not be built into this version.
|
ReadinessCheck |
getReadinessCheck()
Configures readiness health checking for instances.
|
Resources |
getResources()
Machine resources for this version.
|
java.lang.String |
getRuntime()
Desired runtime.
|
java.lang.String |
getRuntimeApiVersion()
The version of the API in the given runtime environment.
|
java.lang.String |
getRuntimeChannel()
The channel of the runtime to use.
|
java.lang.String |
getRuntimeMainExecutablePath()
The path or name of the app's main executable.
|
java.lang.String |
getServingStatus()
Current serving status of this version.
|
java.lang.Boolean |
getThreadsafe()
Whether multiple requests can be dispatched to this version at once.
|
java.lang.String |
getVersionUrl()
Serving URL for this version.
|
java.lang.Boolean |
getVm()
Whether to deploy this version in a container on a virtual machine.
|
VpcAccessConnector |
getVpcAccessConnector()
Enables VPC connectivity for standard apps.
|
java.util.List<java.lang.String> |
getZones()
The Google Compute Engine zones that are supported by this version in the App Engine flexible
environment.
|
Version |
set(java.lang.String fieldName,
java.lang.Object value) |
Version |
setApiConfig(ApiConfigHandler apiConfig)
Serving configuration for Google Cloud Endpoints
(https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if
view=FULL is set.
|
Version |
setAutomaticScaling(AutomaticScaling automaticScaling)
Automatic scaling is based on request rate, response latencies, and other application metrics.
|
Version |
setBasicScaling(BasicScaling basicScaling)
A service with basic scaling will create an instance when the application receives a request.
|
Version |
setBetaSettings(java.util.Map<java.lang.String,java.lang.String> betaSettings)
Metadata settings that are supplied to this version to enable beta runtime features.
|
Version |
setCreatedBy(java.lang.String createdBy)
Email address of the user who created this version.@OutputOnly
|
Version |
setCreateTime(java.lang.String createTime)
Time that this version was created.@OutputOnly
|
Version |
setDefaultExpiration(java.lang.String defaultExpiration)
Duration that static files should be cached by web proxies and browsers.
|
Version |
setDeployment(Deployment deployment)
Code and application artifacts that make up this version.Only returned in GET requests if
view=FULL is set.
|
Version |
setDiskUsageBytes(java.lang.Long diskUsageBytes)
Total size in bytes of all the files that are included in this version and currently hosted on
the App Engine disk.@OutputOnly
|
Version |
setEndpointsApiService(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.
|
Version |
setEntrypoint(Entrypoint entrypoint)
The entrypoint for the application.
|
Version |
setEnv(java.lang.String env)
App Engine execution environment for this version.Defaults to standard.
|
Version |
setEnvVariables(java.util.Map<java.lang.String,java.lang.String> envVariables)
Environment variables available to the application.Only returned in GET requests if view=FULL
is set.
|
Version |
setErrorHandlers(java.util.List<ErrorHandler> errorHandlers)
Custom static error pages.
|
Version |
setHandlers(java.util.List<UrlMap> handlers)
An ordered list of URL-matching patterns that should be applied to incoming requests.
|
Version |
setHealthCheck(HealthCheck healthCheck)
Configures health checking for instances.
|
Version |
setId(java.lang.String id)
Relative name of the version within the service.
|
Version |
setInboundServices(java.util.List<java.lang.String> inboundServices)
Before an application can receive email or XMPP messages, the application must be configured to
enable the service.
|
Version |
setInstanceClass(java.lang.String instanceClass)
Instance class that is used to run this version.
|
Version |
setLibraries(java.util.List<Library> libraries)
Configuration for third-party Python runtime libraries that are required by the
application.Only returned in GET requests if view=FULL is set.
|
Version |
setLivenessCheck(LivenessCheck livenessCheck)
Configures liveness health checking for instances.
|
Version |
setManualScaling(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.
|
Version |
setName(java.lang.String name)
Full path to the Version resource in the API.
|
Version |
setNetwork(Network network)
Extra network settings.
|
Version |
setNobuildFilesRegex(java.lang.String nobuildFilesRegex)
Files that match this pattern will not be built into this version.
|
Version |
setReadinessCheck(ReadinessCheck readinessCheck)
Configures readiness health checking for instances.
|
Version |
setResources(Resources resources)
Machine resources for this version.
|
Version |
setRuntime(java.lang.String runtime)
Desired runtime.
|
Version |
setRuntimeApiVersion(java.lang.String runtimeApiVersion)
The version of the API in the given runtime environment.
|
Version |
setRuntimeChannel(java.lang.String runtimeChannel)
The channel of the runtime to use.
|
Version |
setRuntimeMainExecutablePath(java.lang.String runtimeMainExecutablePath)
The path or name of the app's main executable.
|
Version |
setServingStatus(java.lang.String servingStatus)
Current serving status of this version.
|
Version |
setThreadsafe(java.lang.Boolean threadsafe)
Whether multiple requests can be dispatched to this version at once.
|
Version |
setVersionUrl(java.lang.String versionUrl)
Serving URL for this version.
|
Version |
setVm(java.lang.Boolean vm)
Whether to deploy this version in a container on a virtual machine.
|
Version |
setVpcAccessConnector(VpcAccessConnector vpcAccessConnector)
Enables VPC connectivity for standard apps.
|
Version |
setZones(java.util.List<java.lang.String> zones)
The Google Compute Engine zones that are supported by this version in the App Engine flexible
environment.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ApiConfigHandler getApiConfig()
null
for nonepublic Version setApiConfig(ApiConfigHandler apiConfig)
apiConfig
- apiConfig or null
for nonepublic AutomaticScaling getAutomaticScaling()
null
for nonepublic Version setAutomaticScaling(AutomaticScaling automaticScaling)
automaticScaling
- automaticScaling or null
for nonepublic BasicScaling getBasicScaling()
null
for nonepublic Version setBasicScaling(BasicScaling basicScaling)
basicScaling
- basicScaling or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getBetaSettings()
null
for nonepublic Version setBetaSettings(java.util.Map<java.lang.String,java.lang.String> betaSettings)
betaSettings
- betaSettings or null
for nonepublic java.lang.String getCreateTime()
null
for nonepublic Version setCreateTime(java.lang.String createTime)
createTime
- createTime or null
for nonepublic java.lang.String getCreatedBy()
null
for nonepublic Version setCreatedBy(java.lang.String createdBy)
createdBy
- createdBy or null
for nonepublic java.lang.String getDefaultExpiration()
null
for nonepublic Version setDefaultExpiration(java.lang.String defaultExpiration)
defaultExpiration
- defaultExpiration or null
for nonepublic Deployment getDeployment()
null
for nonepublic Version setDeployment(Deployment deployment)
deployment
- deployment or null
for nonepublic java.lang.Long getDiskUsageBytes()
null
for nonepublic Version setDiskUsageBytes(java.lang.Long diskUsageBytes)
diskUsageBytes
- diskUsageBytes or null
for nonepublic EndpointsApiService getEndpointsApiService()
null
for nonepublic Version setEndpointsApiService(EndpointsApiService endpointsApiService)
endpointsApiService
- endpointsApiService or null
for nonepublic Entrypoint getEntrypoint()
null
for nonepublic Version setEntrypoint(Entrypoint entrypoint)
entrypoint
- entrypoint or null
for nonepublic java.lang.String getEnv()
null
for nonepublic Version setEnv(java.lang.String env)
env
- env or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getEnvVariables()
null
for nonepublic Version setEnvVariables(java.util.Map<java.lang.String,java.lang.String> envVariables)
envVariables
- envVariables or null
for nonepublic java.util.List<ErrorHandler> getErrorHandlers()
null
for nonepublic Version setErrorHandlers(java.util.List<ErrorHandler> errorHandlers)
errorHandlers
- errorHandlers or null
for nonepublic java.util.List<UrlMap> getHandlers()
null
for nonepublic Version setHandlers(java.util.List<UrlMap> handlers)
handlers
- handlers or null
for nonepublic HealthCheck getHealthCheck()
null
for nonepublic Version setHealthCheck(HealthCheck healthCheck)
healthCheck
- healthCheck or null
for nonepublic java.lang.String getId()
null
for nonepublic Version setId(java.lang.String id)
id
- id or null
for nonepublic java.util.List<java.lang.String> getInboundServices()
null
for nonepublic Version setInboundServices(java.util.List<java.lang.String> inboundServices)
inboundServices
- inboundServices or null
for nonepublic java.lang.String getInstanceClass()
null
for nonepublic Version setInstanceClass(java.lang.String instanceClass)
instanceClass
- instanceClass or null
for nonepublic java.util.List<Library> getLibraries()
null
for nonepublic Version setLibraries(java.util.List<Library> libraries)
libraries
- libraries or null
for nonepublic LivenessCheck getLivenessCheck()
null
for nonepublic Version setLivenessCheck(LivenessCheck livenessCheck)
livenessCheck
- livenessCheck or null
for nonepublic ManualScaling getManualScaling()
null
for nonepublic Version setManualScaling(ManualScaling manualScaling)
manualScaling
- manualScaling or null
for nonepublic java.lang.String getName()
null
for nonepublic Version setName(java.lang.String name)
name
- name or null
for nonepublic Network getNetwork()
null
for nonepublic Version setNetwork(Network network)
network
- network or null
for nonepublic java.lang.String getNobuildFilesRegex()
null
for nonepublic Version setNobuildFilesRegex(java.lang.String nobuildFilesRegex)
nobuildFilesRegex
- nobuildFilesRegex or null
for nonepublic ReadinessCheck getReadinessCheck()
null
for nonepublic Version setReadinessCheck(ReadinessCheck readinessCheck)
readinessCheck
- readinessCheck or null
for nonepublic Resources getResources()
null
for nonepublic Version setResources(Resources resources)
resources
- resources or null
for nonepublic java.lang.String getRuntime()
null
for nonepublic Version setRuntime(java.lang.String runtime)
runtime
- runtime or null
for nonepublic java.lang.String getRuntimeApiVersion()
null
for nonepublic Version setRuntimeApiVersion(java.lang.String runtimeApiVersion)
runtimeApiVersion
- runtimeApiVersion or null
for nonepublic java.lang.String getRuntimeChannel()
null
for nonepublic Version setRuntimeChannel(java.lang.String runtimeChannel)
runtimeChannel
- runtimeChannel or null
for nonepublic java.lang.String getRuntimeMainExecutablePath()
null
for nonepublic Version setRuntimeMainExecutablePath(java.lang.String runtimeMainExecutablePath)
runtimeMainExecutablePath
- runtimeMainExecutablePath or null
for nonepublic java.lang.String getServingStatus()
null
for nonepublic Version setServingStatus(java.lang.String servingStatus)
servingStatus
- servingStatus or null
for nonepublic java.lang.Boolean getThreadsafe()
null
for nonepublic Version setThreadsafe(java.lang.Boolean threadsafe)
threadsafe
- threadsafe or null
for nonepublic java.lang.String getVersionUrl()
null
for nonepublic Version setVersionUrl(java.lang.String versionUrl)
versionUrl
- versionUrl or null
for nonepublic java.lang.Boolean getVm()
null
for nonepublic Version setVm(java.lang.Boolean vm)
vm
- vm or null
for nonepublic VpcAccessConnector getVpcAccessConnector()
null
for nonepublic Version setVpcAccessConnector(VpcAccessConnector vpcAccessConnector)
vpcAccessConnector
- vpcAccessConnector or null
for nonepublic java.util.List<java.lang.String> getZones()
null
for nonepublic Version setZones(java.util.List<java.lang.String> zones)
zones
- zones or null
for nonepublic Version set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Version clone()
clone
in class com.google.api.client.json.GenericJson