google-apis-gkebackup_v1 0.1.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/gkebackup_v1/classes.rb +127 -173
- data/lib/google/apis/gkebackup_v1/gem_version.rb +2 -2
- data/lib/google/apis/gkebackup_v1/service.rb +135 -118
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkebackupV1
|
18
18
|
# Version of the google-apis-gkebackup_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,8 +118,8 @@ module Google
|
|
118
118
|
# The resource that owns the locations collection, if applicable.
|
119
119
|
# @param [String] filter
|
120
120
|
# A filter to narrow down results to a preferred subset. The filtering language
|
121
|
-
# accepts strings like "displayName=tokyo"
|
122
|
-
# AIP-160](https://google.aip.dev/160).
|
121
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
122
|
+
# in [AIP-160](https://google.aip.dev/160).
|
123
123
|
# @param [Fixnum] page_size
|
124
124
|
# The maximum number of results to return. If not set, the service selects a
|
125
125
|
# default.
|
@@ -159,14 +159,14 @@ module Google
|
|
159
159
|
# Creates a new BackupPlan in a given location.
|
160
160
|
# @param [String] parent
|
161
161
|
# Required. The location within which to create the BackupPlan. Format: projects/
|
162
|
-
#
|
162
|
+
# */locations/*
|
163
163
|
# @param [Google::Apis::GkebackupV1::BackupPlan] backup_plan_object
|
164
164
|
# @param [String] backup_plan_id
|
165
165
|
# Required. The client-provided short name for the BackupPlan resource. This
|
166
|
-
# name must:
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
166
|
+
# name must: - be between 1 and 63 characters long (inclusive) - consist of only
|
167
|
+
# lower-case ASCII letters, numbers, and dashes - start with a lower-case letter
|
168
|
+
# - end with a lower-case letter or number - be unique within the set of
|
169
|
+
# BackupPlans in this location
|
170
170
|
# @param [String] fields
|
171
171
|
# Selector specifying which fields to include in a partial response.
|
172
172
|
# @param [String] quota_user
|
@@ -199,11 +199,11 @@ module Google
|
|
199
199
|
|
200
200
|
# Deletes an existing BackupPlan.
|
201
201
|
# @param [String] name
|
202
|
-
# Required. Fully qualified BackupPlan name. Format: projects
|
203
|
-
#
|
202
|
+
# Required. Fully qualified BackupPlan name. Format: projects/*/locations/*/
|
203
|
+
# backupPlans/*
|
204
204
|
# @param [String] etag
|
205
|
-
# If provided, this value must match the value
|
206
|
-
#
|
205
|
+
# If provided, this value must match the current value of the target BackupPlan'
|
206
|
+
# s etag field or the request is rejected.
|
207
207
|
# @param [String] fields
|
208
208
|
# Selector specifying which fields to include in a partial response.
|
209
209
|
# @param [String] quota_user
|
@@ -234,8 +234,8 @@ module Google
|
|
234
234
|
|
235
235
|
# Retrieve the details of a single BackupPlan.
|
236
236
|
# @param [String] name
|
237
|
-
# Required. Fully qualified BackupPlan name. Format: projects
|
238
|
-
#
|
237
|
+
# Required. Fully qualified BackupPlan name. Format: projects/*/locations/*/
|
238
|
+
# backupPlans/*
|
239
239
|
# @param [String] fields
|
240
240
|
# Selector specifying which fields to include in a partial response.
|
241
241
|
# @param [String] quota_user
|
@@ -266,8 +266,9 @@ module Google
|
|
266
266
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
267
267
|
# resource exists and does not have a policy set.
|
268
268
|
# @param [String] resource
|
269
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
270
|
-
#
|
269
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
270
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
271
|
+
# appropriate value for this field.
|
271
272
|
# @param [Fixnum] options_requested_policy_version
|
272
273
|
# Optional. The maximum policy version that will be used to format the policy.
|
273
274
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -310,11 +311,11 @@ module Google
|
|
310
311
|
# Lists BackupPlans in a given location.
|
311
312
|
# @param [String] parent
|
312
313
|
# Required. The location that contains the BackupPlans to list. Format: projects/
|
313
|
-
#
|
314
|
+
# */locations/*
|
314
315
|
# @param [String] filter
|
315
|
-
#
|
316
|
+
# Field match expression used to filter the results.
|
316
317
|
# @param [String] order_by
|
317
|
-
#
|
318
|
+
# Field by which to sort the results.
|
318
319
|
# @param [Fixnum] page_size
|
319
320
|
# The target number of results to return in a single response. If not specified,
|
320
321
|
# a default value will be chosen by the service. Note that the response may
|
@@ -358,8 +359,8 @@ module Google
|
|
358
359
|
|
359
360
|
# Update a BackupPlan.
|
360
361
|
# @param [String] name
|
361
|
-
# Output only.
|
362
|
-
#
|
362
|
+
# Output only. The full name of the BackupPlan resource. Format: projects/*/
|
363
|
+
# locations/*/backupPlans/*
|
363
364
|
# @param [Google::Apis::GkebackupV1::BackupPlan] backup_plan_object
|
364
365
|
# @param [String] update_mask
|
365
366
|
# This is used to specify the fields to be overwritten in the BackupPlan
|
@@ -404,8 +405,9 @@ module Google
|
|
404
405
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
405
406
|
# PERMISSION_DENIED` errors.
|
406
407
|
# @param [String] resource
|
407
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
408
|
-
#
|
408
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
409
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
410
|
+
# appropriate value for this field.
|
409
411
|
# @param [Google::Apis::GkebackupV1::SetIamPolicyRequest] set_iam_policy_request_object
|
410
412
|
# @param [String] fields
|
411
413
|
# Selector specifying which fields to include in a partial response.
|
@@ -442,8 +444,9 @@ module Google
|
|
442
444
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
443
445
|
# This operation may "fail open" without warning.
|
444
446
|
# @param [String] resource
|
445
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
446
|
-
#
|
447
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
448
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
449
|
+
# appropriate value for this field.
|
447
450
|
# @param [Google::Apis::GkebackupV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
448
451
|
# @param [String] fields
|
449
452
|
# Selector specifying which fields to include in a partial response.
|
@@ -476,15 +479,15 @@ module Google
|
|
476
479
|
|
477
480
|
# Creates a Backup for the given BackupPlan.
|
478
481
|
# @param [String] parent
|
479
|
-
# Required. The BackupPlan within which to create the Backup. Format: projects
|
480
|
-
#
|
482
|
+
# Required. The BackupPlan within which to create the Backup. Format: projects/*/
|
483
|
+
# locations/*/backupPlans/*
|
481
484
|
# @param [Google::Apis::GkebackupV1::Backup] backup_object
|
482
485
|
# @param [String] backup_id
|
483
|
-
# The client-provided short name for the Backup resource. This name must:
|
484
|
-
# between 1 and 63 characters long (inclusive)
|
485
|
-
# ASCII letters, numbers, and dashes
|
486
|
-
#
|
487
|
-
#
|
486
|
+
# The client-provided short name for the Backup resource. This name must: - be
|
487
|
+
# between 1 and 63 characters long (inclusive) - consist of only lower-case
|
488
|
+
# ASCII letters, numbers, and dashes - start with a lower-case letter - end with
|
489
|
+
# a lower-case letter or number - be unique within the set of Backups in this
|
490
|
+
# BackupPlan
|
488
491
|
# @param [String] fields
|
489
492
|
# Selector specifying which fields to include in a partial response.
|
490
493
|
# @param [String] quota_user
|
@@ -517,13 +520,14 @@ module Google
|
|
517
520
|
|
518
521
|
# Deletes an existing Backup.
|
519
522
|
# @param [String] name
|
520
|
-
# Required. Name of the Backup resource. Format: projects
|
521
|
-
#
|
523
|
+
# Required. Name of the Backup resource. Format: projects/*/locations/*/
|
524
|
+
# backupPlans/*/backups/*
|
522
525
|
# @param [String] etag
|
523
|
-
#
|
526
|
+
# If provided, this value must match the current value of the target Backup's
|
527
|
+
# etag field or the request is rejected.
|
524
528
|
# @param [Boolean] force
|
525
|
-
# If set to true, any
|
526
|
-
# Otherwise, the request will only succeed if the
|
529
|
+
# If set to true, any VolumeBackups below this Backup will also be deleted.
|
530
|
+
# Otherwise, the request will only succeed if the Backup has no VolumeBackups.
|
527
531
|
# @param [String] fields
|
528
532
|
# Selector specifying which fields to include in a partial response.
|
529
533
|
# @param [String] quota_user
|
@@ -555,8 +559,8 @@ module Google
|
|
555
559
|
|
556
560
|
# Retrieve the details of a single Backup.
|
557
561
|
# @param [String] name
|
558
|
-
# Required. Full name of the Backup resource. Format: projects
|
559
|
-
#
|
562
|
+
# Required. Full name of the Backup resource. Format: projects/*/locations/*/
|
563
|
+
# backupPlans/*/backups/*
|
560
564
|
# @param [String] fields
|
561
565
|
# Selector specifying which fields to include in a partial response.
|
562
566
|
# @param [String] quota_user
|
@@ -587,8 +591,9 @@ module Google
|
|
587
591
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
588
592
|
# resource exists and does not have a policy set.
|
589
593
|
# @param [String] resource
|
590
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
591
|
-
#
|
594
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
595
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
596
|
+
# appropriate value for this field.
|
592
597
|
# @param [Fixnum] options_requested_policy_version
|
593
598
|
# Optional. The maximum policy version that will be used to format the policy.
|
594
599
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -630,12 +635,12 @@ module Google
|
|
630
635
|
|
631
636
|
# Lists the Backups for a given BackupPlan.
|
632
637
|
# @param [String] parent
|
633
|
-
# Required. The BackupPlan that contains the Backups to list. Format: projects
|
634
|
-
#
|
638
|
+
# Required. The BackupPlan that contains the Backups to list. Format: projects/*/
|
639
|
+
# locations/*/backupPlans/*
|
635
640
|
# @param [String] filter
|
636
|
-
#
|
641
|
+
# Field match expression used to filter the results.
|
637
642
|
# @param [String] order_by
|
638
|
-
#
|
643
|
+
# Field by which to sort the results.
|
639
644
|
# @param [Fixnum] page_size
|
640
645
|
# The target number of results to return in a single response. If not specified,
|
641
646
|
# a default value will be chosen by the service. Note that the response may
|
@@ -723,8 +728,9 @@ module Google
|
|
723
728
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
724
729
|
# PERMISSION_DENIED` errors.
|
725
730
|
# @param [String] resource
|
726
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
727
|
-
#
|
731
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
732
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
733
|
+
# appropriate value for this field.
|
728
734
|
# @param [Google::Apis::GkebackupV1::SetIamPolicyRequest] set_iam_policy_request_object
|
729
735
|
# @param [String] fields
|
730
736
|
# Selector specifying which fields to include in a partial response.
|
@@ -761,8 +767,9 @@ module Google
|
|
761
767
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
762
768
|
# This operation may "fail open" without warning.
|
763
769
|
# @param [String] resource
|
764
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
765
|
-
#
|
770
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
771
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
772
|
+
# appropriate value for this field.
|
766
773
|
# @param [Google::Apis::GkebackupV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
767
774
|
# @param [String] fields
|
768
775
|
# Selector specifying which fields to include in a partial response.
|
@@ -795,9 +802,8 @@ module Google
|
|
795
802
|
|
796
803
|
# Retrieve the details of a single VolumeBackup.
|
797
804
|
# @param [String] name
|
798
|
-
# Required. Full name of the VolumeBackup resource. Format: projects
|
799
|
-
#
|
800
|
-
# volume_backup`
|
805
|
+
# Required. Full name of the VolumeBackup resource. Format: projects/*/locations/
|
806
|
+
# */backupPlans/*/backups/*/volumeBackups/*
|
801
807
|
# @param [String] fields
|
802
808
|
# Selector specifying which fields to include in a partial response.
|
803
809
|
# @param [String] quota_user
|
@@ -828,8 +834,9 @@ module Google
|
|
828
834
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
829
835
|
# resource exists and does not have a policy set.
|
830
836
|
# @param [String] resource
|
831
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
832
|
-
#
|
837
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
838
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
839
|
+
# appropriate value for this field.
|
833
840
|
# @param [Fixnum] options_requested_policy_version
|
834
841
|
# Optional. The maximum policy version that will be used to format the policy.
|
835
842
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -872,11 +879,11 @@ module Google
|
|
872
879
|
# Lists the VolumeBackups for a given Backup.
|
873
880
|
# @param [String] parent
|
874
881
|
# Required. The Backup that contains the VolumeBackups to list. Format: projects/
|
875
|
-
#
|
882
|
+
# */locations/*/backupPlans/*/backups/*
|
876
883
|
# @param [String] filter
|
877
|
-
#
|
884
|
+
# Field match expression used to filter the results.
|
878
885
|
# @param [String] order_by
|
879
|
-
#
|
886
|
+
# Field by which to sort the results.
|
880
887
|
# @param [Fixnum] page_size
|
881
888
|
# The target number of results to return in a single response. If not specified,
|
882
889
|
# a default value will be chosen by the service. Note that the response may
|
@@ -922,8 +929,9 @@ module Google
|
|
922
929
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
923
930
|
# PERMISSION_DENIED` errors.
|
924
931
|
# @param [String] resource
|
925
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
926
|
-
#
|
932
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
933
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
934
|
+
# appropriate value for this field.
|
927
935
|
# @param [Google::Apis::GkebackupV1::SetIamPolicyRequest] set_iam_policy_request_object
|
928
936
|
# @param [String] fields
|
929
937
|
# Selector specifying which fields to include in a partial response.
|
@@ -960,8 +968,9 @@ module Google
|
|
960
968
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
961
969
|
# This operation may "fail open" without warning.
|
962
970
|
# @param [String] resource
|
963
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
964
|
-
#
|
971
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
972
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
973
|
+
# appropriate value for this field.
|
965
974
|
# @param [Google::Apis::GkebackupV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
966
975
|
# @param [String] fields
|
967
976
|
# Selector specifying which fields to include in a partial response.
|
@@ -1112,14 +1121,14 @@ module Google
|
|
1112
1121
|
# Creates a new RestorePlan in a given location.
|
1113
1122
|
# @param [String] parent
|
1114
1123
|
# Required. The location within which to create the RestorePlan. Format:
|
1115
|
-
# projects
|
1124
|
+
# projects/*/locations/*
|
1116
1125
|
# @param [Google::Apis::GkebackupV1::RestorePlan] restore_plan_object
|
1117
1126
|
# @param [String] restore_plan_id
|
1118
1127
|
# Required. The client-provided short name for the RestorePlan resource. This
|
1119
|
-
# name must:
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1128
|
+
# name must: - be between 1 and 63 characters long (inclusive) - consist of only
|
1129
|
+
# lower-case ASCII letters, numbers, and dashes - start with a lower-case letter
|
1130
|
+
# - end with a lower-case letter or number - be unique within the set of
|
1131
|
+
# RestorePlans in this location
|
1123
1132
|
# @param [String] fields
|
1124
1133
|
# Selector specifying which fields to include in a partial response.
|
1125
1134
|
# @param [String] quota_user
|
@@ -1152,14 +1161,14 @@ module Google
|
|
1152
1161
|
|
1153
1162
|
# Deletes an existing RestorePlan.
|
1154
1163
|
# @param [String] name
|
1155
|
-
# Required. Fully qualified RestorePlan name. Format: projects
|
1156
|
-
#
|
1164
|
+
# Required. Fully qualified RestorePlan name. Format: projects/*/locations/*/
|
1165
|
+
# restorePlans/*
|
1157
1166
|
# @param [String] etag
|
1158
|
-
# If provided, this value must match the value
|
1159
|
-
#
|
1167
|
+
# If provided, this value must match the current value of the target RestorePlan'
|
1168
|
+
# s etag field or the request is rejected.
|
1160
1169
|
# @param [Boolean] force
|
1161
|
-
# If set to true, any
|
1162
|
-
# Otherwise, the request will only succeed if the
|
1170
|
+
# If set to true, any Restores below this RestorePlan will also be deleted.
|
1171
|
+
# Otherwise, the request will only succeed if the RestorePlan has no Restores.
|
1163
1172
|
# @param [String] fields
|
1164
1173
|
# Selector specifying which fields to include in a partial response.
|
1165
1174
|
# @param [String] quota_user
|
@@ -1191,8 +1200,8 @@ module Google
|
|
1191
1200
|
|
1192
1201
|
# Retrieve the details of a single RestorePlan.
|
1193
1202
|
# @param [String] name
|
1194
|
-
# Required. Fully qualified RestorePlan name. Format: projects
|
1195
|
-
#
|
1203
|
+
# Required. Fully qualified RestorePlan name. Format: projects/*/locations/*/
|
1204
|
+
# restorePlans/*
|
1196
1205
|
# @param [String] fields
|
1197
1206
|
# Selector specifying which fields to include in a partial response.
|
1198
1207
|
# @param [String] quota_user
|
@@ -1223,8 +1232,9 @@ module Google
|
|
1223
1232
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1224
1233
|
# resource exists and does not have a policy set.
|
1225
1234
|
# @param [String] resource
|
1226
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1227
|
-
#
|
1235
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1236
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1237
|
+
# appropriate value for this field.
|
1228
1238
|
# @param [Fixnum] options_requested_policy_version
|
1229
1239
|
# Optional. The maximum policy version that will be used to format the policy.
|
1230
1240
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1267,11 +1277,11 @@ module Google
|
|
1267
1277
|
# Lists RestorePlans in a given location.
|
1268
1278
|
# @param [String] parent
|
1269
1279
|
# Required. The location that contains the RestorePlans to list. Format:
|
1270
|
-
# projects
|
1280
|
+
# projects/*/locations/*
|
1271
1281
|
# @param [String] filter
|
1272
|
-
#
|
1282
|
+
# Field match expression used to filter the results.
|
1273
1283
|
# @param [String] order_by
|
1274
|
-
#
|
1284
|
+
# Field by which to sort the results.
|
1275
1285
|
# @param [Fixnum] page_size
|
1276
1286
|
# The target number of results to return in a single response. If not specified,
|
1277
1287
|
# a default value will be chosen by the service. Note that the response may
|
@@ -1315,8 +1325,8 @@ module Google
|
|
1315
1325
|
|
1316
1326
|
# Update a RestorePlan.
|
1317
1327
|
# @param [String] name
|
1318
|
-
# Output only.
|
1319
|
-
#
|
1328
|
+
# Output only. The full name of the RestorePlan resource. Format: projects/*/
|
1329
|
+
# locations/*/restorePlans/*.
|
1320
1330
|
# @param [Google::Apis::GkebackupV1::RestorePlan] restore_plan_object
|
1321
1331
|
# @param [String] update_mask
|
1322
1332
|
# This is used to specify the fields to be overwritten in the RestorePlan
|
@@ -1360,8 +1370,9 @@ module Google
|
|
1360
1370
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1361
1371
|
# PERMISSION_DENIED` errors.
|
1362
1372
|
# @param [String] resource
|
1363
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1364
|
-
#
|
1373
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1374
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1375
|
+
# appropriate value for this field.
|
1365
1376
|
# @param [Google::Apis::GkebackupV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1366
1377
|
# @param [String] fields
|
1367
1378
|
# Selector specifying which fields to include in a partial response.
|
@@ -1398,8 +1409,9 @@ module Google
|
|
1398
1409
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1399
1410
|
# This operation may "fail open" without warning.
|
1400
1411
|
# @param [String] resource
|
1401
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1402
|
-
#
|
1412
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1413
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1414
|
+
# appropriate value for this field.
|
1403
1415
|
# @param [Google::Apis::GkebackupV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1404
1416
|
# @param [String] fields
|
1405
1417
|
# Selector specifying which fields to include in a partial response.
|
@@ -1433,14 +1445,14 @@ module Google
|
|
1433
1445
|
# Creates a new Restore for the given RestorePlan.
|
1434
1446
|
# @param [String] parent
|
1435
1447
|
# Required. The RestorePlan within which to create the Restore. Format: projects/
|
1436
|
-
#
|
1448
|
+
# */locations/*/restorePlans/*
|
1437
1449
|
# @param [Google::Apis::GkebackupV1::Restore] restore_object
|
1438
1450
|
# @param [String] restore_id
|
1439
1451
|
# Required. The client-provided short name for the Restore resource. This name
|
1440
|
-
# must:
|
1441
|
-
# lower-case ASCII letters, numbers, and dashes
|
1442
|
-
#
|
1443
|
-
#
|
1452
|
+
# must: - be between 1 and 63 characters long (inclusive) - consist of only
|
1453
|
+
# lower-case ASCII letters, numbers, and dashes - start with a lower-case letter
|
1454
|
+
# - end with a lower-case letter or number - be unique within the set of
|
1455
|
+
# Restores in this RestorePlan.
|
1444
1456
|
# @param [String] fields
|
1445
1457
|
# Selector specifying which fields to include in a partial response.
|
1446
1458
|
# @param [String] quota_user
|
@@ -1473,13 +1485,14 @@ module Google
|
|
1473
1485
|
|
1474
1486
|
# Deletes an existing Restore.
|
1475
1487
|
# @param [String] name
|
1476
|
-
# Required. Full name of the Restore Format: projects
|
1477
|
-
#
|
1488
|
+
# Required. Full name of the Restore Format: projects/*/locations/*/restorePlans/
|
1489
|
+
# */restores/*
|
1478
1490
|
# @param [String] etag
|
1479
|
-
#
|
1491
|
+
# If provided, this value must match the current value of the target Restore's
|
1492
|
+
# etag field or the request is rejected.
|
1480
1493
|
# @param [Boolean] force
|
1481
|
-
# If set to true, any
|
1482
|
-
# Otherwise, the request will only succeed if the restore has no
|
1494
|
+
# If set to true, any VolumeRestores below this restore will also be deleted.
|
1495
|
+
# Otherwise, the request will only succeed if the restore has no VolumeRestores.
|
1483
1496
|
# @param [String] fields
|
1484
1497
|
# Selector specifying which fields to include in a partial response.
|
1485
1498
|
# @param [String] quota_user
|
@@ -1511,8 +1524,8 @@ module Google
|
|
1511
1524
|
|
1512
1525
|
# Retrieves the details of a single Restore.
|
1513
1526
|
# @param [String] name
|
1514
|
-
# Required. Name of the restore resource. Format: projects
|
1515
|
-
#
|
1527
|
+
# Required. Name of the restore resource. Format: projects/*/locations/*/
|
1528
|
+
# restorePlans/*/restores/*
|
1516
1529
|
# @param [String] fields
|
1517
1530
|
# Selector specifying which fields to include in a partial response.
|
1518
1531
|
# @param [String] quota_user
|
@@ -1543,8 +1556,9 @@ module Google
|
|
1543
1556
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1544
1557
|
# resource exists and does not have a policy set.
|
1545
1558
|
# @param [String] resource
|
1546
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1547
|
-
#
|
1559
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1560
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1561
|
+
# appropriate value for this field.
|
1548
1562
|
# @param [Fixnum] options_requested_policy_version
|
1549
1563
|
# Optional. The maximum policy version that will be used to format the policy.
|
1550
1564
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1587,11 +1601,11 @@ module Google
|
|
1587
1601
|
# Lists the Restores for a given RestorePlan.
|
1588
1602
|
# @param [String] parent
|
1589
1603
|
# Required. The RestorePlan that contains the Restores to list. Format: projects/
|
1590
|
-
#
|
1604
|
+
# */locations/*/restorePlans/*
|
1591
1605
|
# @param [String] filter
|
1592
|
-
#
|
1606
|
+
# Field match expression used to filter the results.
|
1593
1607
|
# @param [String] order_by
|
1594
|
-
#
|
1608
|
+
# Field by which to sort the results.
|
1595
1609
|
# @param [Fixnum] page_size
|
1596
1610
|
# The target number of results to return in a single response. If not specified,
|
1597
1611
|
# a default value will be chosen by the service. Note that the response may
|
@@ -1679,8 +1693,9 @@ module Google
|
|
1679
1693
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1680
1694
|
# PERMISSION_DENIED` errors.
|
1681
1695
|
# @param [String] resource
|
1682
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1683
|
-
#
|
1696
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1697
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1698
|
+
# appropriate value for this field.
|
1684
1699
|
# @param [Google::Apis::GkebackupV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1685
1700
|
# @param [String] fields
|
1686
1701
|
# Selector specifying which fields to include in a partial response.
|
@@ -1717,8 +1732,9 @@ module Google
|
|
1717
1732
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1718
1733
|
# This operation may "fail open" without warning.
|
1719
1734
|
# @param [String] resource
|
1720
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1721
|
-
#
|
1735
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1736
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1737
|
+
# appropriate value for this field.
|
1722
1738
|
# @param [Google::Apis::GkebackupV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1723
1739
|
# @param [String] fields
|
1724
1740
|
# Selector specifying which fields to include in a partial response.
|
@@ -1751,9 +1767,8 @@ module Google
|
|
1751
1767
|
|
1752
1768
|
# Retrieve the details of a single VolumeRestore.
|
1753
1769
|
# @param [String] name
|
1754
|
-
# Required. Full name of the VolumeRestore resource. Format: projects
|
1755
|
-
# locations
|
1756
|
-
# volumeRestores/`volume_restore`
|
1770
|
+
# Required. Full name of the VolumeRestore resource. Format: projects/*/
|
1771
|
+
# locations/*/restorePlans/*/restores/*/volumeRestores/*
|
1757
1772
|
# @param [String] fields
|
1758
1773
|
# Selector specifying which fields to include in a partial response.
|
1759
1774
|
# @param [String] quota_user
|
@@ -1784,8 +1799,9 @@ module Google
|
|
1784
1799
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1785
1800
|
# resource exists and does not have a policy set.
|
1786
1801
|
# @param [String] resource
|
1787
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1788
|
-
#
|
1802
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1803
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1804
|
+
# appropriate value for this field.
|
1789
1805
|
# @param [Fixnum] options_requested_policy_version
|
1790
1806
|
# Optional. The maximum policy version that will be used to format the policy.
|
1791
1807
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1828,12 +1844,11 @@ module Google
|
|
1828
1844
|
# Lists the VolumeRestores for a given Restore.
|
1829
1845
|
# @param [String] parent
|
1830
1846
|
# Required. The Restore that contains the VolumeRestores to list. Format:
|
1831
|
-
# projects
|
1832
|
-
# restore`
|
1847
|
+
# projects/*/locations/*/restorePlans/*/restores/*
|
1833
1848
|
# @param [String] filter
|
1834
|
-
#
|
1849
|
+
# Field match expression used to filter the results.
|
1835
1850
|
# @param [String] order_by
|
1836
|
-
#
|
1851
|
+
# Field by which to sort the results.
|
1837
1852
|
# @param [Fixnum] page_size
|
1838
1853
|
# The target number of results to return in a single response. If not specified,
|
1839
1854
|
# a default value will be chosen by the service. Note that the response may
|
@@ -1879,8 +1894,9 @@ module Google
|
|
1879
1894
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1880
1895
|
# PERMISSION_DENIED` errors.
|
1881
1896
|
# @param [String] resource
|
1882
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1883
|
-
#
|
1897
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1898
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1899
|
+
# appropriate value for this field.
|
1884
1900
|
# @param [Google::Apis::GkebackupV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1885
1901
|
# @param [String] fields
|
1886
1902
|
# Selector specifying which fields to include in a partial response.
|
@@ -1917,8 +1933,9 @@ module Google
|
|
1917
1933
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1918
1934
|
# This operation may "fail open" without warning.
|
1919
1935
|
# @param [String] resource
|
1920
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1921
|
-
#
|
1936
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1937
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1938
|
+
# appropriate value for this field.
|
1922
1939
|
# @param [Google::Apis::GkebackupV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1923
1940
|
# @param [String] fields
|
1924
1941
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkebackup_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|