blob: da77aad67c2e0093e02f859aaf81f8744fa24ca1 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -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
75<h1><a href="bigqueryreservation_v1alpha2.html">BigQuery Reservation API</a> . <a href="bigqueryreservation_v1alpha2.projects.html">projects</a> . <a href="bigqueryreservation_v1alpha2.projects.locations.html">locations</a> . <a href="bigqueryreservation_v1alpha2.projects.locations.reservations.html">reservations</a> . <a href="bigqueryreservation_v1alpha2.projects.locations.reservations.slotPools.html">slotPools</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
79<p class="firstline">Deletes a slot pool. Attempting to delete slot pool before its</p>
80<p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Returns information about the slot pool.</p>
83<p class="toc_element">
84 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Lists all the slot pools for the reservation.</p>
86<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<h3>Method Details</h3>
90<div class="method">
91 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
92 <pre>Deletes a slot pool. Attempting to delete slot pool before its
93commitment_end_time will fail with the error code
94`google.rpc.Code.FAILED_PRECONDITION`.
95
96Args:
97 name: string, Resource name of the slot pool to delete. E.g.,
98 projects/myproject/locations/us-central1/reservations/my_reservation/slotPools/123 (required)
99 x__xgafv: string, V1 error format.
100 Allowed values
101 1 - v1 error format
102 2 - v2 error format
103
104Returns:
105 An object of the form:
106
107 { # A generic empty message that you can re-use to avoid defining duplicated
108 # empty messages in your APIs. A typical example is to use it as the request
109 # or the response type of an API method. For instance:
110 #
111 # service Foo {
112 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
113 # }
114 #
115 # The JSON representation for `Empty` is empty JSON object `{}`.
116 }</pre>
117</div>
118
119<div class="method">
120 <code class="details" id="get">get(name, x__xgafv=None)</code>
121 <pre>Returns information about the slot pool.
122
123Args:
124 name: string, Resource name of the slot pool to retrieve. E.g.,
125 projects/myproject/locations/us-central1/reservations/my_reservation/slotPools/123 (required)
126 x__xgafv: string, V1 error format.
127 Allowed values
128 1 - v1 error format
129 2 - v2 error format
130
131Returns:
132 An object of the form:
133
134 { # Slot pool is a way to purchase slots with some minimum committed period of
135 # usage. Slot pool is immutable and cannot be deleted until the end of the
136 # commitment period. After the end of the commitment period, slots are still
137 # available but can be freely removed any time. Annual commitments will
138 # automatically be downgraded to monthly after the commitment ends.
139 #
140 # A slot pool resource exists as a child resource of a top-level reservation.
141 # Sum of all the ACTIVE pools slot_count is always equal to the reservation
142 # slot_capacity.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700143 &quot;plan&quot;: &quot;A String&quot;, # Slot pool commitment plan.
144 &quot;slotCount&quot;: &quot;A String&quot;, # Number of slots in this pool.
Bu Sun Kim65020912020-05-20 12:08:20 -0700145 &quot;failureStatus&quot;: { # The `Status` type defines a logical error model that is suitable for # Output only. For FAILED slot pool, provides the reason of failure.
146 # different programming environments, including REST APIs and RPC APIs. It is
147 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
148 # three pieces of data: error code, error message, and error details.
149 #
150 # You can find out more about this error model and how to work with it in the
151 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700152 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
154 # user-facing error message should be localized and sent in the
155 # google.rpc.Status.details field, or localized by the client.
156 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
157 # message types for APIs to use.
158 {
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
160 },
161 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 },
163 &quot;commitmentEndTime&quot;: &quot;A String&quot;, # Output only. The end of the commitment period. Slot pool cannot be
164 # removed before commitment_end_time. It is applicable only for ACTIVE slot
165 # pools and is computed as a combination of the plan and the time when the
166 # slot pool became ACTIVE.
167 &quot;state&quot;: &quot;A String&quot;, # Output only.
168 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the slot pool, e.g.,
169 # projects/myproject/locations/us-central1/reservations/myreservation/slotPools/123
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 }</pre>
171</div>
172
173<div class="method">
174 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
175 <pre>Lists all the slot pools for the reservation.
176
177Args:
178 parent: string, Resource name of the parent reservation. Only top-level reservations can
179have slot pools. E.g.,
180 projects/myproject/locations/us-central1/reservations/my_reservation (required)
181 pageToken: string, The next_page_token value returned from a previous List request, if any.
182 pageSize: integer, The maximum number of items to return.
183 x__xgafv: string, V1 error format.
184 Allowed values
185 1 - v1 error format
186 2 - v2 error format
187
188Returns:
189 An object of the form:
190
191 { # The response for ReservationService.ListSlotPools.
192 &quot;slotPools&quot;: [ # List of slot pools visible to the user.
193 { # Slot pool is a way to purchase slots with some minimum committed period of
194 # usage. Slot pool is immutable and cannot be deleted until the end of the
195 # commitment period. After the end of the commitment period, slots are still
196 # available but can be freely removed any time. Annual commitments will
197 # automatically be downgraded to monthly after the commitment ends.
198 #
199 # A slot pool resource exists as a child resource of a top-level reservation.
200 # Sum of all the ACTIVE pools slot_count is always equal to the reservation
201 # slot_capacity.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700202 &quot;plan&quot;: &quot;A String&quot;, # Slot pool commitment plan.
203 &quot;slotCount&quot;: &quot;A String&quot;, # Number of slots in this pool.
Bu Sun Kim65020912020-05-20 12:08:20 -0700204 &quot;failureStatus&quot;: { # The `Status` type defines a logical error model that is suitable for # Output only. For FAILED slot pool, provides the reason of failure.
205 # different programming environments, including REST APIs and RPC APIs. It is
206 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
207 # three pieces of data: error code, error message, and error details.
208 #
209 # You can find out more about this error model and how to work with it in the
210 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700211 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700212 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
213 # user-facing error message should be localized and sent in the
214 # google.rpc.Status.details field, or localized by the client.
215 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
216 # message types for APIs to use.
217 {
218 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
219 },
220 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700221 },
222 &quot;commitmentEndTime&quot;: &quot;A String&quot;, # Output only. The end of the commitment period. Slot pool cannot be
223 # removed before commitment_end_time. It is applicable only for ACTIVE slot
224 # pools and is computed as a combination of the plan and the time when the
225 # slot pool became ACTIVE.
226 &quot;state&quot;: &quot;A String&quot;, # Output only.
227 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the slot pool, e.g.,
228 # projects/myproject/locations/us-central1/reservations/myreservation/slotPools/123
Bu Sun Kim65020912020-05-20 12:08:20 -0700229 },
230 ],
231 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no
232 # more results in the list.
233 }</pre>
234</div>
235
236<div class="method">
237 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
238 <pre>Retrieves the next page of results.
239
240Args:
241 previous_request: The request for the previous page. (required)
242 previous_response: The response from the request for the previous page. (required)
243
244Returns:
245 A request object that you can call &#x27;execute()&#x27; on to request the next
246 page. Returns None if there are no more items in the collection.
247 </pre>
248</div>
249
250</body></html>