Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7f7091d

Browse files
committedOct 17, 2023
feat(appengine): update the api
#### appengine:v1 The following keys were deleted: - schemas.ProjectState (Total Keys: 7) The following keys were added: - schemas.ContainerState (Total Keys: 7) The following keys were changed: - schemas.ProjectEvent.properties.state.$ref (Total Keys: 1) #### appengine:v1alpha The following keys were deleted: - schemas.ProjectState (Total Keys: 7) The following keys were added: - schemas.ContainerState (Total Keys: 7) The following keys were changed: - schemas.ProjectEvent.properties.state.$ref (Total Keys: 1) #### appengine:v1beta The following keys were deleted: - resources.apps.resources.runtimes.methods.list (Total Keys: 12) - schemas.ProjectState (Total Keys: 7) The following keys were added: - resources.apps.methods.listRuntimes (Total Keys: 12) - schemas.ContainerState (Total Keys: 7) The following keys were changed: - schemas.ProjectEvent.properties.state.$ref (Total Keys: 1)
1 parent 3b88615 commit 7f7091d

File tree

4 files changed

+270
-227
lines changed

4 files changed

+270
-227
lines changed
 

‎docs/dyn/appengine_v1beta.apps.html

+52-5
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ <h2>Instance Methods</h2>
104104
</p>
105105
<p class="firstline">Returns the operations Resource.</p>
106106

107-
<p class="toc_element">
108-
<code><a href="appengine_v1beta.apps.runtimes.html">runtimes()</a></code>
109-
</p>
110-
<p class="firstline">Returns the runtimes Resource.</p>
111-
112107
<p class="toc_element">
113108
<code><a href="appengine_v1beta.apps.services.html">services()</a></code>
114109
</p>
@@ -123,6 +118,9 @@ <h2>Instance Methods</h2>
123118
<p class="toc_element">
124119
<code><a href="#get">get(appsId, includeExtraData=None, x__xgafv=None)</a></code></p>
125120
<p class="firstline">Gets information about an application.</p>
121+
<p class="toc_element">
122+
<code><a href="#listRuntimes">listRuntimes(appsId, environment=None, x__xgafv=None)</a></code></p>
123+
<p class="firstline">Lists all the available runtimes for the application.</p>
126124
<p class="toc_element">
127125
<code><a href="#patch">patch(appsId, body=None, updateMask=None, x__xgafv=None)</a></code></p>
128126
<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>
@@ -262,6 +260,55 @@ <h3>Method Details</h3>
262260
}</pre>
263261
</div>
264262

263+
<div class="method">
264+
<code class="details" id="listRuntimes">listRuntimes(appsId, environment=None, x__xgafv=None)</code>
265+
<pre>Lists all the available runtimes for the application.
266+
267+
Args:
268+
appsId: string, Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. (required)
269+
environment: string, Optional. The environment of the Application.
270+
Allowed values
271+
ENVIRONMENT_UNSPECIFIED - Default value.
272+
STANDARD - App Engine Standard.
273+
FLEXIBLE - App Engine Flexible
274+
x__xgafv: string, V1 error format.
275+
Allowed values
276+
1 - v1 error format
277+
2 - v2 error format
278+
279+
Returns:
280+
An object of the form:
281+
282+
{ # Response message for Applications.ListRuntimes.
283+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token for fetching the next page of results.
284+
&quot;runtimes&quot;: [ # The runtimes available to the requested application.
285+
{ # Runtime versions for App Engine.
286+
&quot;decommissionedDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Date when Runtime is decommissioned.
287+
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
288+
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
289+
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
290+
},
291+
&quot;deprecationDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Date when Runtime is deprecated.
292+
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
293+
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
294+
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
295+
},
296+
&quot;endOfSupportDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp # Date when Runtime is end of support.
297+
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
298+
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
299+
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
300+
},
301+
&quot;environment&quot;: &quot;A String&quot;, # The environment of the runtime.
302+
&quot;name&quot;: &quot;A String&quot;, # The name of the runtime, e.g., &#x27;go113&#x27;, &#x27;nodejs12&#x27;, etc.
303+
&quot;stage&quot;: &quot;A String&quot;, # The stage of life this runtime is in, e.g., BETA, GA, etc.
304+
&quot;warnings&quot;: [ # Warning messages, e.g., a deprecation warning.
305+
&quot;A String&quot;,
306+
],
307+
},
308+
],
309+
}</pre>
310+
</div>
311+
265312
<div class="method">
266313
<code class="details" id="patch">patch(appsId, body=None, updateMask=None, x__xgafv=None)</code>
267314
<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.

0 commit comments

Comments
 (0)
Please sign in to comment.