google-apis-managedidentities_v1 0.18.0 → 0.19.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 +5 -0
- data/lib/google/apis/managedidentities_v1/classes.rb +138 -12
- data/lib/google/apis/managedidentities_v1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1/representations.rb +50 -0
- data/lib/google/apis/managedidentities_v1/service.rb +341 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f526d9b047c5dd81e72625ee83168557a9a35a6c0da4cd870f2edfd714242362
|
4
|
+
data.tar.gz: 21486b383b63a3e4d1def96ada0132404c3d4b29c059150aa447594d201b75d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e4cc8d5b96b2ffe06ce3bd91f47905c2d028977ce871ebec58975a904029c2b651a10ba2ed3a3be05ce5fb24922bae1132896a0ee5d6afe76ea33af575148e9
|
7
|
+
data.tar.gz: c4ecb1ea41cd1579f358966c29d93d63b8b1cc19b90561282b71773a1c835752fa67de68904b0ba9b6680ab7bda1d291e0c643f07dee24079ad7c6aff1f31f02
|
data/CHANGELOG.md
CHANGED
@@ -44,6 +44,63 @@ module Google
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
# Represents a Managed Microsoft Identities backup.
|
48
|
+
class Backup
|
49
|
+
include Google::Apis::Core::Hashable
|
50
|
+
|
51
|
+
# Output only. The time the backups was created.
|
52
|
+
# Corresponds to the JSON property `createTime`
|
53
|
+
# @return [String]
|
54
|
+
attr_accessor :create_time
|
55
|
+
|
56
|
+
# Optional. Resource labels to represent user provided metadata.
|
57
|
+
# Corresponds to the JSON property `labels`
|
58
|
+
# @return [Hash<String,String>]
|
59
|
+
attr_accessor :labels
|
60
|
+
|
61
|
+
# Output only. The unique name of the Backup in the form of `projects/`
|
62
|
+
# project_id`/locations/global/domains/`domain_name`/backups/`name``
|
63
|
+
# Corresponds to the JSON property `name`
|
64
|
+
# @return [String]
|
65
|
+
attr_accessor :name
|
66
|
+
|
67
|
+
# Output only. The current state of the backup.
|
68
|
+
# Corresponds to the JSON property `state`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :state
|
71
|
+
|
72
|
+
# Output only. Additional information about the current status of this backup,
|
73
|
+
# if available.
|
74
|
+
# Corresponds to the JSON property `statusMessage`
|
75
|
+
# @return [String]
|
76
|
+
attr_accessor :status_message
|
77
|
+
|
78
|
+
# Output only. Indicates whether it’s an on-demand backup or scheduled.
|
79
|
+
# Corresponds to the JSON property `type`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :type
|
82
|
+
|
83
|
+
# Output only. Last update time.
|
84
|
+
# Corresponds to the JSON property `updateTime`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :update_time
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
95
|
+
@labels = args[:labels] if args.key?(:labels)
|
96
|
+
@name = args[:name] if args.key?(:name)
|
97
|
+
@state = args[:state] if args.key?(:state)
|
98
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
99
|
+
@type = args[:type] if args.key?(:type)
|
100
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
47
104
|
# Associates `members`, or principals, with a `role`.
|
48
105
|
class Binding
|
49
106
|
include Google::Apis::Core::Hashable
|
@@ -202,10 +259,10 @@ module Google
|
|
202
259
|
# day and time zone are either specified elsewhere or are insignificant. The
|
203
260
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
204
261
|
# following: * A full date, with non-zero year, month, and day values * A month
|
205
|
-
# and day
|
206
|
-
#
|
207
|
-
#
|
208
|
-
# google.protobuf.Timestamp
|
262
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
263
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
264
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
265
|
+
# DateTime * google.protobuf.Timestamp
|
209
266
|
class Date
|
210
267
|
include Google::Apis::Core::Hashable
|
211
268
|
|
@@ -248,10 +305,10 @@ module Google
|
|
248
305
|
# day and time zone are either specified elsewhere or are insignificant. The
|
249
306
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
250
307
|
# following: * A full date, with non-zero year, month, and day values * A month
|
251
|
-
# and day
|
252
|
-
#
|
253
|
-
#
|
254
|
-
# google.protobuf.Timestamp
|
308
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
309
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
310
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
311
|
+
# DateTime * google.protobuf.Timestamp
|
255
312
|
# Corresponds to the JSON property `endDate`
|
256
313
|
# @return [Google::Apis::ManagedidentitiesV1::Date]
|
257
314
|
attr_accessor :end_date
|
@@ -260,10 +317,10 @@ module Google
|
|
260
317
|
# day and time zone are either specified elsewhere or are insignificant. The
|
261
318
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
262
319
|
# following: * A full date, with non-zero year, month, and day values * A month
|
263
|
-
# and day
|
264
|
-
#
|
265
|
-
#
|
266
|
-
# google.protobuf.Timestamp
|
320
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
321
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
322
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
323
|
+
# DateTime * google.protobuf.Timestamp
|
267
324
|
# Corresponds to the JSON property `startDate`
|
268
325
|
# @return [Google::Apis::ManagedidentitiesV1::Date]
|
269
326
|
attr_accessor :start_date
|
@@ -665,6 +722,15 @@ module Google
|
|
665
722
|
# @return [String]
|
666
723
|
attr_accessor :create_time
|
667
724
|
|
725
|
+
# Optional. The instance_type of this instance of format: projects/`project_id`/
|
726
|
+
# locations/`location_id`/instanceTypes/`instance_type_id`. Instance Type
|
727
|
+
# represents a high-level tier or SKU of the service that this instance belong
|
728
|
+
# to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along
|
729
|
+
# with 'software_versions' to determine whether instance needs an update or not.
|
730
|
+
# Corresponds to the JSON property `instanceType`
|
731
|
+
# @return [String]
|
732
|
+
attr_accessor :instance_type
|
733
|
+
|
668
734
|
# Optional. Resource labels to represent user provided metadata. Each label is a
|
669
735
|
# key-value pair, where both the key and the value are arbitrary strings
|
670
736
|
# provided by the user.
|
@@ -700,6 +766,13 @@ module Google
|
|
700
766
|
# @return [String]
|
701
767
|
attr_accessor :name
|
702
768
|
|
769
|
+
# Optional. notification_parameters are information that service producers may
|
770
|
+
# like to include that is not relevant to Rollout. This parameter will only be
|
771
|
+
# passed to Gamma and Cloud Logging for notification/logging purpose.
|
772
|
+
# Corresponds to the JSON property `notificationParameters`
|
773
|
+
# @return [Hash<String,String>]
|
774
|
+
attr_accessor :notification_parameters
|
775
|
+
|
703
776
|
# Output only. Custom string attributes used primarily to expose producer-
|
704
777
|
# specific information in monitoring dashboards. See go/get-instance-metadata.
|
705
778
|
# Corresponds to the JSON property `producerMetadata`
|
@@ -757,11 +830,13 @@ module Google
|
|
757
830
|
def update!(**args)
|
758
831
|
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
759
832
|
@create_time = args[:create_time] if args.key?(:create_time)
|
833
|
+
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
760
834
|
@labels = args[:labels] if args.key?(:labels)
|
761
835
|
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
762
836
|
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
763
837
|
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
|
764
838
|
@name = args[:name] if args.key?(:name)
|
839
|
+
@notification_parameters = args[:notification_parameters] if args.key?(:notification_parameters)
|
765
840
|
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
766
841
|
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
767
842
|
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
@@ -1095,6 +1170,38 @@ module Google
|
|
1095
1170
|
end
|
1096
1171
|
end
|
1097
1172
|
|
1173
|
+
# ListBackupsResponse is the response message for ListBackups method.
|
1174
|
+
class ListBackupsResponse
|
1175
|
+
include Google::Apis::Core::Hashable
|
1176
|
+
|
1177
|
+
# A list of Cloud AD backups in the domain.
|
1178
|
+
# Corresponds to the JSON property `backups`
|
1179
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1::Backup>]
|
1180
|
+
attr_accessor :backups
|
1181
|
+
|
1182
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1183
|
+
# results in the list.
|
1184
|
+
# Corresponds to the JSON property `nextPageToken`
|
1185
|
+
# @return [String]
|
1186
|
+
attr_accessor :next_page_token
|
1187
|
+
|
1188
|
+
# Locations that could not be reached.
|
1189
|
+
# Corresponds to the JSON property `unreachable`
|
1190
|
+
# @return [Array<String>]
|
1191
|
+
attr_accessor :unreachable
|
1192
|
+
|
1193
|
+
def initialize(**args)
|
1194
|
+
update!(**args)
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
# Update properties of this object
|
1198
|
+
def update!(**args)
|
1199
|
+
@backups = args[:backups] if args.key?(:backups)
|
1200
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1201
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1098
1205
|
# Response message for ListDomains
|
1099
1206
|
class ListDomainsResponse
|
1100
1207
|
include Google::Apis::Core::Hashable
|
@@ -1714,6 +1821,25 @@ module Google
|
|
1714
1821
|
end
|
1715
1822
|
end
|
1716
1823
|
|
1824
|
+
# RestoreDomainRequest is the request received by RestoreDomain rpc
|
1825
|
+
class RestoreDomainRequest
|
1826
|
+
include Google::Apis::Core::Hashable
|
1827
|
+
|
1828
|
+
# Required. ID of the backup to be restored
|
1829
|
+
# Corresponds to the JSON property `backupId`
|
1830
|
+
# @return [String]
|
1831
|
+
attr_accessor :backup_id
|
1832
|
+
|
1833
|
+
def initialize(**args)
|
1834
|
+
update!(**args)
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
# Update properties of this object
|
1838
|
+
def update!(**args)
|
1839
|
+
@backup_id = args[:backup_id] if args.key?(:backup_id)
|
1840
|
+
end
|
1841
|
+
end
|
1842
|
+
|
1717
1843
|
# Configure the schedule.
|
1718
1844
|
class Schedule
|
1719
1845
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ManagedidentitiesV1
|
18
18
|
# Version of the google-apis-managedidentities_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220216"
|
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
|
@@ -467,6 +498,7 @@ module Google
|
|
467
498
|
class Representation < Google::Apis::Core::JsonRepresentation
|
468
499
|
property :consumer_defined_name, as: 'consumerDefinedName'
|
469
500
|
property :create_time, as: 'createTime'
|
501
|
+
property :instance_type, as: 'instanceType'
|
470
502
|
hash :labels, as: 'labels'
|
471
503
|
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
472
504
|
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
|
@@ -474,6 +506,7 @@ module Google
|
|
474
506
|
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
475
507
|
|
476
508
|
property :name, as: 'name'
|
509
|
+
hash :notification_parameters, as: 'notificationParameters'
|
477
510
|
hash :producer_metadata, as: 'producerMetadata'
|
478
511
|
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
479
512
|
|
@@ -566,6 +599,16 @@ module Google
|
|
566
599
|
end
|
567
600
|
end
|
568
601
|
|
602
|
+
class ListBackupsResponse
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
collection :backups, as: 'backups', class: Google::Apis::ManagedidentitiesV1::Backup, decorator: Google::Apis::ManagedidentitiesV1::Backup::Representation
|
606
|
+
|
607
|
+
property :next_page_token, as: 'nextPageToken'
|
608
|
+
collection :unreachable, as: 'unreachable'
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
569
612
|
class ListDomainsResponse
|
570
613
|
# @private
|
571
614
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -719,6 +762,13 @@ module Google
|
|
719
762
|
end
|
720
763
|
end
|
721
764
|
|
765
|
+
class RestoreDomainRequest
|
766
|
+
# @private
|
767
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
768
|
+
property :backup_id, as: 'backupId'
|
769
|
+
end
|
770
|
+
end
|
771
|
+
|
722
772
|
class Schedule
|
723
773
|
# @private
|
724
774
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -527,6 +527,39 @@ module Google
|
|
527
527
|
execute_or_queue_command(command, &block)
|
528
528
|
end
|
529
529
|
|
530
|
+
# RestoreDomain restores domain backup mentioned in the RestoreDomainRequest
|
531
|
+
# @param [String] name
|
532
|
+
# Required. Resource name for the domain to which the backup belongs
|
533
|
+
# @param [Google::Apis::ManagedidentitiesV1::RestoreDomainRequest] restore_domain_request_object
|
534
|
+
# @param [String] fields
|
535
|
+
# Selector specifying which fields to include in a partial response.
|
536
|
+
# @param [String] quota_user
|
537
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
538
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
539
|
+
# @param [Google::Apis::RequestOptions] options
|
540
|
+
# Request-specific options
|
541
|
+
#
|
542
|
+
# @yield [result, err] Result & error if block supplied
|
543
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
544
|
+
# @yieldparam err [StandardError] error object if request failed
|
545
|
+
#
|
546
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
547
|
+
#
|
548
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
549
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
550
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
551
|
+
def restore_domain(name, restore_domain_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
552
|
+
command = make_simple_command(:post, 'v1/{+name}:restore', options)
|
553
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::RestoreDomainRequest::Representation
|
554
|
+
command.request_object = restore_domain_request_object
|
555
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
556
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
557
|
+
command.params['name'] = name unless name.nil?
|
558
|
+
command.query['fields'] = fields unless fields.nil?
|
559
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
560
|
+
execute_or_queue_command(command, &block)
|
561
|
+
end
|
562
|
+
|
530
563
|
# Sets the access control policy on the specified resource. Replaces any
|
531
564
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
532
565
|
# PERMISSION_DENIED` errors.
|
@@ -675,6 +708,314 @@ module Google
|
|
675
708
|
execute_or_queue_command(command, &block)
|
676
709
|
end
|
677
710
|
|
711
|
+
# Creates a Backup for a domain.
|
712
|
+
# @param [String] parent
|
713
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
714
|
+
# locations/global/domains/`domain_name``
|
715
|
+
# @param [Google::Apis::ManagedidentitiesV1::Backup] backup_object
|
716
|
+
# @param [String] backup_id
|
717
|
+
# Required. Backup Id, unique name to identify the backups with the following
|
718
|
+
# restrictions: * Must be lowercase letters, numbers, and hyphens * Must start
|
719
|
+
# with a letter. * Must contain between 1-63 characters. * Must end with a
|
720
|
+
# number or a letter. * Must be unique within the domain.
|
721
|
+
# @param [String] fields
|
722
|
+
# Selector specifying which fields to include in a partial response.
|
723
|
+
# @param [String] quota_user
|
724
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
725
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
726
|
+
# @param [Google::Apis::RequestOptions] options
|
727
|
+
# Request-specific options
|
728
|
+
#
|
729
|
+
# @yield [result, err] Result & error if block supplied
|
730
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
731
|
+
# @yieldparam err [StandardError] error object if request failed
|
732
|
+
#
|
733
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
734
|
+
#
|
735
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
736
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
737
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
738
|
+
def create_project_location_global_domain_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
739
|
+
command = make_simple_command(:post, 'v1/{+parent}/backups', options)
|
740
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Backup::Representation
|
741
|
+
command.request_object = backup_object
|
742
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
743
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
744
|
+
command.params['parent'] = parent unless parent.nil?
|
745
|
+
command.query['backupId'] = backup_id unless backup_id.nil?
|
746
|
+
command.query['fields'] = fields unless fields.nil?
|
747
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
748
|
+
execute_or_queue_command(command, &block)
|
749
|
+
end
|
750
|
+
|
751
|
+
# Deletes identified Backup.
|
752
|
+
# @param [String] name
|
753
|
+
# Required. The backup resource name using the form: `projects/`project_id`/
|
754
|
+
# locations/global/domains/`domain_name`/backups/`backup_id``
|
755
|
+
# @param [String] fields
|
756
|
+
# Selector specifying which fields to include in a partial response.
|
757
|
+
# @param [String] quota_user
|
758
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
759
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
760
|
+
# @param [Google::Apis::RequestOptions] options
|
761
|
+
# Request-specific options
|
762
|
+
#
|
763
|
+
# @yield [result, err] Result & error if block supplied
|
764
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
765
|
+
# @yieldparam err [StandardError] error object if request failed
|
766
|
+
#
|
767
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
768
|
+
#
|
769
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
770
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
771
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
772
|
+
def delete_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
773
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
774
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
775
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
776
|
+
command.params['name'] = name unless name.nil?
|
777
|
+
command.query['fields'] = fields unless fields.nil?
|
778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
779
|
+
execute_or_queue_command(command, &block)
|
780
|
+
end
|
781
|
+
|
782
|
+
# Gets details of a single Backup.
|
783
|
+
# @param [String] name
|
784
|
+
# Required. The backup resource name using the form: `projects/`project_id`/
|
785
|
+
# locations/global/domains/`domain_name`/backups/`backup_id``
|
786
|
+
# @param [String] fields
|
787
|
+
# Selector specifying which fields to include in a partial response.
|
788
|
+
# @param [String] quota_user
|
789
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
790
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
791
|
+
# @param [Google::Apis::RequestOptions] options
|
792
|
+
# Request-specific options
|
793
|
+
#
|
794
|
+
# @yield [result, err] Result & error if block supplied
|
795
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Backup] parsed result object
|
796
|
+
# @yieldparam err [StandardError] error object if request failed
|
797
|
+
#
|
798
|
+
# @return [Google::Apis::ManagedidentitiesV1::Backup]
|
799
|
+
#
|
800
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
801
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
802
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
803
|
+
def get_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
804
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
805
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Backup::Representation
|
806
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Backup
|
807
|
+
command.params['name'] = name unless name.nil?
|
808
|
+
command.query['fields'] = fields unless fields.nil?
|
809
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
810
|
+
execute_or_queue_command(command, &block)
|
811
|
+
end
|
812
|
+
|
813
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
814
|
+
# resource exists and does not have a policy set.
|
815
|
+
# @param [String] resource
|
816
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
817
|
+
# operation documentation for the appropriate value for this field.
|
818
|
+
# @param [Fixnum] options_requested_policy_version
|
819
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
820
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
821
|
+
# rejected. Requests for policies with any conditional role bindings must
|
822
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
823
|
+
# valid value or leave the field unset. The policy in the response might use the
|
824
|
+
# policy version that you specified, or it might use a lower policy version. For
|
825
|
+
# example, if you specify version 3, but the policy has no conditional role
|
826
|
+
# bindings, the response uses version 1. To learn which resources support
|
827
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
828
|
+
# google.com/iam/help/conditions/resource-policies).
|
829
|
+
# @param [String] fields
|
830
|
+
# Selector specifying which fields to include in a partial response.
|
831
|
+
# @param [String] quota_user
|
832
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
833
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
834
|
+
# @param [Google::Apis::RequestOptions] options
|
835
|
+
# Request-specific options
|
836
|
+
#
|
837
|
+
# @yield [result, err] Result & error if block supplied
|
838
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
839
|
+
# @yieldparam err [StandardError] error object if request failed
|
840
|
+
#
|
841
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
842
|
+
#
|
843
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
844
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
845
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
846
|
+
def get_project_location_global_domain_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
847
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
848
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
849
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
850
|
+
command.params['resource'] = resource unless resource.nil?
|
851
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
852
|
+
command.query['fields'] = fields unless fields.nil?
|
853
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
854
|
+
execute_or_queue_command(command, &block)
|
855
|
+
end
|
856
|
+
|
857
|
+
# Lists Backup in a given project.
|
858
|
+
# @param [String] parent
|
859
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
860
|
+
# locations/global/domains/`domain_name``
|
861
|
+
# @param [String] filter
|
862
|
+
# Optional. Filter specifying constraints of a list operation.
|
863
|
+
# @param [String] order_by
|
864
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
865
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
866
|
+
# @param [Fixnum] page_size
|
867
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
868
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
869
|
+
# the response may include a partial list and a caller should only rely on
|
870
|
+
# response's next_page_token to determine if there are more instances left to be
|
871
|
+
# queried.
|
872
|
+
# @param [String] page_token
|
873
|
+
# Optional. The `next_page_token` value returned from a previous List request,
|
874
|
+
# if any.
|
875
|
+
# @param [String] fields
|
876
|
+
# Selector specifying which fields to include in a partial response.
|
877
|
+
# @param [String] quota_user
|
878
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
879
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
880
|
+
# @param [Google::Apis::RequestOptions] options
|
881
|
+
# Request-specific options
|
882
|
+
#
|
883
|
+
# @yield [result, err] Result & error if block supplied
|
884
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::ListBackupsResponse] parsed result object
|
885
|
+
# @yieldparam err [StandardError] error object if request failed
|
886
|
+
#
|
887
|
+
# @return [Google::Apis::ManagedidentitiesV1::ListBackupsResponse]
|
888
|
+
#
|
889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
892
|
+
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)
|
893
|
+
command = make_simple_command(:get, 'v1/{+parent}/backups', options)
|
894
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::ListBackupsResponse::Representation
|
895
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::ListBackupsResponse
|
896
|
+
command.params['parent'] = parent unless parent.nil?
|
897
|
+
command.query['filter'] = filter unless filter.nil?
|
898
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
899
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
900
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
901
|
+
command.query['fields'] = fields unless fields.nil?
|
902
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
903
|
+
execute_or_queue_command(command, &block)
|
904
|
+
end
|
905
|
+
|
906
|
+
# Updates the labels for specified Backup.
|
907
|
+
# @param [String] name
|
908
|
+
# Output only. The unique name of the Backup in the form of `projects/`
|
909
|
+
# project_id`/locations/global/domains/`domain_name`/backups/`name``
|
910
|
+
# @param [Google::Apis::ManagedidentitiesV1::Backup] backup_object
|
911
|
+
# @param [String] update_mask
|
912
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
913
|
+
# field. The elements of the repeated paths field may only include these fields
|
914
|
+
# from Backup: * `labels`
|
915
|
+
# @param [String] fields
|
916
|
+
# Selector specifying which fields to include in a partial response.
|
917
|
+
# @param [String] quota_user
|
918
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
919
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
920
|
+
# @param [Google::Apis::RequestOptions] options
|
921
|
+
# Request-specific options
|
922
|
+
#
|
923
|
+
# @yield [result, err] Result & error if block supplied
|
924
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
925
|
+
# @yieldparam err [StandardError] error object if request failed
|
926
|
+
#
|
927
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
928
|
+
#
|
929
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
930
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
931
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
932
|
+
def patch_project_location_global_domain_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
933
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
934
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Backup::Representation
|
935
|
+
command.request_object = backup_object
|
936
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
937
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
938
|
+
command.params['name'] = name unless name.nil?
|
939
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
940
|
+
command.query['fields'] = fields unless fields.nil?
|
941
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
942
|
+
execute_or_queue_command(command, &block)
|
943
|
+
end
|
944
|
+
|
945
|
+
# Sets the access control policy on the specified resource. Replaces any
|
946
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
947
|
+
# PERMISSION_DENIED` errors.
|
948
|
+
# @param [String] resource
|
949
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
950
|
+
# operation documentation for the appropriate value for this field.
|
951
|
+
# @param [Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
952
|
+
# @param [String] fields
|
953
|
+
# Selector specifying which fields to include in a partial response.
|
954
|
+
# @param [String] quota_user
|
955
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
956
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
957
|
+
# @param [Google::Apis::RequestOptions] options
|
958
|
+
# Request-specific options
|
959
|
+
#
|
960
|
+
# @yield [result, err] Result & error if block supplied
|
961
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
962
|
+
# @yieldparam err [StandardError] error object if request failed
|
963
|
+
#
|
964
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
965
|
+
#
|
966
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
967
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
968
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
969
|
+
def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
970
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
971
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest::Representation
|
972
|
+
command.request_object = set_iam_policy_request_object
|
973
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
974
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
975
|
+
command.params['resource'] = resource unless resource.nil?
|
976
|
+
command.query['fields'] = fields unless fields.nil?
|
977
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
978
|
+
execute_or_queue_command(command, &block)
|
979
|
+
end
|
980
|
+
|
981
|
+
# Returns permissions that a caller has on the specified resource. If the
|
982
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
983
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
984
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
985
|
+
# This operation may "fail open" without warning.
|
986
|
+
# @param [String] resource
|
987
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
988
|
+
# operation documentation for the appropriate value for this field.
|
989
|
+
# @param [Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
990
|
+
# @param [String] fields
|
991
|
+
# Selector specifying which fields to include in a partial response.
|
992
|
+
# @param [String] quota_user
|
993
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
994
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
995
|
+
# @param [Google::Apis::RequestOptions] options
|
996
|
+
# Request-specific options
|
997
|
+
#
|
998
|
+
# @yield [result, err] Result & error if block supplied
|
999
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse] parsed result object
|
1000
|
+
# @yieldparam err [StandardError] error object if request failed
|
1001
|
+
#
|
1002
|
+
# @return [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse]
|
1003
|
+
#
|
1004
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1005
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1006
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1007
|
+
def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1008
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1009
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest::Representation
|
1010
|
+
command.request_object = test_iam_permissions_request_object
|
1011
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse::Representation
|
1012
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse
|
1013
|
+
command.params['resource'] = resource unless resource.nil?
|
1014
|
+
command.query['fields'] = fields unless fields.nil?
|
1015
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1016
|
+
execute_or_queue_command(command, &block)
|
1017
|
+
end
|
1018
|
+
|
678
1019
|
# Gets details of a single sqlIntegration.
|
679
1020
|
# @param [String] name
|
680
1021
|
# Required. SQLIntegration resource name using the form: `projects/`project_id`/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-managedidentities_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.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-02-28 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/main/generated/google-apis-managedidentities_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.19.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.3.
|
79
|
+
rubygems_version: 3.3.5
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Managed Service for Microsoft Active Directory API
|