You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Partially updates a cluster within a project. This method is the preferred way to update a Cluster.
258
+
259
+
Args:
260
+
name: string, The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`. (required)
261
+
body: object, The request body.
262
+
The object takes the form of:
263
+
264
+
{ # A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.
265
+
"defaultStorageType": "A String", # Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
266
+
"encryptionConfig": { # Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected cluster. # Immutable. The encryption configuration for CMEK-protected clusters.
267
+
"kmsKeyName": "A String", # Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. 3) All clusters within an instance must use the same CMEK key. Values are of the form `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}`
268
+
},
269
+
"location": "A String", # Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form `projects/{project}/locations/{zone}`.
270
+
"name": "A String", # The unique name of the cluster. Values are of the form `projects/{project}/instances/{instance}/clusters/a-z*`.
271
+
"serveNodes": 42, # Required. The number of nodes allocated to this cluster. More nodes enable higher throughput and more consistent performance.
272
+
"state": "A String", # Output only. The current state of the cluster.
273
+
}
274
+
275
+
updateMask: string, Required. The subset of Cluster fields which should be replaced. Must be explicitly set.
276
+
x__xgafv: string, V1 error format.
277
+
Allowed values
278
+
1 - v1 error format
279
+
2 - v2 error format
280
+
281
+
Returns:
282
+
An object of the form:
283
+
284
+
{ # This resource represents a long-running operation that is the result of a network API call.
285
+
"done": 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.
286
+
"error": { # 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.
287
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
288
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
289
+
{
290
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
291
+
},
292
+
],
293
+
"message": "A String", # 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.
294
+
},
295
+
"metadata": { # 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.
296
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
297
+
},
298
+
"name": "A String", # 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}`.
299
+
"response": { # 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`.
300
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
Copy file name to clipboardExpand all lines: docs/dyn/cloudscheduler_v1.projects.locations.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ <h3>Method Details</h3>
131
131
Args:
132
132
name: string, The resource that owns the locations collection, if applicable. (required)
133
133
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
134
-
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
134
+
pageSize: integer, The maximum number of results to return. If not set, the service will select a default.
135
135
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
Copy file name to clipboardExpand all lines: docs/dyn/cloudscheduler_v1beta1.projects.locations.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ <h3>Method Details</h3>
131
131
Args:
132
132
name: string, The resource that owns the locations collection, if applicable. (required)
133
133
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
134
-
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
134
+
pageSize: integer, The maximum number of results to return. If not set, the service will select a default.
135
135
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
0 commit comments