google-apis-managedidentities_v1beta1 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +114 -1
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +48 -0
- data/lib/google/apis/managedidentities_v1beta1/service.rb +225 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d7036c7033e6f9757c1fea6b5d7a20f82633e58a4b2414883a643ed4d4d7358
|
4
|
+
data.tar.gz: 603d8aae95eff06d640b2724fe81a25b7bb545e40451c42f584ebfa93d6e5c1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4362e31f68fead2d7980bd025e41fc599a69c23754daa94ce7e77e7edb16431a4002b7bf9ae731faf41e4944f777bcdc2786182cb3adbf535a02b4f39410832e
|
7
|
+
data.tar.gz: 52679be8d61fa0148db52c53563aa8448c1419d904d89e89c8cd5d404b94f5c88b4ffc6cddecd01de913ab09c9052cf7652b9ff05845ed690efce4fb1c3782ca
|
data/CHANGELOG.md
CHANGED
@@ -42,6 +42,63 @@ module Google
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
+
# Represents a Managed Microsoft Identities backup.
|
46
|
+
class Backup
|
47
|
+
include Google::Apis::Core::Hashable
|
48
|
+
|
49
|
+
# Output only. The time the backups was created.
|
50
|
+
# Corresponds to the JSON property `createTime`
|
51
|
+
# @return [String]
|
52
|
+
attr_accessor :create_time
|
53
|
+
|
54
|
+
# Optional. Resource labels to represent user provided metadata.
|
55
|
+
# Corresponds to the JSON property `labels`
|
56
|
+
# @return [Hash<String,String>]
|
57
|
+
attr_accessor :labels
|
58
|
+
|
59
|
+
# Output only. The unique name of the Backup in the form of projects/`project_id`
|
60
|
+
# /locations/global/domains/`domain_name`/backups/`name`
|
61
|
+
# Corresponds to the JSON property `name`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :name
|
64
|
+
|
65
|
+
# Output only. The current state of the backup.
|
66
|
+
# Corresponds to the JSON property `state`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :state
|
69
|
+
|
70
|
+
# Output only. Additional information about the current status of this backup,
|
71
|
+
# if available.
|
72
|
+
# Corresponds to the JSON property `statusMessage`
|
73
|
+
# @return [String]
|
74
|
+
attr_accessor :status_message
|
75
|
+
|
76
|
+
# Output only. Indicates whether it’s an on-demand backup or scheduled.
|
77
|
+
# Corresponds to the JSON property `type`
|
78
|
+
# @return [String]
|
79
|
+
attr_accessor :type
|
80
|
+
|
81
|
+
# Output only. Last update time.
|
82
|
+
# Corresponds to the JSON property `updateTime`
|
83
|
+
# @return [String]
|
84
|
+
attr_accessor :update_time
|
85
|
+
|
86
|
+
def initialize(**args)
|
87
|
+
update!(**args)
|
88
|
+
end
|
89
|
+
|
90
|
+
# Update properties of this object
|
91
|
+
def update!(**args)
|
92
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
93
|
+
@labels = args[:labels] if args.key?(:labels)
|
94
|
+
@name = args[:name] if args.key?(:name)
|
95
|
+
@state = args[:state] if args.key?(:state)
|
96
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
97
|
+
@type = args[:type] if args.key?(:type)
|
98
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
45
102
|
# Associates `members` with a `role`.
|
46
103
|
class Binding
|
47
104
|
include Google::Apis::Core::Hashable
|
@@ -1091,6 +1148,38 @@ module Google
|
|
1091
1148
|
end
|
1092
1149
|
end
|
1093
1150
|
|
1151
|
+
# ListBackupsResponse is the response message for ListBackups method.
|
1152
|
+
class ListBackupsResponse
|
1153
|
+
include Google::Apis::Core::Hashable
|
1154
|
+
|
1155
|
+
# A list of Cloud AD backups in the domain.
|
1156
|
+
# Corresponds to the JSON property `backups`
|
1157
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::Backup>]
|
1158
|
+
attr_accessor :backups
|
1159
|
+
|
1160
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1161
|
+
# results in the list.
|
1162
|
+
# Corresponds to the JSON property `nextPageToken`
|
1163
|
+
# @return [String]
|
1164
|
+
attr_accessor :next_page_token
|
1165
|
+
|
1166
|
+
# Locations that could not be reached.
|
1167
|
+
# Corresponds to the JSON property `unreachable`
|
1168
|
+
# @return [Array<String>]
|
1169
|
+
attr_accessor :unreachable
|
1170
|
+
|
1171
|
+
def initialize(**args)
|
1172
|
+
update!(**args)
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
# Update properties of this object
|
1176
|
+
def update!(**args)
|
1177
|
+
@backups = args[:backups] if args.key?(:backups)
|
1178
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1179
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1094
1183
|
# Response message for ListDomains
|
1095
1184
|
class ListDomainsResponse
|
1096
1185
|
include Google::Apis::Core::Hashable
|
@@ -1594,7 +1683,12 @@ module Google
|
|
1594
1683
|
|
1595
1684
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1596
1685
|
# condition` that determines how and when the `bindings` are applied. Each of
|
1597
|
-
# the `bindings` must contain at least one member.
|
1686
|
+
# the `bindings` must contain at least one member. The `bindings` in a `Policy`
|
1687
|
+
# can refer to up to 1,500 members; up to 250 of these members can be Google
|
1688
|
+
# groups. Each occurrence of a member counts towards these limits. For example,
|
1689
|
+
# if the `bindings` grant 50 different roles to `user:alice@example.com`, and
|
1690
|
+
# not to any other member, then you can add another 1,450 members to the `
|
1691
|
+
# bindings` in the `Policy`.
|
1598
1692
|
# Corresponds to the JSON property `bindings`
|
1599
1693
|
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::Binding>]
|
1600
1694
|
attr_accessor :bindings
|
@@ -1705,6 +1799,25 @@ module Google
|
|
1705
1799
|
end
|
1706
1800
|
end
|
1707
1801
|
|
1802
|
+
# RestoreDomainRequest is the request received by RestoreDomain rpc
|
1803
|
+
class RestoreDomainRequest
|
1804
|
+
include Google::Apis::Core::Hashable
|
1805
|
+
|
1806
|
+
# Required. ID of the backup to be restored
|
1807
|
+
# Corresponds to the JSON property `backupId`
|
1808
|
+
# @return [String]
|
1809
|
+
attr_accessor :backup_id
|
1810
|
+
|
1811
|
+
def initialize(**args)
|
1812
|
+
update!(**args)
|
1813
|
+
end
|
1814
|
+
|
1815
|
+
# Update properties of this object
|
1816
|
+
def update!(**args)
|
1817
|
+
@backup_id = args[:backup_id] if args.key?(:backup_id)
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
|
1708
1821
|
# Configure the schedule.
|
1709
1822
|
class Schedule
|
1710
1823
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ManagedidentitiesV1beta1
|
18
18
|
# Version of the google-apis-managedidentities_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211004"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class Backup
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Binding
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -160,6 +166,12 @@ module Google
|
|
160
166
|
include Google::Apis::Core::JsonObjectSupport
|
161
167
|
end
|
162
168
|
|
169
|
+
class ListBackupsResponse
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
163
175
|
class ListDomainsResponse
|
164
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
177
|
|
@@ -250,6 +262,12 @@ module Google
|
|
250
262
|
include Google::Apis::Core::JsonObjectSupport
|
251
263
|
end
|
252
264
|
|
265
|
+
class RestoreDomainRequest
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
253
271
|
class Schedule
|
254
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
273
|
|
@@ -324,6 +342,19 @@ module Google
|
|
324
342
|
end
|
325
343
|
end
|
326
344
|
|
345
|
+
class Backup
|
346
|
+
# @private
|
347
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
348
|
+
property :create_time, as: 'createTime'
|
349
|
+
hash :labels, as: 'labels'
|
350
|
+
property :name, as: 'name'
|
351
|
+
property :state, as: 'state'
|
352
|
+
property :status_message, as: 'statusMessage'
|
353
|
+
property :type, as: 'type'
|
354
|
+
property :update_time, as: 'updateTime'
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
327
358
|
class Binding
|
328
359
|
# @private
|
329
360
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -566,6 +597,16 @@ module Google
|
|
566
597
|
end
|
567
598
|
end
|
568
599
|
|
600
|
+
class ListBackupsResponse
|
601
|
+
# @private
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
603
|
+
collection :backups, as: 'backups', class: Google::Apis::ManagedidentitiesV1beta1::Backup, decorator: Google::Apis::ManagedidentitiesV1beta1::Backup::Representation
|
604
|
+
|
605
|
+
property :next_page_token, as: 'nextPageToken'
|
606
|
+
collection :unreachable, as: 'unreachable'
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
569
610
|
class ListDomainsResponse
|
570
611
|
# @private
|
571
612
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -719,6 +760,13 @@ module Google
|
|
719
760
|
end
|
720
761
|
end
|
721
762
|
|
763
|
+
class RestoreDomainRequest
|
764
|
+
# @private
|
765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
property :backup_id, as: 'backupId'
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
722
770
|
class Schedule
|
723
771
|
# @private
|
724
772
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -524,6 +524,39 @@ module Google
|
|
524
524
|
execute_or_queue_command(command, &block)
|
525
525
|
end
|
526
526
|
|
527
|
+
# RestoreBackup restores domain mentioned in the RestoreBackupRequest
|
528
|
+
# @param [String] name
|
529
|
+
# Required. resource name for the domain to which the backup belongs
|
530
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::RestoreDomainRequest] restore_domain_request_object
|
531
|
+
# @param [String] fields
|
532
|
+
# Selector specifying which fields to include in a partial response.
|
533
|
+
# @param [String] quota_user
|
534
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
535
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
536
|
+
# @param [Google::Apis::RequestOptions] options
|
537
|
+
# Request-specific options
|
538
|
+
#
|
539
|
+
# @yield [result, err] Result & error if block supplied
|
540
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Operation] parsed result object
|
541
|
+
# @yieldparam err [StandardError] error object if request failed
|
542
|
+
#
|
543
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Operation]
|
544
|
+
#
|
545
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
546
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
547
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
548
|
+
def restore_domain(name, restore_domain_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
549
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:restore', options)
|
550
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::RestoreDomainRequest::Representation
|
551
|
+
command.request_object = restore_domain_request_object
|
552
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
553
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Operation
|
554
|
+
command.params['name'] = name unless name.nil?
|
555
|
+
command.query['fields'] = fields unless fields.nil?
|
556
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
557
|
+
execute_or_queue_command(command, &block)
|
558
|
+
end
|
559
|
+
|
527
560
|
# Sets the access control policy on the specified resource. Replaces any
|
528
561
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
529
562
|
# PERMISSION_DENIED` errors.
|
@@ -672,6 +705,108 @@ module Google
|
|
672
705
|
execute_or_queue_command(command, &block)
|
673
706
|
end
|
674
707
|
|
708
|
+
# Creates a Backup for a domain.
|
709
|
+
# @param [String] parent
|
710
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
711
|
+
# locations/global/domains/`domain_name``
|
712
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::Backup] backup_object
|
713
|
+
# @param [String] backup_id
|
714
|
+
# Required. Backup Id, unique name to identify the backups with the following
|
715
|
+
# restrictions: * Must be lowercase letters, numbers, and hyphens * Must start
|
716
|
+
# with a letter. * Must contain between 1-63 characters. * Must end with a
|
717
|
+
# number or a letter. * Must be unique within the domain.
|
718
|
+
# @param [String] fields
|
719
|
+
# Selector specifying which fields to include in a partial response.
|
720
|
+
# @param [String] quota_user
|
721
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
722
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
723
|
+
# @param [Google::Apis::RequestOptions] options
|
724
|
+
# Request-specific options
|
725
|
+
#
|
726
|
+
# @yield [result, err] Result & error if block supplied
|
727
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Operation] parsed result object
|
728
|
+
# @yieldparam err [StandardError] error object if request failed
|
729
|
+
#
|
730
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Operation]
|
731
|
+
#
|
732
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
733
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
734
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
735
|
+
def create_project_location_global_domain_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
736
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/backups', options)
|
737
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::Backup::Representation
|
738
|
+
command.request_object = backup_object
|
739
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
740
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Operation
|
741
|
+
command.params['parent'] = parent unless parent.nil?
|
742
|
+
command.query['backupId'] = backup_id unless backup_id.nil?
|
743
|
+
command.query['fields'] = fields unless fields.nil?
|
744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
745
|
+
execute_or_queue_command(command, &block)
|
746
|
+
end
|
747
|
+
|
748
|
+
# Deletes identified Backup.
|
749
|
+
# @param [String] name
|
750
|
+
# Required. The backup resource name using the form: `projects/`project_id`/
|
751
|
+
# locations/global/domains/`domain_name`/backups/`backup_id``
|
752
|
+
# @param [String] fields
|
753
|
+
# Selector specifying which fields to include in a partial response.
|
754
|
+
# @param [String] quota_user
|
755
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
756
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
757
|
+
# @param [Google::Apis::RequestOptions] options
|
758
|
+
# Request-specific options
|
759
|
+
#
|
760
|
+
# @yield [result, err] Result & error if block supplied
|
761
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Operation] parsed result object
|
762
|
+
# @yieldparam err [StandardError] error object if request failed
|
763
|
+
#
|
764
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Operation]
|
765
|
+
#
|
766
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
767
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
768
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
769
|
+
def delete_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
770
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
771
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
772
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Operation
|
773
|
+
command.params['name'] = name unless name.nil?
|
774
|
+
command.query['fields'] = fields unless fields.nil?
|
775
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
776
|
+
execute_or_queue_command(command, &block)
|
777
|
+
end
|
778
|
+
|
779
|
+
# Gets details of a single Backup.
|
780
|
+
# @param [String] name
|
781
|
+
# Required. The backup resource name using the form: `projects/`project_id`/
|
782
|
+
# locations/global/domains/`domain_name`/backups/`backup_id``
|
783
|
+
# @param [String] fields
|
784
|
+
# Selector specifying which fields to include in a partial response.
|
785
|
+
# @param [String] quota_user
|
786
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
787
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
788
|
+
# @param [Google::Apis::RequestOptions] options
|
789
|
+
# Request-specific options
|
790
|
+
#
|
791
|
+
# @yield [result, err] Result & error if block supplied
|
792
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Backup] parsed result object
|
793
|
+
# @yieldparam err [StandardError] error object if request failed
|
794
|
+
#
|
795
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Backup]
|
796
|
+
#
|
797
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
798
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
799
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
800
|
+
def get_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
801
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
802
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Backup::Representation
|
803
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Backup
|
804
|
+
command.params['name'] = name unless name.nil?
|
805
|
+
command.query['fields'] = fields unless fields.nil?
|
806
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
807
|
+
execute_or_queue_command(command, &block)
|
808
|
+
end
|
809
|
+
|
675
810
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
676
811
|
# resource exists and does not have a policy set.
|
677
812
|
# @param [String] resource
|
@@ -713,6 +848,95 @@ module Google
|
|
713
848
|
execute_or_queue_command(command, &block)
|
714
849
|
end
|
715
850
|
|
851
|
+
# Lists Backup in a given project.
|
852
|
+
# @param [String] parent
|
853
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
854
|
+
# locations/global/domains/`domain_name``
|
855
|
+
# @param [String] filter
|
856
|
+
# Optional. Filter specifying constraints of a list operation. For example, `
|
857
|
+
# backup.location ="us-west1-a"`.
|
858
|
+
# @param [String] order_by
|
859
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
860
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
861
|
+
# @param [Fixnum] page_size
|
862
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
863
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
864
|
+
# the response may include a partial list and a caller should only rely on
|
865
|
+
# response's next_page_token to determine if there are more instances left to be
|
866
|
+
# queried.
|
867
|
+
# @param [String] page_token
|
868
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
869
|
+
# any.
|
870
|
+
# @param [String] fields
|
871
|
+
# Selector specifying which fields to include in a partial response.
|
872
|
+
# @param [String] quota_user
|
873
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
874
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
875
|
+
# @param [Google::Apis::RequestOptions] options
|
876
|
+
# Request-specific options
|
877
|
+
#
|
878
|
+
# @yield [result, err] Result & error if block supplied
|
879
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::ListBackupsResponse] parsed result object
|
880
|
+
# @yieldparam err [StandardError] error object if request failed
|
881
|
+
#
|
882
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::ListBackupsResponse]
|
883
|
+
#
|
884
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
885
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
886
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
887
|
+
def list_project_location_global_domain_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
888
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/backups', options)
|
889
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::ListBackupsResponse::Representation
|
890
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::ListBackupsResponse
|
891
|
+
command.params['parent'] = parent unless parent.nil?
|
892
|
+
command.query['filter'] = filter unless filter.nil?
|
893
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
894
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
895
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
896
|
+
command.query['fields'] = fields unless fields.nil?
|
897
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
898
|
+
execute_or_queue_command(command, &block)
|
899
|
+
end
|
900
|
+
|
901
|
+
# Updates the labels for specified Backup.
|
902
|
+
# @param [String] name
|
903
|
+
# Output only. The unique name of the Backup in the form of projects/`project_id`
|
904
|
+
# /locations/global/domains/`domain_name`/backups/`name`
|
905
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::Backup] backup_object
|
906
|
+
# @param [String] update_mask
|
907
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
908
|
+
# field. The elements of the repeated paths field may only include these fields
|
909
|
+
# from Backup: * `labels`
|
910
|
+
# @param [String] fields
|
911
|
+
# Selector specifying which fields to include in a partial response.
|
912
|
+
# @param [String] quota_user
|
913
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
914
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
915
|
+
# @param [Google::Apis::RequestOptions] options
|
916
|
+
# Request-specific options
|
917
|
+
#
|
918
|
+
# @yield [result, err] Result & error if block supplied
|
919
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Operation] parsed result object
|
920
|
+
# @yieldparam err [StandardError] error object if request failed
|
921
|
+
#
|
922
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Operation]
|
923
|
+
#
|
924
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
925
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
926
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
927
|
+
def patch_project_location_global_domain_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
928
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
929
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::Backup::Representation
|
930
|
+
command.request_object = backup_object
|
931
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
932
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Operation
|
933
|
+
command.params['name'] = name unless name.nil?
|
934
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
935
|
+
command.query['fields'] = fields unless fields.nil?
|
936
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
937
|
+
execute_or_queue_command(command, &block)
|
938
|
+
end
|
939
|
+
|
716
940
|
# Sets the access control policy on the specified resource. Replaces any
|
717
941
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
718
942
|
# PERMISSION_DENIED` errors.
|
@@ -1089,7 +1313,7 @@ module Google
|
|
1089
1313
|
# Gets details of a single Peering.
|
1090
1314
|
# @param [String] name
|
1091
1315
|
# Required. Peering resource name using the form: `projects/`project_id`/
|
1092
|
-
# locations/global/
|
1316
|
+
# locations/global/peerings/`peering_id``
|
1093
1317
|
# @param [String] fields
|
1094
1318
|
# Selector specifying which fields to include in a partial response.
|
1095
1319
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-managedidentities_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.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: 2021-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -59,7 +59,7 @@ licenses:
|
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1beta1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.14.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1beta1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|