blob: 04f9facf878842599b143232454f2d56a7918000 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -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="bigtableadmin_v2.html">Cloud Bigtable Admin API</a> . <a href="bigtableadmin_v2.projects.html">projects</a> . <a href="bigtableadmin_v2.projects.instances.html">instances</a> . <a href="bigtableadmin_v2.projects.instances.clusters.html">clusters</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="bigtableadmin_v2.projects.instances.clusters.backups.html">backups()</a></code>
79</p>
80<p class="firstline">Returns the backups Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#create">create(parent, body=None, clusterId=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084<p class="firstline">Creates a cluster within an instance.</p>
85<p class="toc_element">
86 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
87<p class="firstline">Deletes a cluster from an instance.</p>
88<p class="toc_element">
89 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Gets information about a cluster.</p>
91<p class="toc_element">
92 <code><a href="#list">list(parent, pageToken=None, x__xgafv=None)</a></code></p>
93<p class="firstline">Lists information about clusters in an instance.</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="#update">update(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099<p class="firstline">Updates a cluster within an instance.</p>
100<h3>Method Details</h3>
101<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 <code class="details" id="create">create(parent, body=None, clusterId=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103 <pre>Creates a cluster within an instance.
104
105Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700106 parent: string, Required. The unique name of the instance in which to create the new cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700107Values are of the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700108`projects/{project}/instances/{instance}`. (required)
109 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110 The object takes the form of:
111
112{ # A resizable group of nodes in a particular cloud location, capable
113 # of serving all Tables in the parent
114 # Instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700115 &quot;serveNodes&quot;: 42, # Required. The number of nodes allocated to this cluster. More nodes enable higher
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700116 # throughput and more consistent performance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700117 &quot;defaultStorageType&quot;: &quot;A String&quot;, # (`CreationOnly`)
118 # The type of storage used by this cluster to serve its
119 # parent instance&#x27;s tables, unless explicitly overridden.
120 &quot;location&quot;: &quot;A String&quot;, # (`CreationOnly`)
121 # The location where this cluster&#x27;s nodes and storage reside. For best
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700122 # performance, clients should be located as close as possible to this
123 # cluster. Currently only zones are supported, so values should be of the
Dan O'Mearadd494642020-05-01 07:42:23 -0700124 # form `projects/{project}/locations/{zone}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700125 &quot;state&quot;: &quot;A String&quot;, # (`OutputOnly`)
126 # The current state of the cluster.
127 &quot;name&quot;: &quot;A String&quot;, # Required. (`OutputOnly`)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128 # The unique name of the cluster. Values are of the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700129 # `projects/{project}/instances/{instance}/clusters/a-z*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700130}
131
Dan O'Mearadd494642020-05-01 07:42:23 -0700132 clusterId: string, Required. The ID to be used when referring to the new cluster within its instance,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700133e.g., just `mycluster` rather than
134`projects/myproject/instances/myinstance/clusters/mycluster`.
135 x__xgafv: string, V1 error format.
136 Allowed values
137 1 - v1 error format
138 2 - v2 error format
139
140Returns:
141 An object of the form:
142
143 { # This resource represents a long-running operation that is the result of a
144 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700145 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
146 # contains progress information and common metadata such as create time.
147 # Some services might not provide such metadata. Any method that returns a
148 # long-running operation should document the metadata type, if any.
149 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
150 },
151 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
152 # If `true`, the operation is completed, and either `error` or `response` is
153 # available.
154 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700155 # method returns no data on success, such as `Delete`, the response is
156 # `google.protobuf.Empty`. If the original method is standard
157 # `Get`/`Create`/`Update`, the response should be the resource. For other
158 # methods, the response should have the type `XxxResponse`, where `Xxx`
159 # is the original method name. For example, if the original method name
160 # is `TakeSnapshot()`, the inferred response type is
161 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700163 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700164 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700165 # originally returns it. If you use the default HTTP mapping, the
166 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700168 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700169 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
170 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700171 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700172 # You can find out more about this error model and how to work with it in the
173 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
175 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700176 # user-facing error message should be localized and sent in the
177 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700178 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700179 # message types for APIs to use.
180 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700182 },
183 ],
184 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700185 }</pre>
186</div>
187
188<div class="method">
189 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
190 <pre>Deletes a cluster from an instance.
191
192Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700193 name: string, Required. The unique name of the cluster to be deleted. Values are of the form
194`projects/{project}/instances/{instance}/clusters/{cluster}`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700195 x__xgafv: string, V1 error format.
196 Allowed values
197 1 - v1 error format
198 2 - v2 error format
199
200Returns:
201 An object of the form:
202
203 { # A generic empty message that you can re-use to avoid defining duplicated
204 # empty messages in your APIs. A typical example is to use it as the request
205 # or the response type of an API method. For instance:
206 #
207 # service Foo {
208 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
209 # }
210 #
211 # The JSON representation for `Empty` is empty JSON object `{}`.
212 }</pre>
213</div>
214
215<div class="method">
216 <code class="details" id="get">get(name, x__xgafv=None)</code>
217 <pre>Gets information about a cluster.
218
219Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700220 name: string, Required. The unique name of the requested cluster. Values are of the form
221`projects/{project}/instances/{instance}/clusters/{cluster}`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700222 x__xgafv: string, V1 error format.
223 Allowed values
224 1 - v1 error format
225 2 - v2 error format
226
227Returns:
228 An object of the form:
229
230 { # A resizable group of nodes in a particular cloud location, capable
231 # of serving all Tables in the parent
232 # Instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 &quot;serveNodes&quot;: 42, # Required. The number of nodes allocated to this cluster. More nodes enable higher
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700234 # throughput and more consistent performance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700235 &quot;defaultStorageType&quot;: &quot;A String&quot;, # (`CreationOnly`)
236 # The type of storage used by this cluster to serve its
237 # parent instance&#x27;s tables, unless explicitly overridden.
238 &quot;location&quot;: &quot;A String&quot;, # (`CreationOnly`)
239 # The location where this cluster&#x27;s nodes and storage reside. For best
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700240 # performance, clients should be located as close as possible to this
241 # cluster. Currently only zones are supported, so values should be of the
Dan O'Mearadd494642020-05-01 07:42:23 -0700242 # form `projects/{project}/locations/{zone}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;state&quot;: &quot;A String&quot;, # (`OutputOnly`)
244 # The current state of the cluster.
245 &quot;name&quot;: &quot;A String&quot;, # Required. (`OutputOnly`)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700246 # The unique name of the cluster. Values are of the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700247 # `projects/{project}/instances/{instance}/clusters/a-z*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700248 }</pre>
249</div>
250
251<div class="method">
252 <code class="details" id="list">list(parent, pageToken=None, x__xgafv=None)</code>
253 <pre>Lists information about clusters in an instance.
254
255Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700256 parent: string, Required. The unique name of the instance for which a list of clusters is requested.
257Values are of the form `projects/{project}/instances/{instance}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700258Use `{instance} = &#x27;-&#x27;` to list Clusters for all Instances in a project,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700259e.g., `projects/myproject/instances/-`. (required)
260 pageToken: string, DEPRECATED: This field is unused and ignored.
261 x__xgafv: string, V1 error format.
262 Allowed values
263 1 - v1 error format
264 2 - v2 error format
265
266Returns:
267 An object of the form:
268
269 { # Response message for BigtableInstanceAdmin.ListClusters.
Bu Sun Kim65020912020-05-20 12:08:20 -0700270 &quot;clusters&quot;: [ # The list of requested clusters.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700271 { # A resizable group of nodes in a particular cloud location, capable
272 # of serving all Tables in the parent
273 # Instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700274 &quot;serveNodes&quot;: 42, # Required. The number of nodes allocated to this cluster. More nodes enable higher
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700275 # throughput and more consistent performance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700276 &quot;defaultStorageType&quot;: &quot;A String&quot;, # (`CreationOnly`)
277 # The type of storage used by this cluster to serve its
278 # parent instance&#x27;s tables, unless explicitly overridden.
279 &quot;location&quot;: &quot;A String&quot;, # (`CreationOnly`)
280 # The location where this cluster&#x27;s nodes and storage reside. For best
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700281 # performance, clients should be located as close as possible to this
282 # cluster. Currently only zones are supported, so values should be of the
Dan O'Mearadd494642020-05-01 07:42:23 -0700283 # form `projects/{project}/locations/{zone}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700284 &quot;state&quot;: &quot;A String&quot;, # (`OutputOnly`)
285 # The current state of the cluster.
286 &quot;name&quot;: &quot;A String&quot;, # Required. (`OutputOnly`)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700287 # The unique name of the cluster. Values are of the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700288 # `projects/{project}/instances/{instance}/clusters/a-z*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700289 },
290 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700291 &quot;failedLocations&quot;: [ # Locations from which Cluster information could not be retrieved,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700292 # due to an outage or some other transient condition.
293 # Clusters from these locations may be missing from `clusters`,
294 # or may only have partial information returned.
Dan O'Mearadd494642020-05-01 07:42:23 -0700295 # Values are of the form `projects/&lt;project&gt;/locations/&lt;zone_id&gt;`
Bu Sun Kim65020912020-05-20 12:08:20 -0700296 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700297 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700298 &quot;nextPageToken&quot;: &quot;A String&quot;, # DEPRECATED: This field is unused and ignored.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700299 }</pre>
300</div>
301
302<div class="method">
303 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
304 <pre>Retrieves the next page of results.
305
306Args:
307 previous_request: The request for the previous page. (required)
308 previous_response: The response from the request for the previous page. (required)
309
310Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700311 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700312 page. Returns None if there are no more items in the collection.
313 </pre>
314</div>
315
316<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700317 <code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700318 <pre>Updates a cluster within an instance.
319
320Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700321 name: string, Required. (`OutputOnly`)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700322The unique name of the cluster. Values are of the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700323`projects/{project}/instances/{instance}/clusters/a-z*`. (required)
324 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700325 The object takes the form of:
326
327{ # A resizable group of nodes in a particular cloud location, capable
328 # of serving all Tables in the parent
329 # Instance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700330 &quot;serveNodes&quot;: 42, # Required. The number of nodes allocated to this cluster. More nodes enable higher
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700331 # throughput and more consistent performance.
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 &quot;defaultStorageType&quot;: &quot;A String&quot;, # (`CreationOnly`)
333 # The type of storage used by this cluster to serve its
334 # parent instance&#x27;s tables, unless explicitly overridden.
335 &quot;location&quot;: &quot;A String&quot;, # (`CreationOnly`)
336 # The location where this cluster&#x27;s nodes and storage reside. For best
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700337 # performance, clients should be located as close as possible to this
338 # cluster. Currently only zones are supported, so values should be of the
Dan O'Mearadd494642020-05-01 07:42:23 -0700339 # form `projects/{project}/locations/{zone}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700340 &quot;state&quot;: &quot;A String&quot;, # (`OutputOnly`)
341 # The current state of the cluster.
342 &quot;name&quot;: &quot;A String&quot;, # Required. (`OutputOnly`)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700343 # The unique name of the cluster. Values are of the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700344 # `projects/{project}/instances/{instance}/clusters/a-z*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700345}
346
347 x__xgafv: string, V1 error format.
348 Allowed values
349 1 - v1 error format
350 2 - v2 error format
351
352Returns:
353 An object of the form:
354
355 { # This resource represents a long-running operation that is the result of a
356 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700357 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
358 # contains progress information and common metadata such as create time.
359 # Some services might not provide such metadata. Any method that returns a
360 # long-running operation should document the metadata type, if any.
361 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
362 },
363 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
364 # If `true`, the operation is completed, and either `error` or `response` is
365 # available.
366 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Dan O'Mearadd494642020-05-01 07:42:23 -0700367 # method returns no data on success, such as `Delete`, the response is
368 # `google.protobuf.Empty`. If the original method is standard
369 # `Get`/`Create`/`Update`, the response should be the resource. For other
370 # methods, the response should have the type `XxxResponse`, where `Xxx`
371 # is the original method name. For example, if the original method name
372 # is `TakeSnapshot()`, the inferred response type is
373 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700374 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700375 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700376 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
Dan O'Mearadd494642020-05-01 07:42:23 -0700377 # originally returns it. If you use the default HTTP mapping, the
378 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700379 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700380 # different programming environments, including REST APIs and RPC APIs. It is
Dan O'Mearadd494642020-05-01 07:42:23 -0700381 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
382 # three pieces of data: error code, error message, and error details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700383 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700384 # You can find out more about this error model and how to work with it in the
385 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700386 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
387 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700388 # user-facing error message should be localized and sent in the
389 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700390 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700391 # message types for APIs to use.
392 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700394 },
395 ],
396 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700397 }</pre>
398</div>
399
400</body></html>