blob: 7f3179dc8e0f53ea5ff0bcfeb5c192c391d8a2ba [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">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#create">create(appsId, servicesId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040084<p class="firstline">Deploys code and resource files to a new version.</p>
85<p class="toc_element">
86 <code><a href="#delete">delete(appsId, servicesId, versionsId, x__xgafv=None)</a></code></p>
87<p class="firstline">Deletes an existing Version resource.</p>
88<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070089 <code><a href="#get">get(appsId, servicesId, versionsId, view=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040090<p class="firstline">Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.</p>
91<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070092 <code><a href="#list">list(appsId, servicesId, view=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040093<p class="firstline">Lists the versions of a service.</p>
94<p class="toc_element">
95 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
96<p class="firstline">Retrieves the next page of results.</p>
97<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070098 <code><a href="#patch">patch(appsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099<p class="firstline">Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment</p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400100<h3>Method Details</h3>
101<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code class="details" id="create">create(appsId, servicesId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400103 <pre>Deploys code and resource files to a new version.
104
105Args:
106 appsId: string, Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default. (required)
107 servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700108 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400109 The object takes the form of:
110
111{ # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700112 &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.
113 &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.
114 { # Third-party Python runtime library that is required by the application.
115 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
116 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400117 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 ],
119 &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.
120 &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.
121 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
122 &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.
123 },
124 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
125 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
126 &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;.
127 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
128 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
129 &quot;a_key&quot;: &quot;A String&quot;,
130 },
131 &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.
132 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
133 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
134 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
135 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
136 &quot;path&quot;: &quot;A String&quot;, # The request path.
137 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
138 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
139 },
140 &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.
141 &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.
142 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
143 &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.
144 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700145 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700146 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
147 &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.
148 # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
149 # 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.
150 # 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.
151 },
152 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
153 &quot;a_key&quot;: &quot;A String&quot;,
154 },
155 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
156 &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.
157 { # 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.
158 &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.
159 &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.
160 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
161 &quot;a_key&quot;: &quot;A String&quot;,
162 },
163 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
164 &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.
165 &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.
166 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
167 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
168 },
169 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
170 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
171 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
172 &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;.
173 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
174 },
175 &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.
176 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.
177 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
178 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
179 },
180 },
181 ],
182 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
183 &quot;A String&quot;,
184 ],
185 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
186 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
187 },
188 &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.
189 &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.
190 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
191 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
192 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
193 },
194 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
195 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
196 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
197 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
198 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
199 },
200 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
201 &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.
202 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
203 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
204 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
205 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
206 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
207 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
208 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
209 },
210 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
211 { # Allows autoscaling based on Stackdriver metrics.
212 &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.
213 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
214 &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.
215 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
216 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400217 },
218 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 &quot;coolDownPeriod&quot;: &quot;A String&quot;, # The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible environment.
220 &quot;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.
221 &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.
222 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
223 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
224 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400225 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700226 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
227 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
228 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
229 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
230 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
Dan O'Mearadd494642020-05-01 07:42:23 -0700231 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700232 },
233 &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
234 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
235 &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.
236 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
237 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
238 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
239 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
240 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
241 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
242 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
243 },
244 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
245 &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.
246 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
247 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
248 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
249 &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.
250 &quot;path&quot;: &quot;A String&quot;, # The request path.
251 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
252 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
253 },
254 &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.
255 &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.
256 },
257 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
258 &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.
259 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
260 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
261 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
262 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
263 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
264 },
265 &quot;endpointsApiService&quot;: { # Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a &quot;service&quot; resource in the Service Management API (https://cloud.google.com/service-management/overview). # Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.
266 &quot;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;
267 &quot;configId&quot;: &quot;A String&quot;, # Endpoints service configuration ID as specified by the Service Management API. For example &quot;2016-09-19r1&quot;.By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.
268 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
269 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
270 },
271 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
272 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
273 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
274 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
275 },
276 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are:
277 # AutomaticScaling: F1, F2, F4, F4_1G
278 # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
279 &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.
280 &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/&lt;language&gt;/config/appref
281 &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.
282 &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.
283 &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.
284 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
285 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
286 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
287 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400288 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 &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.
290 &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.
291 &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.
292 },
293 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
294 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
295 &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.
296 },
297 &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.
298 &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;
299 },
300 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
301 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
302 },
303 },
304 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
305 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
306 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
307 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
308 &quot;volumes&quot;: [ # User specified volumes.
309 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
310 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
311 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
312 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400313 },
314 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700315 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
316 },
317 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
318 &quot;A String&quot;,
319 ],
320 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
321 { # Custom static error page to be served when an error occurs.
322 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
323 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
324 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700325 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 ],
327}
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400328
329 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400330 Allowed values
331 1 - v1 error format
332 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400333
334Returns:
335 An object of the form:
336
337 { # This resource represents a long-running operation that is the result of a network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700338 &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.
339 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
340 },
341 &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}.
342 &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.
343 &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 -0400344 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400346 },
347 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700348 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
349 &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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400350 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700351 &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.
352 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400353 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 &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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400355 }</pre>
356</div>
357
358<div class="method">
359 <code class="details" id="delete">delete(appsId, servicesId, versionsId, x__xgafv=None)</code>
360 <pre>Deletes an existing Version resource.
361
362Args:
363 appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
364 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
365 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
366 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400367 Allowed values
368 1 - v1 error format
369 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400370
371Returns:
372 An object of the form:
373
374 { # This resource represents a long-running operation that is the result of a network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700375 &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.
376 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
377 },
378 &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}.
379 &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.
380 &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 -0400381 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700382 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400383 },
384 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700385 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
386 &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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400387 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700388 &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.
389 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400390 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 &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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400392 }</pre>
393</div>
394
395<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700396 <code class="details" id="get">get(appsId, servicesId, versionsId, view=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400397 <pre>Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
398
399Args:
400 appsId: string, Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. (required)
401 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
402 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700403 view: string, Controls the set of fields returned in the Get response.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400404 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400405 Allowed values
406 1 - v1 error format
407 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400408
409Returns:
410 An object of the form:
411
412 { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700413 &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.
414 &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.
415 { # Third-party Python runtime library that is required by the application.
416 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
417 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400418 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700419 ],
420 &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.
421 &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.
422 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
423 &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.
424 },
425 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
426 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
427 &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;.
428 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
429 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
430 &quot;a_key&quot;: &quot;A String&quot;,
431 },
432 &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.
433 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
434 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
435 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
436 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
437 &quot;path&quot;: &quot;A String&quot;, # The request path.
438 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
439 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
440 },
441 &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.
442 &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.
443 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
444 &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.
445 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700446 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700447 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
448 &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.
449 # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
450 # 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.
451 # 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.
452 },
453 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
454 &quot;a_key&quot;: &quot;A String&quot;,
455 },
456 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
457 &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.
458 { # 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.
459 &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.
460 &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.
461 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
462 &quot;a_key&quot;: &quot;A String&quot;,
463 },
464 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
465 &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.
466 &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.
467 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
468 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
469 },
470 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
471 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
472 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
473 &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;.
474 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
475 },
476 &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.
477 &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.
478 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
479 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
480 },
481 },
482 ],
483 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
484 &quot;A String&quot;,
485 ],
486 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
487 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
488 },
489 &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.
490 &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.
491 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
492 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
493 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
494 },
495 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
496 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
497 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
498 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
499 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
500 },
501 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
502 &quot;minIdleInstances&quot;: 42, # Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
503 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
504 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
505 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
506 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
507 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
508 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
509 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
510 },
511 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
512 { # Allows autoscaling based on Stackdriver metrics.
513 &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.
514 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
515 &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.
516 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
517 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400518 },
519 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700520 &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.
521 &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.
522 &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.
523 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
524 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
525 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400526 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700527 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
528 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
529 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
530 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
531 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
Dan O'Mearadd494642020-05-01 07:42:23 -0700532 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700533 },
534 &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
535 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
536 &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.
537 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
538 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
539 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
540 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
541 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
542 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
543 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
544 },
545 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
546 &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.
547 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
548 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
549 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
550 &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.
551 &quot;path&quot;: &quot;A String&quot;, # The request path.
552 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
553 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
554 },
555 &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.
556 &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.
557 },
558 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
559 &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.
560 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
561 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
562 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
563 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
564 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
565 },
566 &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.
567 &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;
568 &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.
569 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
570 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
571 },
572 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
573 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
574 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
575 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
576 },
577 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are:
578 # AutomaticScaling: F1, F2, F4, F4_1G
579 # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
580 &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.
581 &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/&lt;language&gt;/config/appref
582 &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.
583 &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.
584 &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.
585 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
586 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
587 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
588 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400589 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700590 &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.
591 &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.
592 &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.
593 },
594 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
595 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
596 &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.
597 },
598 &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.
599 &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;
600 },
601 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
602 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
603 },
604 },
605 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
606 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
607 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
608 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
609 &quot;volumes&quot;: [ # User specified volumes.
610 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
611 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
612 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
613 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400614 },
615 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700616 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
617 },
618 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
619 &quot;A String&quot;,
620 ],
621 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
622 { # Custom static error page to be served when an error occurs.
623 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
624 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
625 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700626 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700627 ],
628 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400629</div>
630
631<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700632 <code class="details" id="list">list(appsId, servicesId, view=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400633 <pre>Lists the versions of a service.
634
635Args:
636 appsId: string, Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default. (required)
637 servicesId: string, Part of `parent`. See documentation of `appsId`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700638 view: string, Controls the set of fields returned in the List response.
Sai Cheemalapatie833b792017-03-24 15:06:46 -0700639 pageToken: string, Continuation token for fetching the next page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700640 pageSize: integer, Maximum results to return per page.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400641 x__xgafv: string, V1 error format.
642 Allowed values
643 1 - v1 error format
644 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400645
646Returns:
647 An object of the form:
648
649 { # Response message for Versions.ListVersions.
Bu Sun Kim65020912020-05-20 12:08:20 -0700650 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
651 &quot;versions&quot;: [ # The versions belonging to the requested service.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400652 { # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700653 &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.
654 &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.
655 { # Third-party Python runtime library that is required by the application.
656 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
657 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400658 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700659 ],
660 &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.
661 &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.
662 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
663 &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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400664 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700665 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
666 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
667 &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;.
668 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
669 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
670 &quot;a_key&quot;: &quot;A String&quot;,
671 },
672 &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.
673 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
674 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
675 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
676 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
677 &quot;path&quot;: &quot;A String&quot;, # The request path.
678 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
679 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
680 },
681 &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.
682 &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.
683 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
684 &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.
685 &quot;A String&quot;,
686 ],
687 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
688 &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.
689 # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
690 # 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.
691 # 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.
692 },
693 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
694 &quot;a_key&quot;: &quot;A String&quot;,
695 },
696 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
697 &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.
698 { # 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.
699 &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.
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 },
704 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
705 &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.
706 &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.
707 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
708 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
709 },
710 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
711 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
712 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
713 &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;.
714 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
715 },
716 &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.
717 &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.
718 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
719 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
720 },
721 },
722 ],
723 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
724 &quot;A String&quot;,
725 ],
726 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
727 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
728 },
729 &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.
730 &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.
731 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
732 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
733 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
734 },
735 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
736 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
737 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
738 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
739 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
740 },
741 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
742 &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.
743 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
744 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
745 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
746 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
747 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
748 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
749 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
750 },
751 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
752 { # Allows autoscaling based on Stackdriver metrics.
753 &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.
754 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
755 &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.
756 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
757 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
758 },
759 ],
760 &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.
761 &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.
762 &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.
763 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
764 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
765 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
766 },
767 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
768 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
769 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
770 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
771 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
772 },
773 },
774 &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
775 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
776 &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.
777 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
778 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
779 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
780 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
781 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
782 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
783 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
784 },
785 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
786 &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.
787 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
788 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
789 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
790 &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.
791 &quot;path&quot;: &quot;A String&quot;, # The request path.
792 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
793 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
794 },
795 &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.
796 &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.
797 },
798 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
799 &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.
800 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
801 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
802 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
803 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
804 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
805 },
806 &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.
807 &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;
808 &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.
809 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
810 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
811 },
812 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
813 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
814 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
815 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
816 },
817 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are:
818 # AutomaticScaling: F1, F2, F4, F4_1G
819 # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
820 &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.
821 &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/&lt;language&gt;/config/appref
822 &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.
823 &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.
824 &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.
825 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
826 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
827 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
828 },
829 },
830 &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.
831 &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.
832 &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.
833 },
834 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
835 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
836 &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.
837 },
838 &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.
839 &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;
840 },
841 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
842 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
843 },
844 },
845 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
846 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
847 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
848 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
849 &quot;volumes&quot;: [ # User specified volumes.
850 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
851 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
852 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
853 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
854 },
855 ],
856 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
857 },
858 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
859 &quot;A String&quot;,
860 ],
861 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
862 { # Custom static error page to be served when an error occurs.
863 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
864 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
865 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
866 },
867 ],
868 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400869 ],
870 }</pre>
871</div>
872
873<div class="method">
874 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
875 <pre>Retrieves the next page of results.
876
877Args:
878 previous_request: The request for the previous page. (required)
879 previous_response: The response from the request for the previous page. (required)
880
881Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700882 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400883 page. Returns None if there are no more items in the collection.
884 </pre>
885</div>
886
887<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700888 <code class="details" id="patch">patch(appsId, servicesId, versionsId, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700889 <pre>Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment
890instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:
891automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
892automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
893automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)
894automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)
895automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)
896automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:
897serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible environment
898serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:
899automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
900automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
901automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
902automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400903
904Args:
905 appsId: string, Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1. (required)
906 servicesId: string, Part of `name`. See documentation of `appsId`. (required)
907 versionsId: string, Part of `name`. See documentation of `appsId`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700908 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400909 The object takes the form of:
910
911{ # A Version resource is a specific set of source code and configuration files that are deployed into a service.
Bu Sun Kim65020912020-05-20 12:08:20 -0700912 &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.
913 &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.
914 { # Third-party Python runtime library that is required by the application.
915 &quot;name&quot;: &quot;A String&quot;, # Name of the library. Example: &quot;django&quot;.
916 &quot;version&quot;: &quot;A String&quot;, # Version of the library to select, or &quot;latest&quot;.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400917 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700918 ],
919 &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.
920 &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.
921 &quot;maxInstances&quot;: 42, # Maximum number of instances to create for this version.
922 &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.
923 },
924 &quot;runtimeMainExecutablePath&quot;: &quot;A String&quot;, # The path or name of the app&#x27;s main executable.
925 &quot;runtime&quot;: &quot;A String&quot;, # Desired runtime. Example: python27.
926 &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;.
927 &quot;createdBy&quot;: &quot;A String&quot;, # Email address of the user who created this version.@OutputOnly
928 &quot;envVariables&quot;: { # Environment variables available to the application.Only returned in GET requests if view=FULL is set.
929 &quot;a_key&quot;: &quot;A String&quot;,
930 },
931 &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.
932 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
933 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before considering the VM unhealthy.
934 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
935 &quot;initialDelay&quot;: &quot;A String&quot;, # The initial delay before starting to execute the checks.
936 &quot;path&quot;: &quot;A String&quot;, # The request path.
937 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Liveness check. Example: &quot;myapp.appspot.com&quot;
938 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before considering the VM healthy.
939 },
940 &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.
941 &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.
942 &quot;sessionAffinity&quot;: True or False, # Enable session affinity. Only applicable in the App Engine flexible environment.
943 &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.
944 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700945 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700946 &quot;instanceTag&quot;: &quot;A String&quot;, # Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
947 &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.
948 # If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
949 # 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.
950 # 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.
951 },
952 &quot;betaSettings&quot;: { # Metadata settings that are supplied to this version to enable beta runtime features.
953 &quot;a_key&quot;: &quot;A String&quot;,
954 },
955 &quot;env&quot;: &quot;A String&quot;, # App Engine execution environment for this version.Defaults to standard.
956 &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.
957 { # 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.
958 &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.
959 &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.
960 &quot;httpHeaders&quot;: { # HTTP headers to use for all responses from these URLs.
961 &quot;a_key&quot;: &quot;A String&quot;,
962 },
963 &quot;uploadPathRegex&quot;: &quot;A String&quot;, # Regular expression that matches the file paths for all files that should be referenced by this handler.
964 &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.
965 &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.
966 &quot;requireMatchingFile&quot;: True or False, # Whether this handler should match the request if the file referenced by the handler does not exist.
967 &quot;expiration&quot;: &quot;A String&quot;, # Time a static file served by this handler should be cached by web proxies and browsers.
968 },
969 &quot;redirectHttpResponseCode&quot;: &quot;A String&quot;, # 30x code to use when performing redirects for the secure field. Defaults to 302.
970 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
971 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
972 &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;.
973 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
974 },
975 &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.
976 &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.
977 &quot;apiEndpoint&quot;: { # Uses Google Cloud Endpoints to handle requests. # Uses API Endpoints to handle requests.
978 &quot;scriptPath&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
979 },
980 },
981 ],
982 &quot;zones&quot;: [ # The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
983 &quot;A String&quot;,
984 ],
985 &quot;entrypoint&quot;: { # The entrypoint for the application. # The entrypoint for the application.
986 &quot;shell&quot;: &quot;A String&quot;, # The format should be a shell command that can be fed to bash -c.
987 },
988 &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.
989 &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.
990 &quot;requestUtilization&quot;: { # Target scaling by request utilization. Only applicable in the App Engine flexible environment. # Target scaling by request utilization.
991 &quot;targetRequestCountPerSecond&quot;: 42, # Target requests per second.
992 &quot;targetConcurrentRequests&quot;: 42, # Target number of concurrent requests.
993 },
994 &quot;standardSchedulerSettings&quot;: { # Scheduler settings for standard environment. # Scheduler settings for standard environment.
995 &quot;targetCpuUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling.
996 &quot;targetThroughputUtilization&quot;: 3.14, # Target throughput utilization ratio to maintain when scaling
997 &quot;maxInstances&quot;: 42, # Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.
998 &quot;minInstances&quot;: 42, # Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.
999 },
1000 &quot;maxIdleInstances&quot;: 42, # Maximum number of idle instances that should be maintained for this version.
1001 &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.
1002 &quot;maxTotalInstances&quot;: 42, # Maximum number of instances that should be started to handle requests for this version.
1003 &quot;minTotalInstances&quot;: 42, # Minimum number of running instances that should be maintained for this version.
1004 &quot;networkUtilization&quot;: { # Target scaling by network usage. Only applicable in the App Engine flexible environment. # Target scaling by network usage.
1005 &quot;targetSentPacketsPerSecond&quot;: 42, # Target packets sent per second.
1006 &quot;targetReceivedBytesPerSecond&quot;: 42, # Target bytes received per second.
1007 &quot;targetReceivedPacketsPerSecond&quot;: 42, # Target packets received per second.
1008 &quot;targetSentBytesPerSecond&quot;: 42, # Target bytes sent per second.
1009 },
1010 &quot;customMetrics&quot;: [ # Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.
1011 { # Allows autoscaling based on Stackdriver metrics.
1012 &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.
1013 &quot;targetUtilization&quot;: 3.14, # The target value for the metric.
1014 &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.
1015 &quot;filter&quot;: &quot;A String&quot;, # Allows filtering on the metric&#x27;s fields.
1016 &quot;metricName&quot;: &quot;A String&quot;, # The name of the metric.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001017 },
1018 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001019 &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.
1020 &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.
1021 &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.
1022 &quot;cpuUtilization&quot;: { # Target scaling by CPU usage. # Target scaling by CPU usage.
1023 &quot;targetUtilization&quot;: 3.14, # Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
1024 &quot;aggregationWindowLength&quot;: &quot;A String&quot;, # Period of time over which CPU utilization is calculated.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001025 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001026 &quot;diskUtilization&quot;: { # Target scaling by disk usage. Only applicable in the App Engine flexible environment. # Target scaling by disk usage.
1027 &quot;targetWriteBytesPerSecond&quot;: 42, # Target bytes written per second.
1028 &quot;targetReadBytesPerSecond&quot;: 42, # Target bytes read per second.
1029 &quot;targetReadOpsPerSecond&quot;: 42, # Target ops read per seconds.
1030 &quot;targetWriteOpsPerSecond&quot;: 42, # Target ops written per second.
Dan O'Mearadd494642020-05-01 07:42:23 -07001031 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001032 },
1033 &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
1034 &quot;runtimeChannel&quot;: &quot;A String&quot;, # The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.
1035 &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.
1036 &quot;unhealthyThreshold&quot;: 42, # Number of consecutive failed health checks required before removing traffic.
1037 &quot;disableHealthCheck&quot;: True or False, # Whether to explicitly disable health checks for this instance.
1038 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing an HTTP health check. Example: &quot;myapp.appspot.com&quot;
1039 &quot;restartThreshold&quot;: 42, # Number of consecutive failed health checks required before an instance is restarted.
1040 &quot;healthyThreshold&quot;: 42, # Number of consecutive successful health checks required before receiving traffic.
1041 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
1042 &quot;timeout&quot;: &quot;A String&quot;, # Time before the health check is considered failed.
1043 },
1044 &quot;threadsafe&quot;: True or False, # Whether multiple requests can be dispatched to this version at once.
1045 &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.
1046 &quot;checkInterval&quot;: &quot;A String&quot;, # Interval between health checks.
1047 &quot;timeout&quot;: &quot;A String&quot;, # Time before the check is considered failed.
1048 &quot;failureThreshold&quot;: 42, # Number of consecutive failed checks required before removing traffic.
1049 &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.
1050 &quot;path&quot;: &quot;A String&quot;, # The request path.
1051 &quot;successThreshold&quot;: 42, # Number of consecutive successful checks required before receiving traffic.
1052 &quot;host&quot;: &quot;A String&quot;, # Host header to send when performing a HTTP Readiness check. Example: &quot;myapp.appspot.com&quot;
1053 },
1054 &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.
1055 &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.
1056 },
1057 &quot;name&quot;: &quot;A String&quot;, # Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
1058 &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.
1059 &quot;url&quot;: &quot;A String&quot;, # URL to serve the endpoint at.
1060 &quot;securityLevel&quot;: &quot;A String&quot;, # Security (HTTPS) enforcement for this URL.
1061 &quot;authFailAction&quot;: &quot;A String&quot;, # Action to take when users access resources that require authentication. Defaults to redirect.
1062 &quot;script&quot;: &quot;A String&quot;, # Path to the script from the application root directory.
1063 &quot;login&quot;: &quot;A String&quot;, # Level of login required to access this resource. Defaults to optional.
1064 },
1065 &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.
1066 &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;
1067 &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.
1068 &quot;disableTraceSampling&quot;: True or False, # Enable or disable trace sampling. By default, this is set to false for enabled.
1069 &quot;rolloutStrategy&quot;: &quot;A String&quot;, # Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
1070 },
1071 &quot;versionUrl&quot;: &quot;A String&quot;, # Serving URL for this version. Example: &quot;https://myversion-dot-myservice-dot-myapp.appspot.com&quot;@OutputOnly
1072 &quot;vm&quot;: True or False, # Whether to deploy this version in a container on a virtual machine.
1073 &quot;vpcAccessConnector&quot;: { # VPC access connector specification. # Enables VPC connectivity for standard apps.
1074 &quot;name&quot;: &quot;A String&quot;, # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
1075 },
1076 &quot;instanceClass&quot;: &quot;A String&quot;, # Instance class that is used to run this version. Valid values are:
1077 # AutomaticScaling: F1, F2, F4, F4_1G
1078 # ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
1079 &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.
1080 &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/&lt;language&gt;/config/appref
1081 &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.
1082 &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.
1083 &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.
1084 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
1085 &quot;sha1Sum&quot;: &quot;A String&quot;, # The SHA1 hash of the file, in hex.
1086 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the file.Defaults to the value from Google Cloud Storage.
1087 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001088 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001089 &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.
1090 &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.
1091 &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.
1092 },
1093 &quot;zip&quot;: { # The zip file information for a zip deployment. # The zip file for this deployment, if this is a zip deployment.
1094 &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/&lt;bucket&gt;/&lt;object&gt;&#x27;.
1095 &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.
1096 },
1097 &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.
1098 &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;
1099 },
1100 &quot;build&quot;: { # Google Cloud Build information. # Google Cloud Build build information. Only applicable for instances running in the App Engine flexible environment.
1101 &quot;cloudBuildId&quot;: &quot;A String&quot;, # The Google Cloud Build id. Example: &quot;f966068f-08b2-42c8-bdfe-74137dff2bf9&quot;
1102 },
1103 },
1104 &quot;createTime&quot;: &quot;A String&quot;, # Time that this version was created.@OutputOnly
1105 &quot;resources&quot;: { # Machine resources for a version. # Machine resources for this version. Only applicable in the App Engine flexible environment.
1106 &quot;cpu&quot;: 3.14, # Number of CPU cores needed.
1107 &quot;memoryGb&quot;: 3.14, # Memory (GB) needed.
1108 &quot;volumes&quot;: [ # User specified volumes.
1109 { # Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
1110 &quot;volumeType&quot;: &quot;A String&quot;, # Underlying volume type, e.g. &#x27;tmpfs&#x27;.
1111 &quot;sizeGb&quot;: 3.14, # Volume size in gigabytes.
1112 &quot;name&quot;: &quot;A String&quot;, # Unique name for the volume.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001113 },
1114 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001115 &quot;diskGb&quot;: 3.14, # Disk size (GB) needed.
1116 },
1117 &quot;inboundServices&quot;: [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
1118 &quot;A String&quot;,
1119 ],
1120 &quot;errorHandlers&quot;: [ # Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
1121 { # Custom static error page to be served when an error occurs.
1122 &quot;errorCode&quot;: &quot;A String&quot;, # Error condition this handler applies to.
1123 &quot;mimeType&quot;: &quot;A String&quot;, # MIME type of file. Defaults to text/html.
1124 &quot;staticFile&quot;: &quot;A String&quot;, # Static file content to be served for this error.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001125 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001126 ],
1127}
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001128
1129 updateMask: string, Standard field mask for the set of fields to be updated.
1130 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -04001131 Allowed values
1132 1 - v1 error format
1133 2 - v2 error format
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001134
1135Returns:
1136 An object of the form:
1137
1138 { # This resource represents a long-running operation that is the result of a network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -07001139 &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.
1140 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1141 },
1142 &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}.
1143 &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.
1144 &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 -04001145 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001146 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001147 },
1148 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001149 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1150 &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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001151 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001152 &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.
1153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001154 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001155 &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.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001156 }</pre>
1157</div>
1158
1159</body></html>