blob: 1e441b932b367ac54276c894809d1792900ec9c4 [file] [log] [blame]
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="appengine_v1.html">App Engine Admin API</a> . <a href="appengine_v1.apps.html">apps</a></h1>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070078 <code><a href="appengine_v1.apps.authorizedCertificates.html">authorizedCertificates()</a></code>
79</p>
80<p class="firstline">Returns the authorizedCertificates Resource.</p>
81
82<p class="toc_element">
83 <code><a href="appengine_v1.apps.authorizedDomains.html">authorizedDomains()</a></code>
84</p>
85<p class="firstline">Returns the authorizedDomains Resource.</p>
86
87<p class="toc_element">
88 <code><a href="appengine_v1.apps.domainMappings.html">domainMappings()</a></code>
89</p>
90<p class="firstline">Returns the domainMappings Resource.</p>
91
92<p class="toc_element">
93 <code><a href="appengine_v1.apps.firewall.html">firewall()</a></code>
94</p>
95<p class="firstline">Returns the firewall Resource.</p>
96
97<p class="toc_element">
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070098 <code><a href="appengine_v1.apps.locations.html">locations()</a></code>
99</p>
100<p class="firstline">Returns the locations Resource.</p>
101
102<p class="toc_element">
103 <code><a href="appengine_v1.apps.operations.html">operations()</a></code>
104</p>
105<p class="firstline">Returns the operations Resource.</p>
106
107<p class="toc_element">
108 <code><a href="appengine_v1.apps.services.html">services()</a></code>
109</p>
110<p class="firstline">Returns the services Resource.</p>
111
112<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700113 <code><a href="#close">close()</a></code></p>
114<p class="firstline">Close httplib2 connections.</p>
115<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700116 <code><a href="#create">create(body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700117<p class="firstline">Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).</p>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800118<p class="toc_element">
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700119 <code><a href="#get">get(appsId, x__xgafv=None)</a></code></p>
120<p class="firstline">Gets information about an application.</p>
121<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700122 <code><a href="#patch">patch(appsId, body=None, updateMask=None, x__xgafv=None)</a></code></p>
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700123<p class="firstline">Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.</p>
Jon Wayne Parrottdc6c1ef2016-10-14 11:04:30 -0700124<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700125 <code><a href="#repair">repair(appsId, body=None, x__xgafv=None)</a></code></p>
126<p class="firstline">Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.</p>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700127<h3>Method Details</h3>
128<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700129 <code class="details" id="close">close()</code>
130 <pre>Close httplib2 connections.</pre>
131</div>
132
133<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700134 <code class="details" id="create">create(body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700135 <pre>Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800136
137Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700138 body: object, The request body.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800139 The object takes the form of:
140
141{ # An Application resource contains the top-level configuration of an App Engine application.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800142 &quot;authDomain&quot;: &quot;A String&quot;, # Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.
143 &quot;codeBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly
144 &quot;databaseType&quot;: &quot;A String&quot;, # The type of the Cloud Firestore or Cloud Datastore database associated with this application.
145 &quot;defaultBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly
146 &quot;defaultCookieExpiration&quot;: &quot;A String&quot;, # Cookie expiration policy for this application.
147 &quot;defaultHostname&quot;: &quot;A String&quot;, # Hostname used to reach this application, as resolved by App Engine.@OutputOnly
148 &quot;dispatchRules&quot;: [ # HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.
149 { # Rules to match an HTTP request and dispatch that request to a service.
150 &quot;domain&quot;: &quot;A String&quot;, # Domain name to match against. The wildcard &quot;*&quot; is supported if specified before a period: &quot;*.&quot;.Defaults to matching all domains: &quot;*&quot;.
151 &quot;path&quot;: &quot;A String&quot;, # Pathname within the host. Must start with a &quot;/&quot;. A single &quot;*&quot; can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
152 &quot;service&quot;: &quot;A String&quot;, # Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800153 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800154 ],
155 &quot;featureSettings&quot;: { # The feature specific settings to be used in the application. These define behaviors that are user configurable. # The feature specific settings to be used in the application.
156 &quot;splitHealthChecks&quot;: True or False, # Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to &#x27;readiness_check&#x27; and &#x27;liveness_check&#x27; values instead of &#x27;health_check&#x27; ones. Once the legacy &#x27;health_check&#x27; behavior is deprecated, and this value is always true, this setting can be removed.
157 &quot;useContainerOptimizedOs&quot;: True or False, # If true, use Container-Optimized OS (https://cloud.google.com/container-optimized-os/) base image for VMs, rather than a base Debian image.
158 },
159 &quot;gcrDomain&quot;: &quot;A String&quot;, # The Google Container Registry domain used for storing managed build docker images for this application.
160 &quot;iap&quot;: { # Identity-Aware Proxy
161 &quot;enabled&quot;: True or False, # Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.
162 &quot;oauth2ClientId&quot;: &quot;A String&quot;, # OAuth2 client ID to use for the authentication flow.
163 &quot;oauth2ClientSecret&quot;: &quot;A String&quot;, # OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly
164 &quot;oauth2ClientSecretSha256&quot;: &quot;A String&quot;, # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
165 },
166 &quot;id&quot;: &quot;A String&quot;, # Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.
167 &quot;locationId&quot;: &quot;A String&quot;, # Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application&#x27;s end user content is stored.Defaults to us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations).
168 &quot;name&quot;: &quot;A String&quot;, # Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly
169 &quot;servingStatus&quot;: &quot;A String&quot;, # Serving status of this application.
170}
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800171
172 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400173 Allowed values
174 1 - v1 error format
175 2 - v2 error format
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800176
177Returns:
178 An object of the form:
179
180 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800181 &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.
182 &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.
183 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
184 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
185 {
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 ],
189 &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.
190 },
191 &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.
192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193 },
194 &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}.
195 &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.
196 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197 },
198}</pre>
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800199</div>
200
201<div class="method">
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700202 <code class="details" id="get">get(appsId, x__xgafv=None)</code>
203 <pre>Gets information about an application.
204
205Args:
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800206 appsId: string, Part of `name`. Name of the Application resource to get. Example: apps/myapp. (required)
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700207 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700211
212Returns:
213 An object of the form:
214
215 { # An Application resource contains the top-level configuration of an App Engine application.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800216 &quot;authDomain&quot;: &quot;A String&quot;, # Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.
217 &quot;codeBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly
218 &quot;databaseType&quot;: &quot;A String&quot;, # The type of the Cloud Firestore or Cloud Datastore database associated with this application.
219 &quot;defaultBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly
220 &quot;defaultCookieExpiration&quot;: &quot;A String&quot;, # Cookie expiration policy for this application.
221 &quot;defaultHostname&quot;: &quot;A String&quot;, # Hostname used to reach this application, as resolved by App Engine.@OutputOnly
222 &quot;dispatchRules&quot;: [ # HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.
223 { # Rules to match an HTTP request and dispatch that request to a service.
224 &quot;domain&quot;: &quot;A String&quot;, # Domain name to match against. The wildcard &quot;*&quot; is supported if specified before a period: &quot;*.&quot;.Defaults to matching all domains: &quot;*&quot;.
225 &quot;path&quot;: &quot;A String&quot;, # Pathname within the host. Must start with a &quot;/&quot;. A single &quot;*&quot; can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
226 &quot;service&quot;: &quot;A String&quot;, # Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
227 },
228 ],
229 &quot;featureSettings&quot;: { # The feature specific settings to be used in the application. These define behaviors that are user configurable. # The feature specific settings to be used in the application.
230 &quot;splitHealthChecks&quot;: True or False, # Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to &#x27;readiness_check&#x27; and &#x27;liveness_check&#x27; values instead of &#x27;health_check&#x27; ones. Once the legacy &#x27;health_check&#x27; behavior is deprecated, and this value is always true, this setting can be removed.
231 &quot;useContainerOptimizedOs&quot;: True or False, # If true, use Container-Optimized OS (https://cloud.google.com/container-optimized-os/) base image for VMs, rather than a base Debian image.
232 },
233 &quot;gcrDomain&quot;: &quot;A String&quot;, # The Google Container Registry domain used for storing managed build docker images for this application.
234 &quot;iap&quot;: { # Identity-Aware Proxy
235 &quot;enabled&quot;: True or False, # Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.
236 &quot;oauth2ClientId&quot;: &quot;A String&quot;, # OAuth2 client ID to use for the authentication flow.
237 &quot;oauth2ClientSecret&quot;: &quot;A String&quot;, # OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly
238 &quot;oauth2ClientSecretSha256&quot;: &quot;A String&quot;, # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
239 },
240 &quot;id&quot;: &quot;A String&quot;, # Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.
241 &quot;locationId&quot;: &quot;A String&quot;, # Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application&#x27;s end user content is stored.Defaults to us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations).
242 &quot;name&quot;: &quot;A String&quot;, # Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly
243 &quot;servingStatus&quot;: &quot;A String&quot;, # Serving status of this application.
244}</pre>
Jon Wayne Parrottdc6c1ef2016-10-14 11:04:30 -0700245</div>
246
247<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700248 <code class="details" id="patch">patch(appsId, body=None, updateMask=None, x__xgafv=None)</code>
yoshi-code-botbfa2f1c2021-05-08 07:21:27 -0700249 <pre>Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.
Jon Wayne Parrottdc6c1ef2016-10-14 11:04:30 -0700250
251Args:
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800252 appsId: string, Part of `name`. Name of the Application resource to update. Example: apps/myapp. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700253 body: object, The request body.
Jon Wayne Parrottdc6c1ef2016-10-14 11:04:30 -0700254 The object takes the form of:
255
256{ # An Application resource contains the top-level configuration of an App Engine application.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800257 &quot;authDomain&quot;: &quot;A String&quot;, # Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.
258 &quot;codeBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly
259 &quot;databaseType&quot;: &quot;A String&quot;, # The type of the Cloud Firestore or Cloud Datastore database associated with this application.
260 &quot;defaultBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly
261 &quot;defaultCookieExpiration&quot;: &quot;A String&quot;, # Cookie expiration policy for this application.
262 &quot;defaultHostname&quot;: &quot;A String&quot;, # Hostname used to reach this application, as resolved by App Engine.@OutputOnly
263 &quot;dispatchRules&quot;: [ # HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.
264 { # Rules to match an HTTP request and dispatch that request to a service.
265 &quot;domain&quot;: &quot;A String&quot;, # Domain name to match against. The wildcard &quot;*&quot; is supported if specified before a period: &quot;*.&quot;.Defaults to matching all domains: &quot;*&quot;.
266 &quot;path&quot;: &quot;A String&quot;, # Pathname within the host. Must start with a &quot;/&quot;. A single &quot;*&quot; can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
267 &quot;service&quot;: &quot;A String&quot;, # Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800268 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800269 ],
270 &quot;featureSettings&quot;: { # The feature specific settings to be used in the application. These define behaviors that are user configurable. # The feature specific settings to be used in the application.
271 &quot;splitHealthChecks&quot;: True or False, # Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to &#x27;readiness_check&#x27; and &#x27;liveness_check&#x27; values instead of &#x27;health_check&#x27; ones. Once the legacy &#x27;health_check&#x27; behavior is deprecated, and this value is always true, this setting can be removed.
272 &quot;useContainerOptimizedOs&quot;: True or False, # If true, use Container-Optimized OS (https://cloud.google.com/container-optimized-os/) base image for VMs, rather than a base Debian image.
273 },
274 &quot;gcrDomain&quot;: &quot;A String&quot;, # The Google Container Registry domain used for storing managed build docker images for this application.
275 &quot;iap&quot;: { # Identity-Aware Proxy
276 &quot;enabled&quot;: True or False, # Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.
277 &quot;oauth2ClientId&quot;: &quot;A String&quot;, # OAuth2 client ID to use for the authentication flow.
278 &quot;oauth2ClientSecret&quot;: &quot;A String&quot;, # OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly
279 &quot;oauth2ClientSecretSha256&quot;: &quot;A String&quot;, # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
280 },
281 &quot;id&quot;: &quot;A String&quot;, # Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.
282 &quot;locationId&quot;: &quot;A String&quot;, # Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application&#x27;s end user content is stored.Defaults to us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations).
283 &quot;name&quot;: &quot;A String&quot;, # Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly
284 &quot;servingStatus&quot;: &quot;A String&quot;, # Serving status of this application.
285}
Jon Wayne Parrottdc6c1ef2016-10-14 11:04:30 -0700286
287 updateMask: string, Standard field mask for the set of fields to be updated.
288 x__xgafv: string, V1 error format.
Sai Cheemalapati4ba8c232017-06-06 18:46:08 -0400289 Allowed values
290 1 - v1 error format
291 2 - v2 error format
Jon Wayne Parrottdc6c1ef2016-10-14 11:04:30 -0700292
293Returns:
294 An object of the form:
295
296 { # This resource represents a long-running operation that is the result of a network API call.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800297 &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.
298 &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.
299 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
300 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
301 {
302 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
303 },
304 ],
305 &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.
306 },
307 &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.
308 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
309 },
310 &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}.
311 &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.
312 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
313 },
314}</pre>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700315</div>
316
317<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700318 <code class="details" id="repair">repair(appsId, body=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 <pre>Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B&quot;name&quot;%3A&quot;projects%2F-%2FserviceAccounts%2Funique_id&quot;%2C&quot;resource&quot;%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700320
321Args:
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800322 appsId: string, Part of `name`. Name of the application to repair. Example: apps/myapp (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700323 body: object, The request body.
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700324 The object takes the form of:
325
Bu Sun Kim65020912020-05-20 12:08:20 -0700326{ # Request message for &#x27;Applications.RepairApplication&#x27;.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800327}
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700328
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
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700333
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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800338 &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.
339 &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.
340 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
341 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
342 {
343 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
344 },
345 ],
346 &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.
347 },
348 &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.
349 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
350 },
351 &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}.
352 &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.
353 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
354 },
355}</pre>
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700356</div>
357
358</body></html>