Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#### tpu:v2alpha1 The following keys were added: - resources.projects.resources.locations.resources.reservations.methods.list (Total Keys: 16) - schemas.ListReservationsResponse (Total Keys: 5) - schemas.QueuedResource.properties.createTime (Total Keys: 3) - schemas.Reservation (Total Keys: 4) - schemas.Standard (Total Keys: 8) - schemas.Usage (Total Keys: 4)
- Loading branch information
1 parent
5b59e9b
commit 28a8222
Showing
7 changed files
with
280 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
144 changes: 144 additions & 0 deletions
144
docs/dyn/tpu_v2alpha1.projects.locations.reservations.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<html><body> | ||
<style> | ||
|
||
body, h1, h2, h3, div, span, p, pre, a { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-weight: inherit; | ||
font-style: inherit; | ||
font-size: 100%; | ||
font-family: inherit; | ||
vertical-align: baseline; | ||
} | ||
|
||
body { | ||
font-size: 13px; | ||
padding: 1em; | ||
} | ||
|
||
h1 { | ||
font-size: 26px; | ||
margin-bottom: 1em; | ||
} | ||
|
||
h2 { | ||
font-size: 24px; | ||
margin-bottom: 1em; | ||
} | ||
|
||
h3 { | ||
font-size: 20px; | ||
margin-bottom: 1em; | ||
margin-top: 1em; | ||
} | ||
|
||
pre, code { | ||
line-height: 1.5; | ||
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; | ||
} | ||
|
||
pre { | ||
margin-top: 0.5em; | ||
} | ||
|
||
h1, h2, h3, p { | ||
font-family: Arial, sans serif; | ||
} | ||
|
||
h1, h2, h3 { | ||
border-bottom: solid #CCC 1px; | ||
} | ||
|
||
.toc_element { | ||
margin-top: 0.5em; | ||
} | ||
|
||
.firstline { | ||
margin-left: 2 em; | ||
} | ||
|
||
.method { | ||
margin-top: 1em; | ||
border: solid 1px #CCC; | ||
padding: 1em; | ||
background: #EEE; | ||
} | ||
|
||
.details { | ||
font-weight: bold; | ||
font-size: 14px; | ||
} | ||
|
||
</style> | ||
|
||
<h1><a href="tpu_v2alpha1.html">Cloud TPU API</a> . <a href="tpu_v2alpha1.projects.html">projects</a> . <a href="tpu_v2alpha1.projects.locations.html">locations</a> . <a href="tpu_v2alpha1.projects.locations.reservations.html">reservations</a></h1> | ||
<h2>Instance Methods</h2> | ||
<p class="toc_element"> | ||
<code><a href="#close">close()</a></code></p> | ||
<p class="firstline">Close httplib2 connections.</p> | ||
<p class="toc_element"> | ||
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> | ||
<p class="firstline">Retrieves the reservations for the given project in the given location.</p> | ||
<p class="toc_element"> | ||
<code><a href="#list_next">list_next()</a></code></p> | ||
<p class="firstline">Retrieves the next page of results.</p> | ||
<h3>Method Details</h3> | ||
<div class="method"> | ||
<code class="details" id="close">close()</code> | ||
<pre>Close httplib2 connections.</pre> | ||
</div> | ||
|
||
<div class="method"> | ||
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> | ||
<pre>Retrieves the reservations for the given project in the given location. | ||
|
||
Args: | ||
parent: string, Required. The parent for reservations. (required) | ||
pageSize: integer, The maximum number of items to return. | ||
pageToken: string, The next_page_token value returned from a previous List request, if any. | ||
x__xgafv: string, V1 error format. | ||
Allowed values | ||
1 - v1 error format | ||
2 - v2 error format | ||
|
||
Returns: | ||
An object of the form: | ||
|
||
{ # Response for ListReservations. | ||
"nextPageToken": "A String", # The next page token or empty if none. | ||
"reservations": [ # The listed reservations. | ||
{ # A reservation describes the amount of a resource 'allotted' for a defined period of time. | ||
"name": "A String", # The reservation name with the format: projects/{projectID}/locations/{location}/reservations/{reservationID} | ||
"standard": { | ||
"capacityUnits": "A String", | ||
"interval": { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # The start and end time of the reservation. | ||
"endTime": "A String", # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. | ||
"startTime": "A String", # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. | ||
}, | ||
"resourceType": "A String", # The resource type of the reservation. | ||
"size": 42, # The size of the reservation, in the units specified in the 'capacity_units' field. | ||
"usage": { | ||
"total": "A String", # The real-time value of usage within the reservation, with the unit specified in field capacity_units. | ||
}, | ||
}, | ||
}, | ||
], | ||
}</pre> | ||
</div> | ||
|
||
<div class="method"> | ||
<code class="details" id="list_next">list_next()</code> | ||
<pre>Retrieves the next page of results. | ||
|
||
Args: | ||
previous_request: The request for the previous page. (required) | ||
previous_response: The response from the request for the previous page. (required) | ||
|
||
Returns: | ||
A request object that you can call 'execute()' on to request the next | ||
page. Returns None if there are no more items in the collection. | ||
</pre> | ||
</div> | ||
|
||
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters