versions
Creates, updates, deletes, gets or lists a versions
resource.
Overview
Name | versions |
Type | Resource |
Id | google.appengine.versions |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
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-". |
name | string | Output only. Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly |
apiConfig | object | Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set. (id: ApiConfigHandler) |
appEngineApis | boolean | Allows App Engine second generation runtimes to access the legacy bundled services. |
automaticScaling | object | Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic. (id: AutomaticScaling) |
basicScaling | object | 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. (id: BasicScaling) |
betaSettings | object | Metadata settings that are supplied to this version to enable beta runtime features. |
buildEnvVariables | object | Environment variables available to the build environment.Only returned in GET requests if view=FULL is set. |
createTime | string (google-datetime) | Time that this version was created.@OutputOnly |
createdBy | string | Output only. Email address of the user who created this version.@OutputOnly |
defaultExpiration | string (google-duration) | 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. |
deployment | object | Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. (id: Deployment) |
diskUsageBytes | string (int64) | Output only. Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly |
endpointsApiService | object | 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. (id: EndpointsApiService) |
entrypoint | object | The entrypoint for the application. (id: Entrypoint) |
env | string | App Engine execution environment for this version.Defaults to standard. |
envVariables | object | Environment variables available to the application.Only returned in GET requests if view=FULL is set. |
errorHandlers | array | Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. |
flexibleRuntimeSettings | object | Settings for App Engine flexible runtimes. (id: FlexibleRuntimeSettings) |
generatedCustomerMetadata | 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 |
handlers | array | 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. |
healthCheck | object | Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment. (id: HealthCheck) |
inboundServices | array | Before an application can receive email or XMPP messages, the application must be configured to enable the service. |
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. |
libraries | array | Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. |
livenessCheck | object | Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances (id: LivenessCheck) |
manualScaling | object | A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends". (id: ManualScaling) |
network | object | Extra network settings. Only applicable in the App Engine flexible environment. (id: Network) |
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. |
readinessCheck | object | Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. (id: ReadinessCheck) |
resources | object | Machine resources for this version. Only applicable in the App Engine flexible environment. (id: Resources) |
runtime | string | Desired runtime. Example: python27. |
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 |
runtimeChannel | string | The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel. |
runtimeMainExecutablePath | string | The path or name of the app's main executable. |
serviceAccount | string | The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag. |
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. |
threadsafe | boolean | Whether multiple requests can be dispatched to this version at once. |
versionUrl | string | Output only. Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly |
vm | boolean | Whether to deploy this version in a container on a virtual machine. |
vpcAccessConnector | object | Enables VPC connectivity for standard apps. (id: VpcAccessConnector) |
zones | array | The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated. |
Successful response
Name | Datatype | Description |
---|---|---|
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-". |
name | string | Output only. Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly |
apiConfig | object | Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set. (id: ApiConfigHandler) |
appEngineApis | boolean | Allows App Engine second generation runtimes to access the legacy bundled services. |
automaticScaling | object | Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic. (id: AutomaticScaling) |
basicScaling | object | 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. (id: BasicScaling) |
betaSettings | object | Metadata settings that are supplied to this version to enable beta runtime features. |
buildEnvVariables | object | Environment variables available to the build environment.Only returned in GET requests if view=FULL is set. |
createTime | string (google-datetime) | Time that this version was created.@OutputOnly |
createdBy | string | Output only. Email address of the user who created this version.@OutputOnly |
defaultExpiration | string (google-duration) | 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. |
deployment | object | Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. (id: Deployment) |
diskUsageBytes | string (int64) | Output only. Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly |
endpointsApiService | object | 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. (id: EndpointsApiService) |
entrypoint | object | The entrypoint for the application. (id: Entrypoint) |
env | string | App Engine execution environment for this version.Defaults to standard. |
envVariables | object | Environment variables available to the application.Only returned in GET requests if view=FULL is set. |
errorHandlers | array | Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. |
flexibleRuntimeSettings | object | Settings for App Engine flexible runtimes. (id: FlexibleRuntimeSettings) |
generatedCustomerMetadata | 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 |
handlers | array | 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. |
healthCheck | object | Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment. (id: HealthCheck) |
inboundServices | array | Before an application can receive email or XMPP messages, the application must be configured to enable the service. |
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. |
libraries | array | Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. |
livenessCheck | object | Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances (id: LivenessCheck) |
manualScaling | object | A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends". (id: ManualScaling) |
network | object | Extra network settings. Only applicable in the App Engine flexible environment. (id: Network) |
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. |
readinessCheck | object | Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. (id: ReadinessCheck) |
resources | object | Machine resources for this version. Only applicable in the App Engine flexible environment. (id: Resources) |
runtime | string | Desired runtime. Example: python27. |
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 |
runtimeChannel | string | The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel. |
runtimeMainExecutablePath | string | The path or name of the app's main executable. |
serviceAccount | string | The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag. |
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. |
threadsafe | boolean | Whether multiple requests can be dispatched to this version at once. |
versionUrl | string | Output only. Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly |
vm | boolean | Whether to deploy this version in a container on a virtual machine. |
vpcAccessConnector | object | Enables VPC connectivity for standard apps. (id: VpcAccessConnector) |
zones | array | The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated. |
Methods
The following methods are available for this resource:
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
applicationsId | string | |
appsId | string | |
locationsId | string | |
projectsId | string | |
servicesId | string | |
versionsId | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) | |
view | string |
SELECT
examples
- get
- list
Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
SELECT
id,
name,
apiConfig,
appEngineApis,
automaticScaling,
basicScaling,
betaSettings,
buildEnvVariables,
createTime,
createdBy,
defaultExpiration,
deployment,
diskUsageBytes,
endpointsApiService,
entrypoint,
env,
envVariables,
errorHandlers,
flexibleRuntimeSettings,
generatedCustomerMetadata,
handlers,
healthCheck,
inboundServices,
instanceClass,
libraries,
livenessCheck,
manualScaling,
network,
nobuildFilesRegex,
readinessCheck,
resources,
runtime,
runtimeApiVersion,
runtimeChannel,
runtimeMainExecutablePath,
serviceAccount,
servingStatus,
threadsafe,
versionUrl,
vm,
vpcAccessConnector,
zones
FROM google.appengine.versions
WHERE appsId = '{{ appsId }}' -- required
AND servicesId = '{{ servicesId }}' -- required
AND versionsId = '{{ versionsId }}' -- required
AND view = '{{ view }}';
Lists the versions of a service.
SELECT
id,
name,
apiConfig,
appEngineApis,
automaticScaling,
basicScaling,
betaSettings,
buildEnvVariables,
createTime,
createdBy,
defaultExpiration,
deployment,
diskUsageBytes,
endpointsApiService,
entrypoint,
env,
envVariables,
errorHandlers,
flexibleRuntimeSettings,
generatedCustomerMetadata,
handlers,
healthCheck,
inboundServices,
instanceClass,
libraries,
livenessCheck,
manualScaling,
network,
nobuildFilesRegex,
readinessCheck,
resources,
runtime,
runtimeApiVersion,
runtimeChannel,
runtimeMainExecutablePath,
serviceAccount,
servingStatus,
threadsafe,
versionUrl,
vm,
vpcAccessConnector,
zones
FROM google.appengine.versions
WHERE appsId = '{{ appsId }}' -- required
AND servicesId = '{{ servicesId }}' -- required
AND view = '{{ view }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';
INSERT
examples
- create
- Manifest
Deploys code and resource files to a new version.
INSERT INTO google.appengine.versions (
data__id,
data__automaticScaling,
data__basicScaling,
data__manualScaling,
data__inboundServices,
data__instanceClass,
data__network,
data__zones,
data__resources,
data__runtime,
data__runtimeChannel,
data__threadsafe,
data__vm,
data__flexibleRuntimeSettings,
data__appEngineApis,
data__betaSettings,
data__env,
data__servingStatus,
data__createTime,
data__runtimeApiVersion,
data__runtimeMainExecutablePath,
data__serviceAccount,
data__handlers,
data__errorHandlers,
data__libraries,
data__apiConfig,
data__envVariables,
data__buildEnvVariables,
data__defaultExpiration,
data__healthCheck,
data__readinessCheck,
data__livenessCheck,
data__nobuildFilesRegex,
data__deployment,
data__endpointsApiService,
data__entrypoint,
data__vpcAccessConnector,
data__generatedCustomerMetadata,
appsId,
servicesId
)
SELECT
'{{ id }}',
'{{ automaticScaling }}',
'{{ basicScaling }}',
'{{ manualScaling }}',
'{{ inboundServices }}',
'{{ instanceClass }}',
'{{ network }}',
'{{ zones }}',
'{{ resources }}',
'{{ runtime }}',
'{{ runtimeChannel }}',
{{ threadsafe }},
{{ vm }},
'{{ flexibleRuntimeSettings }}',
{{ appEngineApis }},
'{{ betaSettings }}',
'{{ env }}',
'{{ servingStatus }}',
'{{ createTime }}',
'{{ runtimeApiVersion }}',
'{{ runtimeMainExecutablePath }}',
'{{ serviceAccount }}',
'{{ handlers }}',
'{{ errorHandlers }}',
'{{ libraries }}',
'{{ apiConfig }}',
'{{ envVariables }}',
'{{ buildEnvVariables }}',
'{{ defaultExpiration }}',
'{{ healthCheck }}',
'{{ readinessCheck }}',
'{{ livenessCheck }}',
'{{ nobuildFilesRegex }}',
'{{ deployment }}',
'{{ endpointsApiService }}',
'{{ entrypoint }}',
'{{ vpcAccessConnector }}',
'{{ generatedCustomerMetadata }}',
'{{ appsId }}',
'{{ servicesId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: versions
props:
- name: appsId
value: string
description: Required parameter for the versions resource.
- name: servicesId
value: string
description: Required parameter for the versions resource.
- name: id
value: string
description: >
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-".
- name: automaticScaling
value: object
description: >
Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.
- name: basicScaling
value: object
description: >
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.
- name: manualScaling
value: object
description: >
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".
- name: inboundServices
value: array
description: >
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
- name: instanceClass
value: string
description: >
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.
- name: network
value: object
description: >
Extra network settings. Only applicable in the App Engine flexible environment.
- name: zones
value: array
description: >
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
- name: resources
value: object
description: >
Machine resources for this version. Only applicable in the App Engine flexible environment.
- name: runtime
value: string
description: >
Desired runtime. Example: python27.
- name: runtimeChannel
value: string
description: >
The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
- name: threadsafe
value: boolean
description: >
Whether multiple requests can be dispatched to this version at once.
- name: vm
value: boolean
description: >
Whether to deploy this version in a container on a virtual machine.
- name: flexibleRuntimeSettings
value: object
description: >
Settings for App Engine flexible runtimes.
- name: appEngineApis
value: boolean
description: >
Allows App Engine second generation runtimes to access the legacy bundled services.
- name: betaSettings
value: object
description: >
Metadata settings that are supplied to this version to enable beta runtime features.
- name: env
value: string
description: >
App Engine execution environment for this version.Defaults to standard.
- name: servingStatus
value: string
description: >
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.
valid_values: ['SERVING_STATUS_UNSPECIFIED', 'SERVING', 'STOPPED']
- name: createTime
value: string
description: >
Time that this version was created.@OutputOnly
- name: runtimeApiVersion
value: string
description: >
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
- name: runtimeMainExecutablePath
value: string
description: >
The path or name of the app's main executable.
- name: serviceAccount
value: string
description: >
The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
- name: handlers
value: array
description: >
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.
- name: errorHandlers
value: array
description: >
Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
- name: libraries
value: array
description: >
Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
- name: apiConfig
value: object
description: >
Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set.
- name: envVariables
value: object
description: >
Environment variables available to the application.Only returned in GET requests if view=FULL is set.
- name: buildEnvVariables
value: object
description: >
Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
- name: defaultExpiration
value: string
description: >
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.
- name: healthCheck
value: object
description: >
Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.
- name: readinessCheck
value: object
description: >
Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.
- name: livenessCheck
value: object
description: >
Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances
- name: nobuildFilesRegex
value: string
description: >
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.
- name: deployment
value: object
description: >
Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
- name: endpointsApiService
value: object
description: >
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.
- name: entrypoint
value: object
description: >
The entrypoint for the application.
- name: vpcAccessConnector
value: object
description: >
Enables VPC connectivity for standard apps.
- name: generatedCustomerMetadata
value: object
description: >
Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest
UPDATE
examples
- patch
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:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the 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) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
UPDATE google.appengine.versions
SET
data__id = '{{ id }}',
data__automaticScaling = '{{ automaticScaling }}',
data__basicScaling = '{{ basicScaling }}',
data__manualScaling = '{{ manualScaling }}',
data__inboundServices = '{{ inboundServices }}',
data__instanceClass = '{{ instanceClass }}',
data__network = '{{ network }}',
data__zones = '{{ zones }}',
data__resources = '{{ resources }}',
data__runtime = '{{ runtime }}',
data__runtimeChannel = '{{ runtimeChannel }}',
data__threadsafe = {{ threadsafe }},
data__vm = {{ vm }},
data__flexibleRuntimeSettings = '{{ flexibleRuntimeSettings }}',
data__appEngineApis = {{ appEngineApis }},
data__betaSettings = '{{ betaSettings }}',
data__env = '{{ env }}',
data__servingStatus = '{{ servingStatus }}',
data__createTime = '{{ createTime }}',
data__runtimeApiVersion = '{{ runtimeApiVersion }}',
data__runtimeMainExecutablePath = '{{ runtimeMainExecutablePath }}',
data__serviceAccount = '{{ serviceAccount }}',
data__handlers = '{{ handlers }}',
data__errorHandlers = '{{ errorHandlers }}',
data__libraries = '{{ libraries }}',
data__apiConfig = '{{ apiConfig }}',
data__envVariables = '{{ envVariables }}',
data__buildEnvVariables = '{{ buildEnvVariables }}',
data__defaultExpiration = '{{ defaultExpiration }}',
data__healthCheck = '{{ healthCheck }}',
data__readinessCheck = '{{ readinessCheck }}',
data__livenessCheck = '{{ livenessCheck }}',
data__nobuildFilesRegex = '{{ nobuildFilesRegex }}',
data__deployment = '{{ deployment }}',
data__endpointsApiService = '{{ endpointsApiService }}',
data__entrypoint = '{{ entrypoint }}',
data__vpcAccessConnector = '{{ vpcAccessConnector }}',
data__generatedCustomerMetadata = '{{ generatedCustomerMetadata }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND applicationsId = '{{ applicationsId }}' --required
AND servicesId = '{{ servicesId }}' --required
AND versionsId = '{{ versionsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;
DELETE
examples
- delete
Deletes an existing Version resource.
DELETE FROM google.appengine.versions
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND applicationsId = '{{ applicationsId }}' --required
AND servicesId = '{{ servicesId }}' --required
AND versionsId = '{{ versionsId }}' --required;