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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
Version |
clone() |
ApiConfigHandler |
getApiConfig()
Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only
returned in GET requests if view=FULL is set.
|
Boolean |
getAppEngineApis()
Allows App Engine second generation runtimes to access the legacy bundled services.
|
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.
|
Map<String,String> |
getBetaSettings()
Metadata settings that are supplied to this version to enable beta runtime features.
|
Map<String,String> |
getBuildEnvVariables()
Environment variables available to the build environment.Only returned in GET requests if
view=FULL is set.
|
String |
getCreatedBy()
Email address of the user who created this version.@OutputOnly
|
String |
getCreateTime()
Time that this version was created.@OutputOnly
|
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.
|
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.
|
String |
getEnv()
App Engine execution environment for this version.Defaults to standard.
|
Map<String,String> |
getEnvVariables()
Environment variables available to the application.Only returned in GET requests if view=FULL
is set.
|
List<ErrorHandler> |
getErrorHandlers()
Custom static error pages.
|
FlexibleRuntimeSettings |
getFlexibleRuntimeSettings()
Settings for App Engine flexible runtimes.
|
Map<String,Object> |
getGeneratedCustomerMetadata()
Additional Google Generated Customer Metadata, this field won't be provided by default and can
be requested by setting the IncludeExtraData field in GetVersionRequest
|
List<UrlMap> |
getHandlers()
An ordered list of URL-matching patterns that should be applied to incoming requests.
|
HealthCheck |
getHealthCheck()
Configures health checking for instances.
|
String |
getId()
Relative name of the version within the service.
|
List<String> |
getInboundServices()
Before an application can receive email or XMPP messages, the application must be configured to
enable the service.
|
String |
getInstanceClass()
Instance class that is used to run this version.
|
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.
|
String |
getName()
Full path to the Version resource in the API.
|
Network |
getNetwork()
Extra network settings.
|
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.
|
String |
getRuntime()
Desired runtime.
|
String |
getRuntimeApiVersion()
The version of the API in the given runtime environment.
|
String |
getRuntimeChannel()
The channel of the runtime to use.
|
String |
getRuntimeMainExecutablePath()
The path or name of the app's main executable.
|
String |
getServiceAccount()
The identity that the deployed version will run as.
|
String |
getServingStatus()
Current serving status of this version.
|
Boolean |
getThreadsafe()
Whether multiple requests can be dispatched to this version at once.
|
String |
getVersionUrl()
Serving URL for this version.
|
Boolean |
getVm()
Whether to deploy this version in a container on a virtual machine.
|
VpcAccessConnector |
getVpcAccessConnector()
Enables VPC connectivity for standard apps.
|
List<String> |
getZones()
The Google Compute Engine zones that are supported by this version in the App Engine flexible
environment.
|
Version |
set(String fieldName,
Object value) |
Version |
setApiConfig(ApiConfigHandler apiConfig)
Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only
returned in GET requests if view=FULL is set.
|
Version |
setAppEngineApis(Boolean appEngineApis)
Allows App Engine second generation runtimes to access the legacy bundled services.
|
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(Map<String,String> betaSettings)
Metadata settings that are supplied to this version to enable beta runtime features.
|
Version |
setBuildEnvVariables(Map<String,String> buildEnvVariables)
Environment variables available to the build environment.Only returned in GET requests if
view=FULL is set.
|
Version |
setCreatedBy(String createdBy)
Email address of the user who created this version.@OutputOnly
|
Version |
setCreateTime(String createTime)
Time that this version was created.@OutputOnly
|
Version |
setDefaultExpiration(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(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(String env)
App Engine execution environment for this version.Defaults to standard.
|
Version |
setEnvVariables(Map<String,String> envVariables)
Environment variables available to the application.Only returned in GET requests if view=FULL
is set.
|
Version |
setErrorHandlers(List<ErrorHandler> errorHandlers)
Custom static error pages.
|
Version |
setFlexibleRuntimeSettings(FlexibleRuntimeSettings flexibleRuntimeSettings)
Settings for App Engine flexible runtimes.
|
Version |
setGeneratedCustomerMetadata(Map<String,Object> generatedCustomerMetadata)
Additional Google Generated Customer Metadata, this field won't be provided by default and can
be requested by setting the IncludeExtraData field in GetVersionRequest
|
Version |
setHandlers(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(String id)
Relative name of the version within the service.
|
Version |
setInboundServices(List<String> inboundServices)
Before an application can receive email or XMPP messages, the application must be configured to
enable the service.
|
Version |
setInstanceClass(String instanceClass)
Instance class that is used to run this version.
|
Version |
setLibraries(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(String name)
Full path to the Version resource in the API.
|
Version |
setNetwork(Network network)
Extra network settings.
|
Version |
setNobuildFilesRegex(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(String runtime)
Desired runtime.
|
Version |
setRuntimeApiVersion(String runtimeApiVersion)
The version of the API in the given runtime environment.
|
Version |
setRuntimeChannel(String runtimeChannel)
The channel of the runtime to use.
|
Version |
setRuntimeMainExecutablePath(String runtimeMainExecutablePath)
The path or name of the app's main executable.
|
Version |
setServiceAccount(String serviceAccount)
The identity that the deployed version will run as.
|
Version |
setServingStatus(String servingStatus)
Current serving status of this version.
|
Version |
setThreadsafe(Boolean threadsafe)
Whether multiple requests can be dispatched to this version at once.
|
Version |
setVersionUrl(String versionUrl)
Serving URL for this version.
|
Version |
setVm(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(List<String> zones)
The Google Compute Engine zones that are supported by this version in the App Engine flexible
environment.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ApiConfigHandler getApiConfig()
null for nonepublic Version setApiConfig(ApiConfigHandler apiConfig)
apiConfig - apiConfig or null for nonepublic Boolean getAppEngineApis()
null for nonepublic Version setAppEngineApis(Boolean appEngineApis)
appEngineApis - appEngineApis 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 Map<String,String> getBetaSettings()
null for nonepublic Version setBetaSettings(Map<String,String> betaSettings)
betaSettings - betaSettings or null for nonepublic Map<String,String> getBuildEnvVariables()
null for nonepublic Version setBuildEnvVariables(Map<String,String> buildEnvVariables)
buildEnvVariables - buildEnvVariables or null for nonepublic String getCreateTime()
null for nonepublic Version setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getCreatedBy()
null for nonepublic Version setCreatedBy(String createdBy)
createdBy - createdBy or null for nonepublic String getDefaultExpiration()
null for nonepublic Version setDefaultExpiration(String defaultExpiration)
defaultExpiration - defaultExpiration or null for nonepublic Deployment getDeployment()
null for nonepublic Version setDeployment(Deployment deployment)
deployment - deployment or null for nonepublic Long getDiskUsageBytes()
null for nonepublic Version setDiskUsageBytes(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 String getEnv()
null for nonepublic Version setEnv(String env)
env - env or null for nonepublic Map<String,String> getEnvVariables()
null for nonepublic Version setEnvVariables(Map<String,String> envVariables)
envVariables - envVariables or null for nonepublic List<ErrorHandler> getErrorHandlers()
null for nonepublic Version setErrorHandlers(List<ErrorHandler> errorHandlers)
errorHandlers - errorHandlers or null for nonepublic FlexibleRuntimeSettings getFlexibleRuntimeSettings()
null for nonepublic Version setFlexibleRuntimeSettings(FlexibleRuntimeSettings flexibleRuntimeSettings)
flexibleRuntimeSettings - flexibleRuntimeSettings or null for nonepublic Map<String,Object> getGeneratedCustomerMetadata()
null for nonepublic Version setGeneratedCustomerMetadata(Map<String,Object> generatedCustomerMetadata)
generatedCustomerMetadata - generatedCustomerMetadata or null for nonepublic List<UrlMap> getHandlers()
null for nonepublic Version setHandlers(List<UrlMap> handlers)
handlers - handlers or null for nonepublic HealthCheck getHealthCheck()
null for nonepublic Version setHealthCheck(HealthCheck healthCheck)
healthCheck - healthCheck or null for nonepublic String getId()
null for nonepublic Version setId(String id)
id - id or null for nonepublic List<String> getInboundServices()
null for nonepublic Version setInboundServices(List<String> inboundServices)
inboundServices - inboundServices or null for nonepublic String getInstanceClass()
null for nonepublic Version setInstanceClass(String instanceClass)
instanceClass - instanceClass or null for nonepublic List<Library> getLibraries()
null for nonepublic Version setLibraries(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 String getName()
null for nonepublic Version setName(String name)
name - name or null for nonepublic Network getNetwork()
null for nonepublic Version setNetwork(Network network)
network - network or null for nonepublic String getNobuildFilesRegex()
null for nonepublic Version setNobuildFilesRegex(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 String getRuntime()
null for nonepublic Version setRuntime(String runtime)
runtime - runtime or null for nonepublic String getRuntimeApiVersion()
null for nonepublic Version setRuntimeApiVersion(String runtimeApiVersion)
runtimeApiVersion - runtimeApiVersion or null for nonepublic String getRuntimeChannel()
null for nonepublic Version setRuntimeChannel(String runtimeChannel)
runtimeChannel - runtimeChannel or null for nonepublic String getRuntimeMainExecutablePath()
null for nonepublic Version setRuntimeMainExecutablePath(String runtimeMainExecutablePath)
runtimeMainExecutablePath - runtimeMainExecutablePath or null for nonepublic String getServiceAccount()
null for nonepublic Version setServiceAccount(String serviceAccount)
serviceAccount - serviceAccount or null for nonepublic String getServingStatus()
null for nonepublic Version setServingStatus(String servingStatus)
servingStatus - servingStatus or null for nonepublic Boolean getThreadsafe()
null for nonepublic Version setThreadsafe(Boolean threadsafe)
threadsafe - threadsafe or null for nonepublic String getVersionUrl()
null for nonepublic Version setVersionUrl(String versionUrl)
versionUrl - versionUrl or null for nonepublic Boolean getVm()
null for nonepublic Version setVm(Boolean vm)
vm - vm or null for nonepublic VpcAccessConnector getVpcAccessConnector()
null for nonepublic Version setVpcAccessConnector(VpcAccessConnector vpcAccessConnector)
vpcAccessConnector - vpcAccessConnector or null for nonepublic List<String> getZones()
null for nonepublic Version setZones(List<String> zones)
zones - zones or null for nonepublic Version set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Version clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.