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
Copy file name to clipboardExpand all lines: docs/dyn/file_v1.projects.locations.backups.html
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,9 @@ <h3>Method Details</h3>
127
127
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
128
128
"state": "A String", # Output only. The backup state.
129
129
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
130
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
131
+
"a_key": "A String",
132
+
},
130
133
}
131
134
132
135
backupId: string, Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
@@ -225,6 +228,9 @@ <h3>Method Details</h3>
225
228
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
226
229
"state": "A String", # Output only. The backup state.
227
230
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
231
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
232
+
"a_key": "A String",
233
+
},
228
234
}</pre>
229
235
</div>
230
236
@@ -265,6 +271,9 @@ <h3>Method Details</h3>
265
271
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
266
272
"state": "A String", # Output only. The backup state.
267
273
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
274
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
275
+
"a_key": "A String",
276
+
},
268
277
},
269
278
],
270
279
"nextPageToken": "A String", # The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
@@ -314,6 +323,9 @@ <h3>Method Details</h3>
314
323
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
315
324
"state": "A String", # Output only. The backup state.
316
325
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
326
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
327
+
"a_key": "A String",
328
+
},
317
329
}
318
330
319
331
updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this field.
<pclass="firstline">Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).</p>
@@ -181,6 +184,9 @@ <h3>Method Details</h3>
181
184
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
182
185
"A String",
183
186
],
187
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
188
+
"a_key": "A String",
189
+
},
184
190
"tier": "A String", # The service tier of the instance.
185
191
}
186
192
@@ -324,6 +330,9 @@ <h3>Method Details</h3>
324
330
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
325
331
"A String",
326
332
],
333
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
334
+
"a_key": "A String",
335
+
},
327
336
"tier": "A String", # The service tier of the instance.
328
337
}</pre>
329
338
</div>
@@ -408,6 +417,9 @@ <h3>Method Details</h3>
408
417
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
409
418
"A String",
410
419
],
420
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
421
+
"a_key": "A String",
422
+
},
411
423
"tier": "A String", # The service tier of the instance.
412
424
},
413
425
],
@@ -501,6 +513,9 @@ <h3>Method Details</h3>
501
513
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
502
514
"A String",
503
515
],
516
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
517
+
"a_key": "A String",
518
+
},
504
519
"tier": "A String", # The service tier of the instance.
name: string, Required. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. (required)
558
+
body: object, The request body.
559
+
The object takes the form of:
560
+
561
+
{ # PromoteReplicaRequest promotes a Filestore standby instance (replica).
562
+
}
563
+
564
+
x__xgafv: string, V1 error format.
565
+
Allowed values
566
+
1 - v1 error format
567
+
2 - v2 error format
568
+
569
+
Returns:
570
+
An object of the form:
571
+
572
+
{ # This resource represents a long-running operation that is the result of a network API call.
573
+
"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.
574
+
"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.
575
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
576
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
577
+
{
578
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
579
+
},
580
+
],
581
+
"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.
582
+
},
583
+
"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.
584
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
585
+
},
586
+
"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}`.
587
+
"response": { # The normal, successful response of the operation. 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`.
588
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
<pre>Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).
Copy file name to clipboardExpand all lines: docs/dyn/file_v1.projects.locations.instances.snapshots.html
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,9 @@ <h3>Method Details</h3>
119
119
},
120
120
"name": "A String", # Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.
121
121
"state": "A String", # Output only. The snapshot state.
122
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
123
+
"a_key": "A String",
124
+
},
122
125
}
123
126
124
127
snapshotId: string, Required. The ID to use for the snapshot. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
@@ -209,6 +212,9 @@ <h3>Method Details</h3>
209
212
},
210
213
"name": "A String", # Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.
211
214
"state": "A String", # Output only. The snapshot state.
215
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
216
+
"a_key": "A String",
217
+
},
212
218
}</pre>
213
219
</div>
214
220
@@ -242,6 +248,9 @@ <h3>Method Details</h3>
242
248
},
243
249
"name": "A String", # Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.
244
250
"state": "A String", # Output only. The snapshot state.
251
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
252
+
"a_key": "A String",
253
+
},
245
254
},
246
255
],
247
256
}</pre>
@@ -279,6 +288,9 @@ <h3>Method Details</h3>
279
288
},
280
289
"name": "A String", # Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.
281
290
"state": "A String", # Output only. The snapshot state.
291
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
292
+
"a_key": "A String",
293
+
},
282
294
}
283
295
284
296
updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this field.
Copy file name to clipboardExpand all lines: docs/dyn/file_v1beta1.projects.locations.backups.html
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,9 @@ <h3>Method Details</h3>
127
127
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
128
128
"state": "A String", # Output only. The backup state.
129
129
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
130
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
131
+
"a_key": "A String",
132
+
},
130
133
}
131
134
132
135
backupId: string, Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
@@ -225,6 +228,9 @@ <h3>Method Details</h3>
225
228
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
226
229
"state": "A String", # Output only. The backup state.
227
230
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
231
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
232
+
"a_key": "A String",
233
+
},
228
234
}</pre>
229
235
</div>
230
236
@@ -265,6 +271,9 @@ <h3>Method Details</h3>
265
271
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
266
272
"state": "A String", # Output only. The backup state.
267
273
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
274
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
275
+
"a_key": "A String",
276
+
},
268
277
},
269
278
],
270
279
"nextPageToken": "A String", # The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
@@ -314,6 +323,9 @@ <h3>Method Details</h3>
314
323
"sourceInstanceTier": "A String", # Output only. The service tier of the source Filestore instance that this backup is created from.
315
324
"state": "A String", # Output only. The backup state.
316
325
"storageBytes": "A String", # Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
326
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
327
+
"a_key": "A String",
328
+
},
317
329
}
318
330
319
331
updateMask: string, Required. Mask of fields to update. At least one path must be supplied in this field.
Copy file name to clipboardExpand all lines: docs/dyn/file_v1beta1.projects.locations.instances.html
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,9 @@ <h3>Method Details</h3>
204
204
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
205
205
"A String",
206
206
],
207
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
208
+
"a_key": "A String",
209
+
},
207
210
"tier": "A String", # The service tier of the instance.
208
211
}
209
212
@@ -362,6 +365,9 @@ <h3>Method Details</h3>
362
365
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
363
366
"A String",
364
367
],
368
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
369
+
"a_key": "A String",
370
+
},
365
371
"tier": "A String", # The service tier of the instance.
366
372
}</pre>
367
373
</div>
@@ -461,6 +467,9 @@ <h3>Method Details</h3>
461
467
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
462
468
"A String",
463
469
],
470
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
471
+
"a_key": "A String",
472
+
},
464
473
"tier": "A String", # The service tier of the instance.
465
474
},
466
475
],
@@ -569,6 +578,9 @@ <h3>Method Details</h3>
569
578
"suspensionReasons": [ # Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
570
579
"A String",
571
580
],
581
+
"tags": { # Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
582
+
"a_key": "A String",
583
+
},
572
584
"tier": "A String", # The service tier of the instance.
0 commit comments