• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="appengine_v1beta.html">App Engine Admin API</a> . <a href="appengine_v1beta.apps.html">apps</a> . <a href="appengine_v1beta.apps.services.html">services</a> . <a href="appengine_v1beta.apps.services.versions.html">versions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="appengine_v1beta.apps.services.versions.instances.html">instances()</a></code>
79</p>
80<p class="firstline">Returns the instances Resource.</p>
81
82<p class="toc_element">
83  <code><a href="#create">create(appsId, servicesId, body, x__xgafv=None)</a></code></p>
84<p class="firstline">Deploys code and resource files to a new version.</p>
85<p class="toc_element">
86  <code><a href="#delete">delete(appsId, servicesId, versionsId, x__xgafv=None)</a></code></p>
87<p class="firstline">Deletes an existing Version resource.</p>
88<p class="toc_element">
89  <code><a href="#get">get(appsId, servicesId, versionsId, x__xgafv=None, view=None)</a></code></p>
90<p class="firstline">Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.</p>
91<p class="toc_element">
92  <code><a href="#list">list(appsId, servicesId, pageSize=None, pageToken=None, x__xgafv=None, view=None)</a></code></p>
93<p class="firstline">Lists the versions of a service.</p>
94<p class="toc_element">
95  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
96<p class="firstline">Retrieves the next page of results.</p>
97<p class="toc_element">
98  <code><a href="#patch">patch(appsId, servicesId, versionsId, body, updateMask=None, x__xgafv=None)</a></code></p>
99<p class="firstline">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</p>
100<h3>Method Details</h3>
101<div class="method">
102    <code class="details" id="create">create(appsId, servicesId, body, x__xgafv=None)</code>
103  <pre>Deploys code and resource files to a new version.
104
105Args:
106  appsId: string, Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default. (required)
107  servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
108  body: object, The request body. (required)
109    The object takes the form of:
110
111{ # A Version resource is a specific set of source code and configuration files that are deployed into a service.
112    "endpointsApiService": { # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a "service" resource in the Service Management API (https://cloud.google.com/service-management/overview). # 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.
113      "configId": "A String", # Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.
114      "rolloutStrategy": "A String", # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
115      "disableTraceSampling": True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
116      "name": "A String", # Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
117    },
118    "defaultExpiration": "A 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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
119    "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. # 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.
120      "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down.
121      "maxInstances": 42, # Maximum number of instances to create for this version.
122    },
123    "vm": True or False, # Whether to deploy this version in a container on a virtual machine.
124    "zones": [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
125      "A String",
126    ],
127    "instanceClass": "A String", # Instance class that is used to run this version. Valid values are:
128        # AutomaticScaling: F1, F2, F4, F4_1G
129        # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
130    "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
131      { # Custom static error page to be served when an error occurs.
132        "errorCode": "A String", # Error condition this handler applies to.
133        "mimeType": "A String", # MIME type of file. Defaults to text/html.
134        "staticFile": "A String", # Static file content to be served for this error.
135      },
136    ],
137    "versionUrl": "A String", # Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly
138    "readinessCheck": { # Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation. # 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.
139      "checkInterval": "A String", # Interval between health checks.
140      "host": "A String", # Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
141      "appStartTimeout": "A String", # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
142      "timeout": "A String", # Time before the check is considered failed.
143      "path": "A String", # The request path.
144      "successThreshold": 42, # Number of consecutive successful checks required before receiving traffic.
145      "failureThreshold": 42, # Number of consecutive failed checks required before removing traffic.
146    },
147    "runtimeMainExecutablePath": "A String", # The path or name of the app's main executable.
148    "runtimeChannel": "A String", # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
149    "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once.
150    "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # 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.
151      "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted.
152      "checkInterval": "A String", # Interval between health checks.
153      "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic.
154      "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic.
155      "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
156      "timeout": "A String", # Time before the health check is considered failed.
157      "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance.
158    },
159    "id": "A 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-".
160    "libraries": [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
161      { # Third-party Python runtime library that is required by the application.
162        "version": "A String", # Version of the library to select, or "latest".
163        "name": "A String", # Name of the library. Example: "django".
164      },
165    ],
166    "entrypoint": { # The entrypoint for the application. # The entrypoint for the application.
167      "shell": "A String", # The format should be a shell command that can be fed to bash -c.
168    },
169    "env": "A String", # App Engine execution environment for this version.Defaults to standard.
170    "diskUsageBytes": "A String", # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
171    "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics.
172      "minTotalInstances": 42, # Minimum number of running instances that should be maintained for this version.
173      "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
174      "networkUtilization": { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
175        "targetReceivedPacketsPerSecond": 42, # Target packets received per second.
176        "targetSentPacketsPerSecond": 42, # Target packets sent per second.
177        "targetReceivedBytesPerSecond": 42, # Target bytes received per second.
178        "targetSentBytesPerSecond": 42, # Target bytes sent per second.
179      },
180      "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
181      "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
182      "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version.
183      "diskUtilization": { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
184        "targetReadOpsPerSecond": 42, # Target ops read per seconds.
185        "targetWriteBytesPerSecond": 42, # Target bytes written per second.
186        "targetReadBytesPerSecond": 42, # Target bytes read per second.
187        "targetWriteOpsPerSecond": 42, # Target ops written per second.
188      },
189      "requestUtilization": { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
190        "targetConcurrentRequests": 42, # Target number of concurrent requests.
191        "targetRequestCountPerSecond": 42, # Target requests per second.
192      },
193      "coolDownPeriod": "A String", # The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.
194      "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests for this version.
195      "customMetrics": [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
196        { # Allows autoscaling based on Stackdriver metrics.
197          "filter": "A String", # Allows filtering on the metric's fields.
198          "targetType": "A String", # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
199          "singleInstanceAssignment": 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
200          "targetUtilization": 3.14, # The target value for the metric.
201          "metricName": "A String", # The name of the metric.
202        },
203      ],
204      "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
205      "standardSchedulerSettings": { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
206        "minInstances": 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
207        "targetCpuUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling.
208        "targetThroughputUtilization": 3.14, # Target throughput utilization ratio to maintain when scaling
209        "maxInstances": 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
210      },
211      "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage.
212        "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
213        "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated.
214      },
215    },
216    "envVariables": { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
217      "a_key": "A String",
218    },
219    "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
220      "memoryGb": 3.14, # Memory (GB) needed.
221      "diskGb": 3.14, # Disk size (GB) needed.
222      "cpu": 3.14, # Number of CPU cores needed.
223      "volumes": [ # User specified volumes.
224        { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
225          "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'.
226          "name": "A String", # Unique name for the volume.
227          "sizeGb": 3.14, # Volume size in gigabytes.
228        },
229      ],
230    },
231    "manualScaling": { # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
232      "instances": 42, # Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.
233    },
234    "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps.
235      "name": "A String", # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
236    },
237    "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
238      "A String",
239    ],
240    "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set.
241      "url": "A String", # URL to serve the endpoint at.
242      "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
243      "login": "A String", # Level of login required to access this resource. Defaults to optional.
244      "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
245      "script": "A String", # Path to the script from the application root directory.
246    },
247    "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features.
248      "a_key": "A String",
249    },
250    "createdBy": "A String", # Email address of the user who created this version.@OutputOnly
251    "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
252      "files": { # Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
253        "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
254          "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage.
255          "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
256          "sha1Sum": "A String", # The SHA1 hash of the file, in hex.
257        },
258      },
259      "cloudBuildOptions": { # Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly. # Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
260        "appYamlPath": "A String", # Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.
261        "cloudBuildTimeout": "A String", # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
262      },
263      "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
264        "image": "A String", # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
265      },
266      "build": { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
267        "cloudBuildId": "A String", # The Google Cloud Build id. Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9"
268      },
269      "zip": { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
270        "filesCount": 42, # An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.
271        "sourceUrl": "A String", # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
272      },
273    },
274    "livenessCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. # Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.
275      "checkInterval": "A String", # Interval between health checks.
276      "initialDelay": "A String", # The initial delay before starting to execute the checks.
277      "host": "A String", # Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
278      "timeout": "A String", # Time before the check is considered failed.
279      "path": "A String", # The request path.
280      "successThreshold": 42, # Number of consecutive successful checks required before considering the VM healthy.
281      "failureThreshold": 42, # Number of consecutive failed checks required before considering the VM unhealthy.
282    },
283    "createTime": "A String", # Time that this version was created.@OutputOnly
284    "network": { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
285      "instanceTag": "A String", # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
286      "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
287        "A String",
288      ],
289      "subnetworkName": "A String", # Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network.
290          # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
291          # If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
292          # If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
293      "name": "A String", # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
294      "sessionAffinity": True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
295    },
296    "runtimeApiVersion": "A 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/<language>/config/appref
297    "nobuildFilesRegex": "A 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.
298    "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
299    "handlers": [ # 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.
300      { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
301        "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
302        "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
303        "urlRegex": "A String", # URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
304        "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".
305          "scriptPath": "A String", # Path to the script from the application root directory.
306        },
307        "staticFiles": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. # Returns the contents of a file, such as an image, as the response.
308          "mimeType": "A String", # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension.
309          "httpHeaders": { # HTTP headers to use for all responses from these URLs.
310            "a_key": "A String",
311          },
312          "expiration": "A String", # Time a static file served by this handler should be cached by web proxies and browsers.
313          "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
314          "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler.
315          "path": "A String", # Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
316          "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
317        },
318        "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
319          "scriptPath": "A String", # Path to the script from the application root directory.
320        },
321        "login": "A String", # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
322        "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302.
323      },
324    ],
325    "servingStatus": "A 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.
326    "runtime": "A String", # Desired runtime. Example: python27.
327  }
328
329  x__xgafv: string, V1 error format.
330    Allowed values
331      1 - v1 error format
332      2 - v2 error format
333
334Returns:
335  An object of the form:
336
337    { # This resource represents a long-running operation that is the result of a network API call.
338    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
339      "a_key": "", # Properties of the object. Contains field @type with type URL.
340    },
341    "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
342      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
343      "code": 42, # The status code, which should be an enum value of google.rpc.Code.
344      "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
345        {
346          "a_key": "", # Properties of the object. Contains field @type with type URL.
347        },
348      ],
349    },
350    "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
351    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
352      "a_key": "", # Properties of the object. Contains field @type with type URL.
353    },
354    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
355  }</pre>
356</div>
357
358<div class="method">
359    <code class="details" id="delete">delete(appsId, servicesId, versionsId, x__xgafv=None)</code>
360  <pre>Deletes an existing Version resource.
361
362Args:
363  appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
364  servicesId: string, Part of `name`. See documentation of `appsId`. (required)
365  versionsId: string, Part of `name`. See documentation of `appsId`. (required)
366  x__xgafv: string, V1 error format.
367    Allowed values
368      1 - v1 error format
369      2 - v2 error format
370
371Returns:
372  An object of the form:
373
374    { # This resource represents a long-running operation that is the result of a network API call.
375    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
376      "a_key": "", # Properties of the object. Contains field @type with type URL.
377    },
378    "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
379      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
380      "code": 42, # The status code, which should be an enum value of google.rpc.Code.
381      "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
382        {
383          "a_key": "", # Properties of the object. Contains field @type with type URL.
384        },
385      ],
386    },
387    "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
388    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
389      "a_key": "", # Properties of the object. Contains field @type with type URL.
390    },
391    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
392  }</pre>
393</div>
394
395<div class="method">
396    <code class="details" id="get">get(appsId, servicesId, versionsId, x__xgafv=None, view=None)</code>
397  <pre>Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
398
399Args:
400  appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
401  servicesId: string, Part of `name`. See documentation of `appsId`. (required)
402  versionsId: string, Part of `name`. See documentation of `appsId`. (required)
403  x__xgafv: string, V1 error format.
404    Allowed values
405      1 - v1 error format
406      2 - v2 error format
407  view: string, Controls the set of fields returned in the Get response.
408
409Returns:
410  An object of the form:
411
412    { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
413      "endpointsApiService": { # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a "service" resource in the Service Management API (https://cloud.google.com/service-management/overview). # 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.
414        "configId": "A String", # Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.
415        "rolloutStrategy": "A String", # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
416        "disableTraceSampling": True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
417        "name": "A String", # Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
418      },
419      "defaultExpiration": "A 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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
420      "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. # 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.
421        "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down.
422        "maxInstances": 42, # Maximum number of instances to create for this version.
423      },
424      "vm": True or False, # Whether to deploy this version in a container on a virtual machine.
425      "zones": [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
426        "A String",
427      ],
428      "instanceClass": "A String", # Instance class that is used to run this version. Valid values are:
429          # AutomaticScaling: F1, F2, F4, F4_1G
430          # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
431      "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
432        { # Custom static error page to be served when an error occurs.
433          "errorCode": "A String", # Error condition this handler applies to.
434          "mimeType": "A String", # MIME type of file. Defaults to text/html.
435          "staticFile": "A String", # Static file content to be served for this error.
436        },
437      ],
438      "versionUrl": "A String", # Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly
439      "readinessCheck": { # Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation. # 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.
440        "checkInterval": "A String", # Interval between health checks.
441        "host": "A String", # Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
442        "appStartTimeout": "A String", # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
443        "timeout": "A String", # Time before the check is considered failed.
444        "path": "A String", # The request path.
445        "successThreshold": 42, # Number of consecutive successful checks required before receiving traffic.
446        "failureThreshold": 42, # Number of consecutive failed checks required before removing traffic.
447      },
448      "runtimeMainExecutablePath": "A String", # The path or name of the app's main executable.
449      "runtimeChannel": "A String", # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
450      "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once.
451      "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # 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.
452        "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted.
453        "checkInterval": "A String", # Interval between health checks.
454        "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic.
455        "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic.
456        "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
457        "timeout": "A String", # Time before the health check is considered failed.
458        "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance.
459      },
460      "id": "A 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-".
461      "libraries": [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
462        { # Third-party Python runtime library that is required by the application.
463          "version": "A String", # Version of the library to select, or "latest".
464          "name": "A String", # Name of the library. Example: "django".
465        },
466      ],
467      "entrypoint": { # The entrypoint for the application. # The entrypoint for the application.
468        "shell": "A String", # The format should be a shell command that can be fed to bash -c.
469      },
470      "env": "A String", # App Engine execution environment for this version.Defaults to standard.
471      "diskUsageBytes": "A String", # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
472      "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics.
473        "minTotalInstances": 42, # Minimum number of running instances that should be maintained for this version.
474        "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
475        "networkUtilization": { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
476          "targetReceivedPacketsPerSecond": 42, # Target packets received per second.
477          "targetSentPacketsPerSecond": 42, # Target packets sent per second.
478          "targetReceivedBytesPerSecond": 42, # Target bytes received per second.
479          "targetSentBytesPerSecond": 42, # Target bytes sent per second.
480        },
481        "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
482        "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
483        "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version.
484        "diskUtilization": { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
485          "targetReadOpsPerSecond": 42, # Target ops read per seconds.
486          "targetWriteBytesPerSecond": 42, # Target bytes written per second.
487          "targetReadBytesPerSecond": 42, # Target bytes read per second.
488          "targetWriteOpsPerSecond": 42, # Target ops written per second.
489        },
490        "requestUtilization": { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
491          "targetConcurrentRequests": 42, # Target number of concurrent requests.
492          "targetRequestCountPerSecond": 42, # Target requests per second.
493        },
494        "coolDownPeriod": "A String", # The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.
495        "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests for this version.
496        "customMetrics": [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
497          { # Allows autoscaling based on Stackdriver metrics.
498            "filter": "A String", # Allows filtering on the metric's fields.
499            "targetType": "A String", # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
500            "singleInstanceAssignment": 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
501            "targetUtilization": 3.14, # The target value for the metric.
502            "metricName": "A String", # The name of the metric.
503          },
504        ],
505        "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
506        "standardSchedulerSettings": { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
507          "minInstances": 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
508          "targetCpuUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling.
509          "targetThroughputUtilization": 3.14, # Target throughput utilization ratio to maintain when scaling
510          "maxInstances": 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
511        },
512        "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage.
513          "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
514          "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated.
515        },
516      },
517      "envVariables": { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
518        "a_key": "A String",
519      },
520      "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
521        "memoryGb": 3.14, # Memory (GB) needed.
522        "diskGb": 3.14, # Disk size (GB) needed.
523        "cpu": 3.14, # Number of CPU cores needed.
524        "volumes": [ # User specified volumes.
525          { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
526            "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'.
527            "name": "A String", # Unique name for the volume.
528            "sizeGb": 3.14, # Volume size in gigabytes.
529          },
530        ],
531      },
532      "manualScaling": { # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
533        "instances": 42, # Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.
534      },
535      "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps.
536        "name": "A String", # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
537      },
538      "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
539        "A String",
540      ],
541      "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set.
542        "url": "A String", # URL to serve the endpoint at.
543        "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
544        "login": "A String", # Level of login required to access this resource. Defaults to optional.
545        "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
546        "script": "A String", # Path to the script from the application root directory.
547      },
548      "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features.
549        "a_key": "A String",
550      },
551      "createdBy": "A String", # Email address of the user who created this version.@OutputOnly
552      "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
553        "files": { # Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
554          "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
555            "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage.
556            "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
557            "sha1Sum": "A String", # The SHA1 hash of the file, in hex.
558          },
559        },
560        "cloudBuildOptions": { # Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly. # Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
561          "appYamlPath": "A String", # Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.
562          "cloudBuildTimeout": "A String", # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
563        },
564        "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
565          "image": "A String", # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
566        },
567        "build": { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
568          "cloudBuildId": "A String", # The Google Cloud Build id. Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9"
569        },
570        "zip": { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
571          "filesCount": 42, # An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.
572          "sourceUrl": "A String", # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
573        },
574      },
575      "livenessCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. # Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.
576        "checkInterval": "A String", # Interval between health checks.
577        "initialDelay": "A String", # The initial delay before starting to execute the checks.
578        "host": "A String", # Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
579        "timeout": "A String", # Time before the check is considered failed.
580        "path": "A String", # The request path.
581        "successThreshold": 42, # Number of consecutive successful checks required before considering the VM healthy.
582        "failureThreshold": 42, # Number of consecutive failed checks required before considering the VM unhealthy.
583      },
584      "createTime": "A String", # Time that this version was created.@OutputOnly
585      "network": { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
586        "instanceTag": "A String", # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
587        "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
588          "A String",
589        ],
590        "subnetworkName": "A String", # Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network.
591            # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
592            # If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
593            # If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
594        "name": "A String", # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
595        "sessionAffinity": True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
596      },
597      "runtimeApiVersion": "A 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/<language>/config/appref
598      "nobuildFilesRegex": "A 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.
599      "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
600      "handlers": [ # 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.
601        { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
602          "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
603          "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
604          "urlRegex": "A String", # URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
605          "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".
606            "scriptPath": "A String", # Path to the script from the application root directory.
607          },
608          "staticFiles": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. # Returns the contents of a file, such as an image, as the response.
609            "mimeType": "A String", # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension.
610            "httpHeaders": { # HTTP headers to use for all responses from these URLs.
611              "a_key": "A String",
612            },
613            "expiration": "A String", # Time a static file served by this handler should be cached by web proxies and browsers.
614            "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
615            "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler.
616            "path": "A String", # Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
617            "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
618          },
619          "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
620            "scriptPath": "A String", # Path to the script from the application root directory.
621          },
622          "login": "A String", # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
623          "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302.
624        },
625      ],
626      "servingStatus": "A 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.
627      "runtime": "A String", # Desired runtime. Example: python27.
628    }</pre>
629</div>
630
631<div class="method">
632    <code class="details" id="list">list(appsId, servicesId, pageSize=None, pageToken=None, x__xgafv=None, view=None)</code>
633  <pre>Lists the versions of a service.
634
635Args:
636  appsId: string, Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default. (required)
637  servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
638  pageSize: integer, Maximum results to return per page.
639  pageToken: string, Continuation token for fetching the next page of results.
640  x__xgafv: string, V1 error format.
641    Allowed values
642      1 - v1 error format
643      2 - v2 error format
644  view: string, Controls the set of fields returned in the List response.
645
646Returns:
647  An object of the form:
648
649    { # Response message for Versions.ListVersions.
650    "nextPageToken": "A String", # Continuation token for fetching the next page of results.
651    "versions": [ # The versions belonging to the requested service.
652      { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
653          "endpointsApiService": { # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a "service" resource in the Service Management API (https://cloud.google.com/service-management/overview). # 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.
654            "configId": "A String", # Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.
655            "rolloutStrategy": "A String", # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
656            "disableTraceSampling": True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
657            "name": "A String", # Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
658          },
659          "defaultExpiration": "A 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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
660          "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. # 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.
661            "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down.
662            "maxInstances": 42, # Maximum number of instances to create for this version.
663          },
664          "vm": True or False, # Whether to deploy this version in a container on a virtual machine.
665          "zones": [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
666            "A String",
667          ],
668          "instanceClass": "A String", # Instance class that is used to run this version. Valid values are:
669              # AutomaticScaling: F1, F2, F4, F4_1G
670              # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
671          "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
672            { # Custom static error page to be served when an error occurs.
673              "errorCode": "A String", # Error condition this handler applies to.
674              "mimeType": "A String", # MIME type of file. Defaults to text/html.
675              "staticFile": "A String", # Static file content to be served for this error.
676            },
677          ],
678          "versionUrl": "A String", # Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly
679          "readinessCheck": { # Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation. # 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.
680            "checkInterval": "A String", # Interval between health checks.
681            "host": "A String", # Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
682            "appStartTimeout": "A String", # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
683            "timeout": "A String", # Time before the check is considered failed.
684            "path": "A String", # The request path.
685            "successThreshold": 42, # Number of consecutive successful checks required before receiving traffic.
686            "failureThreshold": 42, # Number of consecutive failed checks required before removing traffic.
687          },
688          "runtimeMainExecutablePath": "A String", # The path or name of the app's main executable.
689          "runtimeChannel": "A String", # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
690          "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once.
691          "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # 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.
692            "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted.
693            "checkInterval": "A String", # Interval between health checks.
694            "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic.
695            "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic.
696            "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
697            "timeout": "A String", # Time before the health check is considered failed.
698            "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance.
699          },
700          "id": "A 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-".
701          "libraries": [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
702            { # Third-party Python runtime library that is required by the application.
703              "version": "A String", # Version of the library to select, or "latest".
704              "name": "A String", # Name of the library. Example: "django".
705            },
706          ],
707          "entrypoint": { # The entrypoint for the application. # The entrypoint for the application.
708            "shell": "A String", # The format should be a shell command that can be fed to bash -c.
709          },
710          "env": "A String", # App Engine execution environment for this version.Defaults to standard.
711          "diskUsageBytes": "A String", # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
712          "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics.
713            "minTotalInstances": 42, # Minimum number of running instances that should be maintained for this version.
714            "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
715            "networkUtilization": { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
716              "targetReceivedPacketsPerSecond": 42, # Target packets received per second.
717              "targetSentPacketsPerSecond": 42, # Target packets sent per second.
718              "targetReceivedBytesPerSecond": 42, # Target bytes received per second.
719              "targetSentBytesPerSecond": 42, # Target bytes sent per second.
720            },
721            "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
722            "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
723            "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version.
724            "diskUtilization": { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
725              "targetReadOpsPerSecond": 42, # Target ops read per seconds.
726              "targetWriteBytesPerSecond": 42, # Target bytes written per second.
727              "targetReadBytesPerSecond": 42, # Target bytes read per second.
728              "targetWriteOpsPerSecond": 42, # Target ops written per second.
729            },
730            "requestUtilization": { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
731              "targetConcurrentRequests": 42, # Target number of concurrent requests.
732              "targetRequestCountPerSecond": 42, # Target requests per second.
733            },
734            "coolDownPeriod": "A String", # The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.
735            "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests for this version.
736            "customMetrics": [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
737              { # Allows autoscaling based on Stackdriver metrics.
738                "filter": "A String", # Allows filtering on the metric's fields.
739                "targetType": "A String", # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
740                "singleInstanceAssignment": 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
741                "targetUtilization": 3.14, # The target value for the metric.
742                "metricName": "A String", # The name of the metric.
743              },
744            ],
745            "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
746            "standardSchedulerSettings": { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
747              "minInstances": 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
748              "targetCpuUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling.
749              "targetThroughputUtilization": 3.14, # Target throughput utilization ratio to maintain when scaling
750              "maxInstances": 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
751            },
752            "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage.
753              "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
754              "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated.
755            },
756          },
757          "envVariables": { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
758            "a_key": "A String",
759          },
760          "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
761            "memoryGb": 3.14, # Memory (GB) needed.
762            "diskGb": 3.14, # Disk size (GB) needed.
763            "cpu": 3.14, # Number of CPU cores needed.
764            "volumes": [ # User specified volumes.
765              { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
766                "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'.
767                "name": "A String", # Unique name for the volume.
768                "sizeGb": 3.14, # Volume size in gigabytes.
769              },
770            ],
771          },
772          "manualScaling": { # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
773            "instances": 42, # Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.
774          },
775          "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps.
776            "name": "A String", # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
777          },
778          "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
779            "A String",
780          ],
781          "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set.
782            "url": "A String", # URL to serve the endpoint at.
783            "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
784            "login": "A String", # Level of login required to access this resource. Defaults to optional.
785            "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
786            "script": "A String", # Path to the script from the application root directory.
787          },
788          "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features.
789            "a_key": "A String",
790          },
791          "createdBy": "A String", # Email address of the user who created this version.@OutputOnly
792          "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
793            "files": { # Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
794              "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
795                "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage.
796                "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
797                "sha1Sum": "A String", # The SHA1 hash of the file, in hex.
798              },
799            },
800            "cloudBuildOptions": { # Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly. # Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
801              "appYamlPath": "A String", # Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.
802              "cloudBuildTimeout": "A String", # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
803            },
804            "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
805              "image": "A String", # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
806            },
807            "build": { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
808              "cloudBuildId": "A String", # The Google Cloud Build id. Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9"
809            },
810            "zip": { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
811              "filesCount": 42, # An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.
812              "sourceUrl": "A String", # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
813            },
814          },
815          "livenessCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. # Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.
816            "checkInterval": "A String", # Interval between health checks.
817            "initialDelay": "A String", # The initial delay before starting to execute the checks.
818            "host": "A String", # Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
819            "timeout": "A String", # Time before the check is considered failed.
820            "path": "A String", # The request path.
821            "successThreshold": 42, # Number of consecutive successful checks required before considering the VM healthy.
822            "failureThreshold": 42, # Number of consecutive failed checks required before considering the VM unhealthy.
823          },
824          "createTime": "A String", # Time that this version was created.@OutputOnly
825          "network": { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
826            "instanceTag": "A String", # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
827            "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
828              "A String",
829            ],
830            "subnetworkName": "A String", # Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network.
831                # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
832                # If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
833                # If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
834            "name": "A String", # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
835            "sessionAffinity": True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
836          },
837          "runtimeApiVersion": "A 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/<language>/config/appref
838          "nobuildFilesRegex": "A 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.
839          "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
840          "handlers": [ # 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.
841            { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
842              "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
843              "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
844              "urlRegex": "A String", # URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
845              "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".
846                "scriptPath": "A String", # Path to the script from the application root directory.
847              },
848              "staticFiles": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. # Returns the contents of a file, such as an image, as the response.
849                "mimeType": "A String", # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension.
850                "httpHeaders": { # HTTP headers to use for all responses from these URLs.
851                  "a_key": "A String",
852                },
853                "expiration": "A String", # Time a static file served by this handler should be cached by web proxies and browsers.
854                "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
855                "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler.
856                "path": "A String", # Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
857                "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
858              },
859              "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
860                "scriptPath": "A String", # Path to the script from the application root directory.
861              },
862              "login": "A String", # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
863              "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302.
864            },
865          ],
866          "servingStatus": "A 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.
867          "runtime": "A String", # Desired runtime. Example: python27.
868        },
869    ],
870  }</pre>
871</div>
872
873<div class="method">
874    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
875  <pre>Retrieves the next page of results.
876
877Args:
878  previous_request: The request for the previous page. (required)
879  previous_response: The response from the request for the previous page. (required)
880
881Returns:
882  A request object that you can call 'execute()' on to request the next
883  page. Returns None if there are no more items in the collection.
884    </pre>
885</div>
886
887<div class="method">
888    <code class="details" id="patch">patch(appsId, servicesId, versionsId, body, updateMask=None, x__xgafv=None)</code>
889  <pre>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
890instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:
891automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
892automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
893automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)
894automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)
895automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)
896automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:
897serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible environment
898serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:
899automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
900automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
901automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
902automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
903
904Args:
905  appsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1. (required)
906  servicesId: string, Part of `name`. See documentation of `appsId`. (required)
907  versionsId: string, Part of `name`. See documentation of `appsId`. (required)
908  body: object, The request body. (required)
909    The object takes the form of:
910
911{ # A Version resource is a specific set of source code and configuration files that are deployed into a service.
912    "endpointsApiService": { # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a "service" resource in the Service Management API (https://cloud.google.com/service-management/overview). # 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.
913      "configId": "A String", # Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.
914      "rolloutStrategy": "A String", # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
915      "disableTraceSampling": True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
916      "name": "A String", # Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
917    },
918    "defaultExpiration": "A 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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
919    "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. # 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.
920      "idleTimeout": "A String", # Duration of time after the last request that an instance must wait before the instance is shut down.
921      "maxInstances": 42, # Maximum number of instances to create for this version.
922    },
923    "vm": True or False, # Whether to deploy this version in a container on a virtual machine.
924    "zones": [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
925      "A String",
926    ],
927    "instanceClass": "A String", # Instance class that is used to run this version. Valid values are:
928        # AutomaticScaling: F1, F2, F4, F4_1G
929        # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
930    "errorHandlers": [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
931      { # Custom static error page to be served when an error occurs.
932        "errorCode": "A String", # Error condition this handler applies to.
933        "mimeType": "A String", # MIME type of file. Defaults to text/html.
934        "staticFile": "A String", # Static file content to be served for this error.
935      },
936    ],
937    "versionUrl": "A String", # Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly
938    "readinessCheck": { # Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation. # 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.
939      "checkInterval": "A String", # Interval between health checks.
940      "host": "A String", # Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
941      "appStartTimeout": "A String", # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
942      "timeout": "A String", # Time before the check is considered failed.
943      "path": "A String", # The request path.
944      "successThreshold": 42, # Number of consecutive successful checks required before receiving traffic.
945      "failureThreshold": 42, # Number of consecutive failed checks required before removing traffic.
946    },
947    "runtimeMainExecutablePath": "A String", # The path or name of the app's main executable.
948    "runtimeChannel": "A String", # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
949    "threadsafe": True or False, # Whether multiple requests can be dispatched to this version at once.
950    "healthCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment. # 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.
951      "restartThreshold": 42, # Number of consecutive failed health checks required before an instance is restarted.
952      "checkInterval": "A String", # Interval between health checks.
953      "unhealthyThreshold": 42, # Number of consecutive failed health checks required before removing traffic.
954      "healthyThreshold": 42, # Number of consecutive successful health checks required before receiving traffic.
955      "host": "A String", # Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
956      "timeout": "A String", # Time before the health check is considered failed.
957      "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance.
958    },
959    "id": "A 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-".
960    "libraries": [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
961      { # Third-party Python runtime library that is required by the application.
962        "version": "A String", # Version of the library to select, or "latest".
963        "name": "A String", # Name of the library. Example: "django".
964      },
965    ],
966    "entrypoint": { # The entrypoint for the application. # The entrypoint for the application.
967      "shell": "A String", # The format should be a shell command that can be fed to bash -c.
968    },
969    "env": "A String", # App Engine execution environment for this version.Defaults to standard.
970    "diskUsageBytes": "A String", # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
971    "automaticScaling": { # Automatic scaling is based on request rate, response latencies, and other application metrics. # Automatic scaling is based on request rate, response latencies, and other application metrics.
972      "minTotalInstances": 42, # Minimum number of running instances that should be maintained for this version.
973      "minPendingLatency": "A String", # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
974      "networkUtilization": { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
975        "targetReceivedPacketsPerSecond": 42, # Target packets received per second.
976        "targetSentPacketsPerSecond": 42, # Target packets sent per second.
977        "targetReceivedBytesPerSecond": 42, # Target bytes received per second.
978        "targetSentBytesPerSecond": 42, # Target bytes sent per second.
979      },
980      "minIdleInstances": 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
981      "maxPendingLatency": "A String", # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
982      "maxIdleInstances": 42, # Maximum number of idle instances that should be maintained for this version.
983      "diskUtilization": { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
984        "targetReadOpsPerSecond": 42, # Target ops read per seconds.
985        "targetWriteBytesPerSecond": 42, # Target bytes written per second.
986        "targetReadBytesPerSecond": 42, # Target bytes read per second.
987        "targetWriteOpsPerSecond": 42, # Target ops written per second.
988      },
989      "requestUtilization": { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
990        "targetConcurrentRequests": 42, # Target number of concurrent requests.
991        "targetRequestCountPerSecond": 42, # Target requests per second.
992      },
993      "coolDownPeriod": "A String", # The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.
994      "maxTotalInstances": 42, # Maximum number of instances that should be started to handle requests for this version.
995      "customMetrics": [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
996        { # Allows autoscaling based on Stackdriver metrics.
997          "filter": "A String", # Allows filtering on the metric's fields.
998          "targetType": "A String", # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
999          "singleInstanceAssignment": 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
1000          "targetUtilization": 3.14, # The target value for the metric.
1001          "metricName": "A String", # The name of the metric.
1002        },
1003      ],
1004      "maxConcurrentRequests": 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
1005      "standardSchedulerSettings": { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
1006        "minInstances": 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
1007        "targetCpuUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling.
1008        "targetThroughputUtilization": 3.14, # Target throughput utilization ratio to maintain when scaling
1009        "maxInstances": 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
1010      },
1011      "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage.
1012        "targetUtilization": 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
1013        "aggregationWindowLength": "A String", # Period of time over which CPU utilization is calculated.
1014      },
1015    },
1016    "envVariables": { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
1017      "a_key": "A String",
1018    },
1019    "resources": { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
1020      "memoryGb": 3.14, # Memory (GB) needed.
1021      "diskGb": 3.14, # Disk size (GB) needed.
1022      "cpu": 3.14, # Number of CPU cores needed.
1023      "volumes": [ # User specified volumes.
1024        { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
1025          "volumeType": "A String", # Underlying volume type, e.g. 'tmpfs'.
1026          "name": "A String", # Unique name for the volume.
1027          "sizeGb": 3.14, # Volume size in gigabytes.
1028        },
1029      ],
1030    },
1031    "manualScaling": { # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
1032      "instances": 42, # Number of instances to assign to the service at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.
1033    },
1034    "vpcAccessConnector": { # VPC access connector specification. # Enables VPC connectivity for standard apps.
1035      "name": "A String", # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
1036    },
1037    "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
1038      "A String",
1039    ],
1040    "apiConfig": { # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers. # Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set.
1041      "url": "A String", # URL to serve the endpoint at.
1042      "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
1043      "login": "A String", # Level of login required to access this resource. Defaults to optional.
1044      "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
1045      "script": "A String", # Path to the script from the application root directory.
1046    },
1047    "betaSettings": { # Metadata settings that are supplied to this version to enable beta runtime features.
1048      "a_key": "A String",
1049    },
1050    "createdBy": "A String", # Email address of the user who created this version.@OutputOnly
1051    "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set.
1052      "files": { # Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
1053        "a_key": { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
1054          "mimeType": "A String", # The MIME type of the file.Defaults to the value from Google Cloud Storage.
1055          "sourceUrl": "A String", # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
1056          "sha1Sum": "A String", # The SHA1 hash of the file, in hex.
1057        },
1058      },
1059      "cloudBuildOptions": { # Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly. # Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
1060        "appYamlPath": "A String", # Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.
1061        "cloudBuildTimeout": "A String", # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
1062      },
1063      "container": { # Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment. # The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
1064        "image": "A String", # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"
1065      },
1066      "build": { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
1067        "cloudBuildId": "A String", # The Google Cloud Build id. Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9"
1068      },
1069      "zip": { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
1070        "filesCount": 42, # An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.
1071        "sourceUrl": "A String", # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
1072      },
1073    },
1074    "livenessCheck": { # Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. # Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.
1075      "checkInterval": "A String", # Interval between health checks.
1076      "initialDelay": "A String", # The initial delay before starting to execute the checks.
1077      "host": "A String", # Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
1078      "timeout": "A String", # Time before the check is considered failed.
1079      "path": "A String", # The request path.
1080      "successThreshold": 42, # Number of consecutive successful checks required before considering the VM healthy.
1081      "failureThreshold": 42, # Number of consecutive failed checks required before considering the VM unhealthy.
1082    },
1083    "createTime": "A String", # Time that this version was created.@OutputOnly
1084    "network": { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
1085      "instanceTag": "A String", # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
1086      "forwardedPorts": [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
1087        "A String",
1088      ],
1089      "subnetworkName": "A String", # Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network.
1090          # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
1091          # If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network.
1092          # If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
1093      "name": "A String", # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
1094      "sessionAffinity": True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
1095    },
1096    "runtimeApiVersion": "A 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/<language>/config/appref
1097    "nobuildFilesRegex": "A 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.
1098    "name": "A String", # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
1099    "handlers": [ # 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.
1100      { # URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
1101        "securityLevel": "A String", # Security (HTTPS) enforcement for this URL.
1102        "authFailAction": "A String", # Action to take when users access resources that require authentication. Defaults to redirect.
1103        "urlRegex": "A String", # URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
1104        "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".
1105          "scriptPath": "A String", # Path to the script from the application root directory.
1106        },
1107        "staticFiles": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. # Returns the contents of a file, such as an image, as the response.
1108          "mimeType": "A String", # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension.
1109          "httpHeaders": { # HTTP headers to use for all responses from these URLs.
1110            "a_key": "A String",
1111          },
1112          "expiration": "A String", # Time a static file served by this handler should be cached by web proxies and browsers.
1113          "requireMatchingFile": True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
1114          "uploadPathRegex": "A String", # Regular expression that matches the file paths for all files that should be referenced by this handler.
1115          "path": "A String", # Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
1116          "applicationReadable": True or False, # Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
1117        },
1118        "apiEndpoint": { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
1119          "scriptPath": "A String", # Path to the script from the application root directory.
1120        },
1121        "login": "A String", # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
1122        "redirectHttpResponseCode": "A String", # 30x code to use when performing redirects for the secure field. Defaults to 302.
1123      },
1124    ],
1125    "servingStatus": "A 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.
1126    "runtime": "A String", # Desired runtime. Example: python27.
1127  }
1128
1129  updateMask: string, Standard field mask for the set of fields to be updated.
1130  x__xgafv: string, V1 error format.
1131    Allowed values
1132      1 - v1 error format
1133      2 - v2 error format
1134
1135Returns:
1136  An object of the form:
1137
1138    { # This resource represents a long-running operation that is the result of a network API call.
1139    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1140      "a_key": "", # Properties of the object. Contains field @type with type URL.
1141    },
1142    "error": { # The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1143      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1144      "code": 42, # The status code, which should be an enum value of google.rpc.Code.
1145      "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1146        {
1147          "a_key": "", # Properties of the object. Contains field @type with type URL.
1148        },
1149      ],
1150    },
1151    "done": True or False, # If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
1152    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
1153      "a_key": "", # Properties of the object. Contains field @type with type URL.
1154    },
1155    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
1156  }</pre>
1157</div>
1158
1159</body></html>