blob: e6f66eb345d7efe2904978393518569411e2038e [file] [log] [blame]
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001<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
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="appengine_v1.html">App Engine Admin API</a> . <a href="appengine_v1.apps.html">apps</a> . <a href="appengine_v1.apps.services.html">services</a> . <a href="appengine_v1.apps.services.versions.html">versions</a></h1>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="appengine_v1.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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070086 <code><a href="#create">create(appsId, servicesId, body=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070087<p class="firstline">Deploys code and resource files to a new version.</p>
88<p class="toc_element">
89 <code><a href="#delete">delete(appsId, servicesId, versionsId, x__xgafv=None)</a></code></p>
90<p class="firstline">Deletes an existing Version resource.</p>
91<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070092 <code><a href="#get">get(appsId, servicesId, versionsId, view=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -080093<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>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070094<p class="toc_element">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080095 <code><a href="#list">list(appsId, servicesId, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070096<p class="firstline">Lists the versions of a service.</p>
97<p class="toc_element">
98 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
99<p class="firstline">Retrieves the next page of results.</p>
100<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 <code><a href="#patch">patch(appsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700102<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 instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)</p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700103<h3>Method Details</h3>
104<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107</div>
108
109<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 <code class="details" id="create">create(appsId, servicesId, body=None, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700111 <pre>Deploys code and resource files to a new version.
112
113Args:
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800114 appsId: string, Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default. (required)
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700115 servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700116 body: object, The request body.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700117 The object takes the form of:
118
119{ # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800120 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
121 &quot;a_key&quot;: &quot;A String&quot;,
122 },
123 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
124 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
125 &quot;network&quot;: { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
126 &quot;name&quot;: &quot;A String&quot;, # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
127 &quot;subnetworkName&quot;: &quot;A String&quot;, # 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. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. 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. 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.
128 &quot;forwardedPorts&quot;: [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800129 &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800130 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800131 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
132 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
133 },
134 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
135 &quot;a_key&quot;: &quot;A String&quot;,
136 },
137 &quot;basicScaling&quot;: { # 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.
138 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
139 &quot;idleTimeout&quot;: &quot;A String&quot;, # Duration of time after the last request that an instance must wait before the instance is shut down.
140 },
141 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
142 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
143 },
144 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
145 &quot;A String&quot;,
146 ],
147 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
148 &quot;readinessCheck&quot;: { # 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.
149 &quot;appStartTimeout&quot;: &quot;A String&quot;, # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
150 &quot;path&quot;: &quot;A String&quot;, # The request path.
151 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
152 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
153 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
154 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
155 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
156 },
157 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
158 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
159 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
160 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
161 },
162 &quot;id&quot;: &quot;A String&quot;, # Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: &quot;default&quot;, &quot;latest&quot;, and any name with the prefix &quot;ah-&quot;.
163 &quot;nobuildFilesRegex&quot;: &quot;A String&quot;, # 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.
164 &quot;healthCheck&quot;: { # 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.
165 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
166 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
167 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
168 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
169 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
170 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
171 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
172 },
173 &quot;handlers&quot;: [ # 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.
174 { # 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.
175 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
176 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
177 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
178 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800179 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800180 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800181 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800182 &quot;urlRegex&quot;: &quot;A String&quot;, # 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.
183 &quot;script&quot;: { # 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 &quot;script&quot;: &quot;auto&quot;.
184 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
185 },
186 &quot;staticFiles&quot;: { # 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.
187 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
188 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
189 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file&#x27;s filename extension.
190 &quot;path&quot;: &quot;A String&quot;, # 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.
191 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
192 &quot;applicationReadable&quot;: 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.
193 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
194 &quot;a_key&quot;: &quot;A String&quot;,
195 },
196 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800197 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800198 ],
199 &quot;automaticScaling&quot;: { # 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. Instances are dynamically created and destroyed as needed in order to handle traffic.
200 &quot;maxConcurrentRequests&quot;: 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
201 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
202 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
203 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
204 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
205 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
206 },
207 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
208 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
209 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
210 },
211 &quot;minIdleInstances&quot;: 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
212 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
213 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
214 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
215 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
216 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
217 },
218 &quot;minPendingLatency&quot;: &quot;A String&quot;, # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
219 &quot;coolDownPeriod&quot;: &quot;A String&quot;, # 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.
220 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
221 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
222 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
223 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
224 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
225 },
226 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
227 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
228 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
229 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
230 },
231 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
232 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
233 &quot;maxPendingLatency&quot;: &quot;A String&quot;, # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
234 },
235 &quot;livenessCheck&quot;: { # 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.
236 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
237 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
238 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
239 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
240 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
241 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
242 &quot;path&quot;: &quot;A String&quot;, # The request path.
243 },
244 &quot;deployment&quot;: { # 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.
245 &quot;container&quot;: { # 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.
246 &quot;image&quot;: &quot;A String&quot;, # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: &quot;gcr.io/my-project/image:tag&quot; or &quot;gcr.io/my-project/image@digest&quot;
247 },
248 &quot;files&quot;: { # 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.
249 &quot;a_key&quot;: { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
250 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
251 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
252 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
253 },
254 },
255 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
256 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
257 &quot;filesCount&quot;: 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.
258 },
259 &quot;cloudBuildOptions&quot;: { # 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 &quot;appYamlPath&quot;: &quot;A String&quot;, # 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 &quot;cloudBuildTimeout&quot;: &quot;A String&quot;, # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
262 },
263 },
264 &quot;servingStatus&quot;: &quot;A String&quot;, # 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.
265 &quot;endpointsApiService&quot;: { # 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 &quot;service&quot; 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.
266 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
267 &quot;configId&quot;: &quot;A String&quot;, # Endpoints service configuration ID as specified by the Service Management API. For example &quot;2016-09-19r1&quot;.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.
268 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
269 &quot;name&quot;: &quot;A String&quot;, # Endpoints service name which is the name of the &quot;service&quot; resource in the Service Management API. For example &quot;myapi.endpoints.myproject.cloud.goog&quot;
270 },
271 &quot;runtimeApiVersion&quot;: &quot;A String&quot;, # The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref
272 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
273 &quot;kmsKeyReference&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
274 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
275 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
276 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
277 &quot;volumes&quot;: [ # User specified volumes.
278 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
279 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
280 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
281 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800282 },
283 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800284 },
285 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
286 &quot;apiConfig&quot;: { # 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.
287 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
288 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
289 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
290 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
291 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
292 },
293 &quot;manualScaling&quot;: { # 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. Manually scaled versions are sometimes referred to as &quot;backends&quot;.
294 &quot;instances&quot;: 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.
295 },
296 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
297 &quot;libraries&quot;: [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
298 { # Third-party Python runtime library that is required by the application.
299 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
300 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
301 },
302 ],
303 &quot;diskUsageBytes&quot;: &quot;A String&quot;, # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
304 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
305 { # Custom static error page to be served when an error occurs.
306 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
307 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
308 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
309 },
310 ],
311 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
312 &quot;defaultExpiration&quot;: &quot;A String&quot;, # Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
313 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
314 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
315 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
316 &quot;A String&quot;,
317 ],
318 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
319 &quot;a_key&quot;: &quot;A String&quot;,
320 },
321 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
322}
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700323
324 x__xgafv: string, V1 error format.
325 Allowed values
326 1 - v1 error format
327 2 - v2 error format
328
329Returns:
330 An object of the form:
331
332 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800333 &quot;done&quot;: 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800334 &quot;response&quot;: { # 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.
335 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
336 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800337 &quot;name&quot;: &quot;A String&quot;, # 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}.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800338 &quot;metadata&quot;: { # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700339 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
340 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700341 &quot;error&quot;: { # 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800342 &quot;message&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700343 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
344 {
345 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
346 },
347 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800348 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700349 },
350 }</pre>
351</div>
352
353<div class="method">
354 <code class="details" id="delete">delete(appsId, servicesId, versionsId, x__xgafv=None)</code>
355 <pre>Deletes an existing Version resource.
356
357Args:
358 appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
359 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
360 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
361 x__xgafv: string, V1 error format.
362 Allowed values
363 1 - v1 error format
364 2 - v2 error format
365
366Returns:
367 An object of the form:
368
369 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800370 &quot;done&quot;: 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800371 &quot;response&quot;: { # 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.
372 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
373 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800374 &quot;name&quot;: &quot;A String&quot;, # 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}.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800375 &quot;metadata&quot;: { # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700376 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
377 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700378 &quot;error&quot;: { # 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800379 &quot;message&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700380 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
381 {
382 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
383 },
384 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800385 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700386 },
387 }</pre>
388</div>
389
390<div class="method">
391 <code class="details" id="get">get(appsId, servicesId, versionsId, view=None, x__xgafv=None)</code>
392 <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.
393
394Args:
395 appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
396 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
397 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
398 view: string, Controls the set of fields returned in the Get response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700399 Allowed values
400 BASIC - Basic version information including scaling and inbound services, but not detailed deployment information.
401 FULL - The information from BASIC, plus detailed information about the deployment. This format is required when creating resources, but is not returned in Get or List by default.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700402 x__xgafv: string, V1 error format.
403 Allowed values
404 1 - v1 error format
405 2 - v2 error format
406
407Returns:
408 An object of the form:
409
410 { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800411 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
412 &quot;a_key&quot;: &quot;A String&quot;,
413 },
414 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
415 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
416 &quot;network&quot;: { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
417 &quot;name&quot;: &quot;A String&quot;, # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
418 &quot;subnetworkName&quot;: &quot;A String&quot;, # 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. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. 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. 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.
419 &quot;forwardedPorts&quot;: [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800420 &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800421 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800422 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
423 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
424 },
425 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
426 &quot;a_key&quot;: &quot;A String&quot;,
427 },
428 &quot;basicScaling&quot;: { # 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.
429 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
430 &quot;idleTimeout&quot;: &quot;A String&quot;, # Duration of time after the last request that an instance must wait before the instance is shut down.
431 },
432 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
433 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
434 },
435 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
436 &quot;A String&quot;,
437 ],
438 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
439 &quot;readinessCheck&quot;: { # 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 &quot;appStartTimeout&quot;: &quot;A String&quot;, # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
441 &quot;path&quot;: &quot;A String&quot;, # The request path.
442 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
443 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
444 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
445 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
446 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
447 },
448 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
449 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
450 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
451 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
452 },
453 &quot;id&quot;: &quot;A String&quot;, # Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: &quot;default&quot;, &quot;latest&quot;, and any name with the prefix &quot;ah-&quot;.
454 &quot;nobuildFilesRegex&quot;: &quot;A String&quot;, # 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.
455 &quot;healthCheck&quot;: { # 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.
456 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
457 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
458 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
459 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
460 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
461 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
462 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
463 },
464 &quot;handlers&quot;: [ # 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.
465 { # 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.
466 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
467 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
468 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
469 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800470 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800471 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800472 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800473 &quot;urlRegex&quot;: &quot;A String&quot;, # 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.
474 &quot;script&quot;: { # 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 &quot;script&quot;: &quot;auto&quot;.
475 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
476 },
477 &quot;staticFiles&quot;: { # 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.
478 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
479 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
480 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file&#x27;s filename extension.
481 &quot;path&quot;: &quot;A String&quot;, # 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.
482 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
483 &quot;applicationReadable&quot;: 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.
484 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
485 &quot;a_key&quot;: &quot;A String&quot;,
486 },
487 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800488 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800489 ],
490 &quot;automaticScaling&quot;: { # 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. Instances are dynamically created and destroyed as needed in order to handle traffic.
491 &quot;maxConcurrentRequests&quot;: 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
492 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
493 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
494 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
495 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
496 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
497 },
498 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
499 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
500 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
501 },
502 &quot;minIdleInstances&quot;: 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
503 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
504 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
505 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
506 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
507 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
508 },
509 &quot;minPendingLatency&quot;: &quot;A String&quot;, # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
510 &quot;coolDownPeriod&quot;: &quot;A String&quot;, # 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.
511 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
512 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
513 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
514 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
515 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
516 },
517 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
518 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
519 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
520 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
521 },
522 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
523 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
524 &quot;maxPendingLatency&quot;: &quot;A String&quot;, # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
525 },
526 &quot;livenessCheck&quot;: { # 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.
527 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
528 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
529 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
530 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
531 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
532 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
533 &quot;path&quot;: &quot;A String&quot;, # The request path.
534 },
535 &quot;deployment&quot;: { # 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.
536 &quot;container&quot;: { # 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.
537 &quot;image&quot;: &quot;A String&quot;, # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: &quot;gcr.io/my-project/image:tag&quot; or &quot;gcr.io/my-project/image@digest&quot;
538 },
539 &quot;files&quot;: { # 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.
540 &quot;a_key&quot;: { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
541 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
542 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
543 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
544 },
545 },
546 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
547 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
548 &quot;filesCount&quot;: 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.
549 },
550 &quot;cloudBuildOptions&quot;: { # 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.
551 &quot;appYamlPath&quot;: &quot;A String&quot;, # 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.
552 &quot;cloudBuildTimeout&quot;: &quot;A String&quot;, # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
553 },
554 },
555 &quot;servingStatus&quot;: &quot;A String&quot;, # 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.
556 &quot;endpointsApiService&quot;: { # 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 &quot;service&quot; 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.
557 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
558 &quot;configId&quot;: &quot;A String&quot;, # Endpoints service configuration ID as specified by the Service Management API. For example &quot;2016-09-19r1&quot;.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.
559 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
560 &quot;name&quot;: &quot;A String&quot;, # Endpoints service name which is the name of the &quot;service&quot; resource in the Service Management API. For example &quot;myapi.endpoints.myproject.cloud.goog&quot;
561 },
562 &quot;runtimeApiVersion&quot;: &quot;A String&quot;, # The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref
563 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
564 &quot;kmsKeyReference&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
565 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
566 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
567 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
568 &quot;volumes&quot;: [ # User specified volumes.
569 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
570 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
571 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
572 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800573 },
574 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800575 },
576 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
577 &quot;apiConfig&quot;: { # 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.
578 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
579 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
580 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
581 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
582 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
583 },
584 &quot;manualScaling&quot;: { # 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. Manually scaled versions are sometimes referred to as &quot;backends&quot;.
585 &quot;instances&quot;: 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.
586 },
587 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
588 &quot;libraries&quot;: [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
589 { # Third-party Python runtime library that is required by the application.
590 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
591 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
592 },
593 ],
594 &quot;diskUsageBytes&quot;: &quot;A String&quot;, # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
595 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
596 { # Custom static error page to be served when an error occurs.
597 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
598 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
599 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
600 },
601 ],
602 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
603 &quot;defaultExpiration&quot;: &quot;A String&quot;, # Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
604 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
605 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
606 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
607 &quot;A String&quot;,
608 ],
609 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
610 &quot;a_key&quot;: &quot;A String&quot;,
611 },
612 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
613 }</pre>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700614</div>
615
616<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800617 <code class="details" id="list">list(appsId, servicesId, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700618 <pre>Lists the versions of a service.
619
620Args:
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800621 appsId: string, Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default. (required)
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700622 servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800623 pageSize: integer, Maximum results to return per page.
624 pageToken: string, Continuation token for fetching the next page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700625 view: string, Controls the set of fields returned in the List response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700626 Allowed values
627 BASIC - Basic version information including scaling and inbound services, but not detailed deployment information.
628 FULL - The information from BASIC, plus detailed information about the deployment. This format is required when creating resources, but is not returned in Get or List by default.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700629 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400630 Allowed values
631 1 - v1 error format
632 2 - v2 error format
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700633
634Returns:
635 An object of the form:
636
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800637 { # Response message for Versions.ListVersions.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800638 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700639 &quot;versions&quot;: [ # The versions belonging to the requested service.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700640 { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800641 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
642 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800643 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800644 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
645 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
646 &quot;network&quot;: { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
647 &quot;name&quot;: &quot;A String&quot;, # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
648 &quot;subnetworkName&quot;: &quot;A String&quot;, # 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. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. 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. 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.
649 &quot;forwardedPorts&quot;: [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
650 &quot;A String&quot;,
651 ],
652 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
653 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
654 },
655 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
656 &quot;a_key&quot;: &quot;A String&quot;,
657 },
658 &quot;basicScaling&quot;: { # 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.
659 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
660 &quot;idleTimeout&quot;: &quot;A String&quot;, # Duration of time after the last request that an instance must wait before the instance is shut down.
661 },
662 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
663 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
664 },
665 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
666 &quot;A String&quot;,
667 ],
668 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
669 &quot;readinessCheck&quot;: { # 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.
670 &quot;appStartTimeout&quot;: &quot;A String&quot;, # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
671 &quot;path&quot;: &quot;A String&quot;, # The request path.
672 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
673 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
674 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
675 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
676 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
677 },
678 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
679 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
680 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
681 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
682 },
683 &quot;id&quot;: &quot;A String&quot;, # Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: &quot;default&quot;, &quot;latest&quot;, and any name with the prefix &quot;ah-&quot;.
684 &quot;nobuildFilesRegex&quot;: &quot;A String&quot;, # 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.
685 &quot;healthCheck&quot;: { # 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.
686 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
687 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
688 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
689 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
690 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
691 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
692 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
693 },
694 &quot;handlers&quot;: [ # 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.
695 { # 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.
696 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
697 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
698 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
699 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
700 },
701 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
702 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
703 &quot;urlRegex&quot;: &quot;A String&quot;, # 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.
704 &quot;script&quot;: { # 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 &quot;script&quot;: &quot;auto&quot;.
705 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
706 },
707 &quot;staticFiles&quot;: { # 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.
708 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
709 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
710 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file&#x27;s filename extension.
711 &quot;path&quot;: &quot;A String&quot;, # 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.
712 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
713 &quot;applicationReadable&quot;: 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.
714 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
715 &quot;a_key&quot;: &quot;A String&quot;,
716 },
717 },
718 },
719 ],
720 &quot;automaticScaling&quot;: { # 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. Instances are dynamically created and destroyed as needed in order to handle traffic.
721 &quot;maxConcurrentRequests&quot;: 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
722 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
723 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
724 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
725 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
726 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
727 },
728 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
729 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
730 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
731 },
732 &quot;minIdleInstances&quot;: 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
733 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
734 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
735 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
736 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
737 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
738 },
739 &quot;minPendingLatency&quot;: &quot;A String&quot;, # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
740 &quot;coolDownPeriod&quot;: &quot;A String&quot;, # 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.
741 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
742 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
743 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
744 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
745 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
746 },
747 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
748 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
749 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
750 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
751 },
752 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
753 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
754 &quot;maxPendingLatency&quot;: &quot;A String&quot;, # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
755 },
756 &quot;livenessCheck&quot;: { # 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.
757 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
758 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
759 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
760 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
761 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
762 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
763 &quot;path&quot;: &quot;A String&quot;, # The request path.
764 },
765 &quot;deployment&quot;: { # 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.
766 &quot;container&quot;: { # 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.
767 &quot;image&quot;: &quot;A String&quot;, # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: &quot;gcr.io/my-project/image:tag&quot; or &quot;gcr.io/my-project/image@digest&quot;
768 },
769 &quot;files&quot;: { # 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.
770 &quot;a_key&quot;: { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
771 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
772 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
773 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
774 },
775 },
776 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
777 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
778 &quot;filesCount&quot;: 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.
779 },
780 &quot;cloudBuildOptions&quot;: { # 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.
781 &quot;appYamlPath&quot;: &quot;A String&quot;, # 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.
782 &quot;cloudBuildTimeout&quot;: &quot;A String&quot;, # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
783 },
784 },
785 &quot;servingStatus&quot;: &quot;A String&quot;, # 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.
786 &quot;endpointsApiService&quot;: { # 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 &quot;service&quot; 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.
787 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
788 &quot;configId&quot;: &quot;A String&quot;, # Endpoints service configuration ID as specified by the Service Management API. For example &quot;2016-09-19r1&quot;.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.
789 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
790 &quot;name&quot;: &quot;A String&quot;, # Endpoints service name which is the name of the &quot;service&quot; resource in the Service Management API. For example &quot;myapi.endpoints.myproject.cloud.goog&quot;
791 },
792 &quot;runtimeApiVersion&quot;: &quot;A String&quot;, # The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref
793 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
794 &quot;kmsKeyReference&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
795 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
796 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
797 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
798 &quot;volumes&quot;: [ # User specified volumes.
799 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
800 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
801 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
802 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
803 },
804 ],
805 },
806 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
807 &quot;apiConfig&quot;: { # 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.
808 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
809 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
810 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
811 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
812 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
813 },
814 &quot;manualScaling&quot;: { # 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. Manually scaled versions are sometimes referred to as &quot;backends&quot;.
815 &quot;instances&quot;: 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.
816 },
817 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
818 &quot;libraries&quot;: [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
819 { # Third-party Python runtime library that is required by the application.
820 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
821 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
822 },
823 ],
824 &quot;diskUsageBytes&quot;: &quot;A String&quot;, # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
825 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
826 { # Custom static error page to be served when an error occurs.
827 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
828 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
829 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
830 },
831 ],
832 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
833 &quot;defaultExpiration&quot;: &quot;A String&quot;, # Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
834 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
835 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
836 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
837 &quot;A String&quot;,
838 ],
839 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
840 &quot;a_key&quot;: &quot;A String&quot;,
841 },
842 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
843 },
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700844 ],
845 }</pre>
846</div>
847
848<div class="method">
849 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
850 <pre>Retrieves the next page of results.
851
852Args:
853 previous_request: The request for the previous page. (required)
854 previous_response: The response from the request for the previous page. (required)
855
856Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700857 A request object that you can call &#x27;execute()&#x27; on to request the next
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700858 page. Returns None if there are no more items in the collection.
859 </pre>
860</div>
861
862<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700863 <code class="details" id="patch">patch(appsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700864 <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 instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700865
866Args:
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800867 appsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1. (required)
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700868 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
869 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700870 body: object, The request body.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700871 The object takes the form of:
872
873{ # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800874 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
875 &quot;a_key&quot;: &quot;A String&quot;,
876 },
877 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
878 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
879 &quot;network&quot;: { # Extra network settings. Only applicable in the App Engine flexible environment. # Extra network settings. Only applicable in the App Engine flexible environment.
880 &quot;name&quot;: &quot;A String&quot;, # Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
881 &quot;subnetworkName&quot;: &quot;A String&quot;, # 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. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. 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. 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.
882 &quot;forwardedPorts&quot;: [ # List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800883 &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800884 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800885 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
886 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
887 },
888 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
889 &quot;a_key&quot;: &quot;A String&quot;,
890 },
891 &quot;basicScaling&quot;: { # 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.
892 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
893 &quot;idleTimeout&quot;: &quot;A String&quot;, # Duration of time after the last request that an instance must wait before the instance is shut down.
894 },
895 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
896 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
897 },
898 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
899 &quot;A String&quot;,
900 ],
901 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
902 &quot;readinessCheck&quot;: { # 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.
903 &quot;appStartTimeout&quot;: &quot;A String&quot;, # A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
904 &quot;path&quot;: &quot;A String&quot;, # The request path.
905 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
906 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
907 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
908 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
909 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
910 },
911 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
912 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
913 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
914 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
915 },
916 &quot;id&quot;: &quot;A String&quot;, # Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: &quot;default&quot;, &quot;latest&quot;, and any name with the prefix &quot;ah-&quot;.
917 &quot;nobuildFilesRegex&quot;: &quot;A String&quot;, # 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.
918 &quot;healthCheck&quot;: { # 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.
919 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
920 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
921 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
922 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
923 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
924 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
925 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
926 },
927 &quot;handlers&quot;: [ # 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.
928 { # 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.
929 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
930 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
931 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
932 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800933 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800934 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800935 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800936 &quot;urlRegex&quot;: &quot;A String&quot;, # 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.
937 &quot;script&quot;: { # 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 &quot;script&quot;: &quot;auto&quot;.
938 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
939 },
940 &quot;staticFiles&quot;: { # 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.
941 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
942 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
943 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file&#x27;s filename extension.
944 &quot;path&quot;: &quot;A String&quot;, # 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.
945 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
946 &quot;applicationReadable&quot;: 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.
947 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
948 &quot;a_key&quot;: &quot;A String&quot;,
949 },
950 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800951 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800952 ],
953 &quot;automaticScaling&quot;: { # 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. Instances are dynamically created and destroyed as needed in order to handle traffic.
954 &quot;maxConcurrentRequests&quot;: 42, # Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.
955 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
956 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
957 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
958 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
959 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
960 },
961 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
962 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
963 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
964 },
965 &quot;minIdleInstances&quot;: 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
966 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
967 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
968 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
969 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
970 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
971 },
972 &quot;minPendingLatency&quot;: &quot;A String&quot;, # Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
973 &quot;coolDownPeriod&quot;: &quot;A String&quot;, # 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.
974 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
975 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
976 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
977 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
978 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
979 },
980 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
981 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
982 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
983 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
984 },
985 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
986 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
987 &quot;maxPendingLatency&quot;: &quot;A String&quot;, # Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
988 },
989 &quot;livenessCheck&quot;: { # 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.
990 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
991 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
992 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
993 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
994 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
995 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
996 &quot;path&quot;: &quot;A String&quot;, # The request path.
997 },
998 &quot;deployment&quot;: { # 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.
999 &quot;container&quot;: { # 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.
1000 &quot;image&quot;: &quot;A String&quot;, # URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: &quot;gcr.io/my-project/image:tag&quot; or &quot;gcr.io/my-project/image@digest&quot;
1001 },
1002 &quot;files&quot;: { # 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.
1003 &quot;a_key&quot;: { # Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
1004 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
1005 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
1006 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
1007 },
1008 },
1009 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
1010 &quot;sourceUrl&quot;: &quot;A String&quot;, # URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form &#x27;http(s)://storage.googleapis.com//&#x27;.
1011 &quot;filesCount&quot;: 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.
1012 },
1013 &quot;cloudBuildOptions&quot;: { # 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.
1014 &quot;appYamlPath&quot;: &quot;A String&quot;, # 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.
1015 &quot;cloudBuildTimeout&quot;: &quot;A String&quot;, # The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.
1016 },
1017 },
1018 &quot;servingStatus&quot;: &quot;A String&quot;, # 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.
1019 &quot;endpointsApiService&quot;: { # 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 &quot;service&quot; 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.
1020 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
1021 &quot;configId&quot;: &quot;A String&quot;, # Endpoints service configuration ID as specified by the Service Management API. For example &quot;2016-09-19r1&quot;.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.
1022 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
1023 &quot;name&quot;: &quot;A String&quot;, # Endpoints service name which is the name of the &quot;service&quot; resource in the Service Management API. For example &quot;myapi.endpoints.myproject.cloud.goog&quot;
1024 },
1025 &quot;runtimeApiVersion&quot;: &quot;A String&quot;, # The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref
1026 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
1027 &quot;kmsKeyReference&quot;: &quot;A String&quot;, # The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk
1028 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
1029 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
1030 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
1031 &quot;volumes&quot;: [ # User specified volumes.
1032 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
1033 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
1034 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
1035 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001036 },
1037 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001038 },
1039 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
1040 &quot;apiConfig&quot;: { # 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 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
1042 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
1043 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
1044 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
1045 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
1046 },
1047 &quot;manualScaling&quot;: { # 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. Manually scaled versions are sometimes referred to as &quot;backends&quot;.
1048 &quot;instances&quot;: 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.
1049 },
1050 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
1051 &quot;libraries&quot;: [ # Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
1052 { # Third-party Python runtime library that is required by the application.
1053 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
1054 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
1055 },
1056 ],
1057 &quot;diskUsageBytes&quot;: &quot;A String&quot;, # Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly
1058 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
1059 { # Custom static error page to be served when an error occurs.
1060 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
1061 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
1062 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
1063 },
1064 ],
1065 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
1066 &quot;defaultExpiration&quot;: &quot;A String&quot;, # Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
1067 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
1068 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
1069 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
1070 &quot;A String&quot;,
1071 ],
1072 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
1073 &quot;a_key&quot;: &quot;A String&quot;,
1074 },
1075 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
1076}
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001077
1078 updateMask: string, Standard field mask for the set of fields to be updated.
1079 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001080 Allowed values
1081 1 - v1 error format
1082 2 - v2 error format
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001083
1084Returns:
1085 An object of the form:
1086
1087 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001088 &quot;done&quot;: 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001089 &quot;response&quot;: { # 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.
1090 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1091 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001092 &quot;name&quot;: &quot;A String&quot;, # 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}.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001093 &quot;metadata&quot;: { # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001094 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1095 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001096 &quot;error&quot;: { # 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001097 &quot;message&quot;: &quot;A String&quot;, # 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.
Bu Sun Kim65020912020-05-20 12:08:20 -07001098 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001099 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001100 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001101 },
1102 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001103 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -07001104 },
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001105 }</pre>
1106</div>
1107
1108</body></html>