blob: b6903f7a1dc0bc4cba8aa44f73587305496b84a9 [file] [log] [blame]
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001<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_v1beta.html">App Engine Admin API</a> . <a href="appengine_v1beta.apps.html">apps</a> . <a href="appengine_v1beta.apps.services.html">services</a> . <a href="appengine_v1beta.apps.services.versions.html">versions</a></h1>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="appengine_v1beta.apps.services.versions.instances.html">instances()</a></code>
79</p>
80<p class="firstline">Returns the instances Resource.</p>
81
82<p class="toc_element">
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>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040087<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>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040093<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>
94<p class="toc_element">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -080095 <code><a href="#list">list(appsId, servicesId, pageToken=None, view=None, pageSize=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040096<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/v1beta/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/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/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/v1beta/apps.services.versions#manualscaling)</p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400103<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>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400111 <pre>Deploys code and resource files to a new version.
112
113Args:
114 appsId: string, Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default. (required)
115 servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700116 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400117 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 Botc2228be2020-11-24 15:48:03 -0800120 &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
121 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
122 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700123 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700124 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800125 &quot;path&quot;: &quot;A String&quot;, # The request path.
126 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
127 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
128 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700129 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
130 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
131 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800133 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
134 &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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
135 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
136 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
Bu Sun Kim65020912020-05-20 12:08:20 -0700137 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700138 &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.
139 { # 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800140 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
141 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700142 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
143 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
144 },
145 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800146 &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.
147 &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;.
148 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
149 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700150 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700151 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700152 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
153 &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.
154 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
155 &quot;a_key&quot;: &quot;A String&quot;,
156 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800157 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700158 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800159 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700160 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800161 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700162 },
163 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800164 &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.
165 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
166 &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.
167 &quot;A String&quot;,
168 ],
169 &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.
170 &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.
171 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
172 },
173 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
174 &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
175 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700176 &quot;A String&quot;,
177 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800178 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
179 &quot;volumes&quot;: [ # User specified volumes.
180 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
181 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
182 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
183 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700184 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800185 ],
186 &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
187 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
188 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
189 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700190 },
191 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700192 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800193 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
194 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
195 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
196 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
197 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700198 },
199 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800200 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700201 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
202 { # Allows autoscaling based on Stackdriver metrics.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700203 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700204 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800205 &quot;singleInstanceAssignment&quot;: 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
206 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700207 &quot;targetType&quot;: &quot;A String&quot;, # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700208 },
209 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800210 &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.
211 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
212 &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.
213 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
214 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
215 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700216 },
217 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
218 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
219 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700220 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800221 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700222 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700223 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700224 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800225 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
226 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700227 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800228 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
229 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
230 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
231 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
232 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
233 },
234 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700235 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800236 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
237 &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;.
238 &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.
239 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
240 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
241 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
242 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
243 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
244 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
245 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700246 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800247 &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.
248 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
249 &quot;A String&quot;,
250 ],
251 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
252 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700253 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700254 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
255 { # Custom static error page to be served when an error occurs.
256 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
257 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
258 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
259 },
260 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800261 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
262 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
263 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
264 &quot;a_key&quot;: &quot;A String&quot;,
265 },
266 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
267 &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.
268 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
269 &quot;path&quot;: &quot;A String&quot;, # The request path.
270 &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.
271 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
272 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
273 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
274 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
275 },
276 &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.
277 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
278 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
279 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
280 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
281 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
282 },
283 &quot;appEngineApis&quot;: True or False, # app_engine_apis allows Second Generation runtimes to access the App Engine APIs.
284 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
285 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700286 &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;.
287 &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.
288 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800289 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
290 &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.
291 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
292 &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.
293 },
294 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700295 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700296 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
297 &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;
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800298 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700299 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
300 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700301 &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.
302 { # Third-party Python runtime library that is required by the application.
303 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
304 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
305 },
306 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800307 &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.
308 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
309 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700310 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800311 &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.
312 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
313 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
314 },
315 &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.
316 &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.
317 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
318 &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;.
319 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
320 },
321 },
322 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
323 &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;.
324 &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.
325 },
326 &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.
327 &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;
328 },
329 &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.
330 &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.
331 &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.
332 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700333 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800334 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700335 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400336
337 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400338 Allowed values
339 1 - v1 error format
340 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400341
342Returns:
343 An object of the form:
344
345 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800346 &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.
347 &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.
348 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
349 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700350 &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.
351 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
352 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800353 &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}.
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 &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 Botc2228be2020-11-24 15:48:03 -0800355 &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 -0700356 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400357 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700358 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400359 },
360 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800361 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400362 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400363 }</pre>
364</div>
365
366<div class="method">
367 <code class="details" id="delete">delete(appsId, servicesId, versionsId, x__xgafv=None)</code>
368 <pre>Deletes an existing Version resource.
369
370Args:
371 appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
372 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
373 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
374 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400375 Allowed values
376 1 - v1 error format
377 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400378
379Returns:
380 An object of the form:
381
382 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800383 &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.
384 &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.
385 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
386 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700387 &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.
388 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
389 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800390 &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}.
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 &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 Botc2228be2020-11-24 15:48:03 -0800392 &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 -0700393 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400394 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700395 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400396 },
397 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800398 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400399 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400400 }</pre>
401</div>
402
403<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700404 <code class="details" id="get">get(appsId, servicesId, versionsId, view=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400405 <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.
406
407Args:
408 appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
409 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
410 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700411 view: string, Controls the set of fields returned in the Get response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700412 Allowed values
413 BASIC - Basic version information including scaling and inbound services, but not detailed deployment information.
414 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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400415 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400416 Allowed values
417 1 - v1 error format
418 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400419
420Returns:
421 An object of the form:
422
423 { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800424 &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
425 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
426 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700427 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700428 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800429 &quot;path&quot;: &quot;A String&quot;, # The request path.
430 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
431 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
432 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700433 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
434 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
435 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700436 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800437 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
438 &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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
439 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
440 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
Bu Sun Kim65020912020-05-20 12:08:20 -0700441 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700442 &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.
443 { # 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800444 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
445 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700446 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
447 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
448 },
449 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800450 &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.
451 &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;.
452 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
453 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700454 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700455 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700456 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
457 &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.
458 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
459 &quot;a_key&quot;: &quot;A String&quot;,
460 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800461 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700462 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800463 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700464 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800465 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700466 },
467 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800468 &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.
469 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
470 &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.
471 &quot;A String&quot;,
472 ],
473 &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.
474 &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.
475 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
476 },
477 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
478 &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
479 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700480 &quot;A String&quot;,
481 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800482 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
483 &quot;volumes&quot;: [ # User specified volumes.
484 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
485 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
486 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
487 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700488 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800489 ],
490 &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
491 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
492 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
493 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700494 },
495 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700496 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800497 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
498 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
499 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
500 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
501 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700502 },
503 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800504 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700505 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
506 { # Allows autoscaling based on Stackdriver metrics.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700507 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700508 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800509 &quot;singleInstanceAssignment&quot;: 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
510 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700511 &quot;targetType&quot;: &quot;A String&quot;, # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700512 },
513 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800514 &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.
515 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
516 &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.
517 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
518 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
519 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700520 },
521 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
522 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
523 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700524 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800525 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700526 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700527 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700528 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800529 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
530 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700531 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800532 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
533 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
534 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
535 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
536 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
537 },
538 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700539 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800540 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
541 &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;.
542 &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.
543 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
544 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
545 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
546 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
547 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
548 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
549 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700550 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800551 &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.
552 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
553 &quot;A String&quot;,
554 ],
555 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
556 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700557 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700558 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
559 { # Custom static error page to be served when an error occurs.
560 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
561 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
562 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
563 },
564 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800565 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
566 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
567 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
568 &quot;a_key&quot;: &quot;A String&quot;,
569 },
570 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
571 &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.
572 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
573 &quot;path&quot;: &quot;A String&quot;, # The request path.
574 &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.
575 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
576 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
577 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
578 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
579 },
580 &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.
581 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
582 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
583 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
584 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
585 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
586 },
587 &quot;appEngineApis&quot;: True or False, # app_engine_apis allows Second Generation runtimes to access the App Engine APIs.
588 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
589 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700590 &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;.
591 &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.
592 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800593 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
594 &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.
595 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
596 &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.
597 },
598 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700599 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700600 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
601 &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;
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800602 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700603 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
604 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700605 &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.
606 { # Third-party Python runtime library that is required by the application.
607 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
608 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
609 },
610 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800611 &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.
612 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
613 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700614 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800615 &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.
616 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
617 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
618 },
619 &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.
620 &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.
621 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
622 &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;.
623 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
624 },
625 },
626 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
627 &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;.
628 &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.
629 },
630 &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.
631 &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;
632 },
633 &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.
634 &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.
635 &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.
636 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700637 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800638 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700639 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400640</div>
641
642<div class="method">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800643 <code class="details" id="list">list(appsId, servicesId, pageToken=None, view=None, pageSize=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400644 <pre>Lists the versions of a service.
645
646Args:
647 appsId: string, Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default. (required)
648 servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700649 pageToken: string, Continuation token for fetching the next page of results.
650 view: string, Controls the set of fields returned in the List response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700651 Allowed values
652 BASIC - Basic version information including scaling and inbound services, but not detailed deployment information.
653 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800654 pageSize: integer, Maximum results to return per page.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400655 x__xgafv: string, V1 error format.
656 Allowed values
657 1 - v1 error format
658 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400659
660Returns:
661 An object of the form:
662
663 { # Response message for Versions.ListVersions.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800664 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700665 &quot;versions&quot;: [ # The versions belonging to the requested service.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400666 { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800667 &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
668 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
669 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700670 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700671 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800672 &quot;path&quot;: &quot;A String&quot;, # The request path.
673 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
674 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
675 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700676 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
677 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
678 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700679 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800680 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
681 &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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
682 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
683 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
Bu Sun Kim65020912020-05-20 12:08:20 -0700684 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700685 &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.
686 { # 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800687 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
688 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700689 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
690 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
691 },
692 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800693 &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.
694 &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;.
695 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
696 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700697 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700698 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700699 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
700 &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.
701 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
702 &quot;a_key&quot;: &quot;A String&quot;,
703 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800704 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700705 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800706 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700707 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800708 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700709 },
710 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800711 &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.
712 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
713 &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.
714 &quot;A String&quot;,
715 ],
716 &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.
717 &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.
718 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
719 },
720 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
721 &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
722 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700723 &quot;A String&quot;,
724 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800725 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
726 &quot;volumes&quot;: [ # User specified volumes.
727 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
728 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
729 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
730 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700731 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800732 ],
733 &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
734 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
735 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
736 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700737 },
738 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700739 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800740 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
741 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
742 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
743 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
744 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700745 },
746 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800747 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700748 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
749 { # Allows autoscaling based on Stackdriver metrics.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700750 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700751 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800752 &quot;singleInstanceAssignment&quot;: 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
753 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700754 &quot;targetType&quot;: &quot;A String&quot;, # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700755 },
756 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800757 &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.
758 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
759 &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.
760 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
761 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
762 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700763 },
764 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
765 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
766 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700767 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800768 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700769 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700770 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700771 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800772 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
773 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700774 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800775 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
776 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
777 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
778 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
779 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
780 },
781 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700782 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800783 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
784 &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;.
785 &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.
786 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
787 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
788 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
789 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
790 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
791 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
792 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700793 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800794 &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.
795 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
796 &quot;A String&quot;,
797 ],
798 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
799 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700800 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700801 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
802 { # Custom static error page to be served when an error occurs.
803 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
804 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
805 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
806 },
807 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800808 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
809 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
810 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
811 &quot;a_key&quot;: &quot;A String&quot;,
812 },
813 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
814 &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.
815 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
816 &quot;path&quot;: &quot;A String&quot;, # The request path.
817 &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.
818 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
819 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
820 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
821 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
822 },
823 &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.
824 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
825 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
826 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
827 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
828 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
829 },
830 &quot;appEngineApis&quot;: True or False, # app_engine_apis allows Second Generation runtimes to access the App Engine APIs.
831 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
832 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700833 &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;.
834 &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.
835 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800836 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
837 &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.
838 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
839 &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.
840 },
841 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700842 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700843 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
844 &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;
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800845 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700846 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
847 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700848 &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.
849 { # Third-party Python runtime library that is required by the application.
850 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
851 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
852 },
853 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800854 &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.
855 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
856 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700857 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800858 &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.
859 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
860 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
861 },
862 &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.
863 &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.
864 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
865 &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;.
866 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
867 },
868 },
869 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
870 &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;.
871 &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.
872 },
873 &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.
874 &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;
875 },
876 &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.
877 &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.
878 &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.
879 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700880 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800881 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
Bu Sun Kim65020912020-05-20 12:08:20 -0700882 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400883 ],
884 }</pre>
885</div>
886
887<div class="method">
888 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
889 <pre>Retrieves the next page of results.
890
891Args:
892 previous_request: The request for the previous page. (required)
893 previous_response: The response from the request for the previous page. (required)
894
895Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700896 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400897 page. Returns None if there are no more items in the collection.
898 </pre>
899</div>
900
901<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700902 <code class="details" id="patch">patch(appsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700903 <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/v1beta/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/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/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/v1beta/apps.services.versions#manualscaling)
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400904
905Args:
906 appsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1. (required)
907 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
908 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700909 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400910 The object takes the form of:
911
912{ # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800913 &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
914 &quot;buildEnvVariables&quot;: { # Environment variables available to the build environment.Only returned in GET requests if view=FULL is set.
915 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700916 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700917 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800918 &quot;path&quot;: &quot;A String&quot;, # The request path.
919 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
920 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
921 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700922 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
923 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
924 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700925 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800926 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
927 &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/v1beta/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
928 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
929 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
Bu Sun Kim65020912020-05-20 12:08:20 -0700930 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700931 &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.
932 { # 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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800933 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
934 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700935 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
936 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
937 },
938 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800939 &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.
940 &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;.
941 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
942 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700943 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700944 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700945 &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 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800950 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700951 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800952 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700953 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800954 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700955 },
956 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800957 &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.
958 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
959 &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.
960 &quot;A String&quot;,
961 ],
962 &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.
963 &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.
964 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
965 },
966 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
967 &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
968 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700969 &quot;A String&quot;,
970 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800971 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
972 &quot;volumes&quot;: [ # User specified volumes.
973 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
974 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
975 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
976 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700977 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800978 ],
979 &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
980 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
981 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
982 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700983 },
984 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700985 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800986 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
987 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
988 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
989 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
990 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700991 },
992 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800993 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700994 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
995 { # Allows autoscaling based on Stackdriver metrics.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700996 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700997 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800998 &quot;singleInstanceAssignment&quot;: 3.14, # May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.
999 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001000 &quot;targetType&quot;: &quot;A String&quot;, # The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001001 },
1002 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001003 &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.
1004 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
1005 &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.
1006 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
1007 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
1008 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001009 },
1010 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
1011 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
1012 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001013 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001014 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001015 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001016 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001017 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001018 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
1019 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001020 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001021 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
1022 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
1023 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
1024 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
1025 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
1026 },
1027 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001028 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001029 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
1030 &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;.
1031 &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.
1032 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
1033 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
1034 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
1035 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
1036 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
1037 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
1038 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001039 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001040 &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.
1041 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
1042 &quot;A String&quot;,
1043 ],
1044 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
1045 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001046 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001047 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
1048 { # Custom static error page to be served when an error occurs.
1049 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
1050 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
1051 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
1052 },
1053 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001054 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
1055 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
1056 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
1057 &quot;a_key&quot;: &quot;A String&quot;,
1058 },
1059 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
1060 &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.
1061 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
1062 &quot;path&quot;: &quot;A String&quot;, # The request path.
1063 &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.
1064 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
1065 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
1066 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
1067 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
1068 },
1069 &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.
1070 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
1071 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
1072 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
1073 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
1074 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
1075 },
1076 &quot;appEngineApis&quot;: True or False, # app_engine_apis allows Second Generation runtimes to access the App Engine APIs.
1077 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
1078 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001079 &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;.
1080 &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.
1081 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001082 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
1083 &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.
1084 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
1085 &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.
1086 },
1087 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001088 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001089 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
1090 &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;
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001091 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001092 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
1093 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001094 &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.
1095 { # Third-party Python runtime library that is required by the application.
1096 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
1097 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
1098 },
1099 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001100 &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.
1101 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
1102 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001103 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001104 &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.
1105 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
1106 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
1107 },
1108 &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.
1109 &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.
1110 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
1111 &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;.
1112 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
1113 },
1114 },
1115 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
1116 &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;.
1117 &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.
1118 },
1119 &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.
1120 &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;
1121 },
1122 &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.
1123 &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.
1124 &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.
1125 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001126 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001127 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001128 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001129
1130 updateMask: string, Standard field mask for the set of fields to be updated.
1131 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001132 Allowed values
1133 1 - v1 error format
1134 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001135
1136Returns:
1137 An object of the form:
1138
1139 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001140 &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.
1141 &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.
1142 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1143 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001144 &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.
1145 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1146 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001147 &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}.
Bu Sun Kim65020912020-05-20 12:08:20 -07001148 &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 Botc2228be2020-11-24 15:48:03 -08001149 &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 -07001150 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001151 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001152 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001153 },
1154 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001155 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001156 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001157 }</pre>
1158</div>
1159
1160</body></html>