google-apis-managedidentities_v1 0.18.0 → 0.21.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 +14 -0
- data/lib/google/apis/managedidentities_v1/classes.rb +170 -23
- data/lib/google/apis/managedidentities_v1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1/representations.rb +64 -0
- data/lib/google/apis/managedidentities_v1/service.rb +364 -14
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a369c017afe321d302ceb0a221f28b8148349785d2741aaba28e5ad964b26b68
|
4
|
+
data.tar.gz: db185ac356c919dcd0c6d8cdf19e353786ed5c19453df98a2c3f697729fb279e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c6733813401d5d6cdf7d56a9185966373c2d5608d6e237c4955fa252d99b823fec4a6acef92320f368e9be8c9c6d208f70bba063316be7bbf54dc54d9481713
|
7
|
+
data.tar.gz: 93d3efd3347b7a211ce35b7262f75d217c9ec5a9a7766e35ee3ef8783390a93a552a4904dd7614a437dfd0275e0dc7209bffc4e9fe60621b9b66673e7430d948
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-06-17)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.6.0
|
6
|
+
* Regenerated from discovery document revision 20220526
|
7
|
+
|
8
|
+
### v0.20.0 (2022-04-29)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220331
|
11
|
+
|
12
|
+
### v0.19.0 (2022-02-27)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220216
|
15
|
+
* Regenerated using generator version 0.4.1
|
16
|
+
|
3
17
|
### v0.18.0 (2021-12-14)
|
4
18
|
|
5
19
|
* Unspecified changes
|
@@ -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
|
@@ -67,7 +124,7 @@ module Google
|
|
67
124
|
# @return [Google::Apis::ManagedidentitiesV1::Expr]
|
68
125
|
attr_accessor :condition
|
69
126
|
|
70
|
-
# Specifies the principals requesting access for a Cloud
|
127
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
71
128
|
# members` can have the following values: * `allUsers`: A special identifier
|
72
129
|
# that represents anyone who is on the internet; with or without a Google
|
73
130
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -201,11 +258,11 @@ module Google
|
|
201
258
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
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
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
205
|
-
# and day
|
206
|
-
# with zero month and day
|
207
|
-
#
|
208
|
-
# google.protobuf.Timestamp
|
261
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
262
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
263
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
264
|
+
# example, a credit card expiration date). Related types: * google.type.
|
265
|
+
# TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
|
209
266
|
class Date
|
210
267
|
include Google::Apis::Core::Hashable
|
211
268
|
|
@@ -247,11 +304,11 @@ module Google
|
|
247
304
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
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
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
251
|
-
# and day
|
252
|
-
# with zero month and day
|
253
|
-
#
|
254
|
-
# google.protobuf.Timestamp
|
307
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
308
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
309
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
310
|
+
# example, a credit card expiration date). Related types: * google.type.
|
311
|
+
# TimeOfDay * google.type.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
|
@@ -259,11 +316,11 @@ module Google
|
|
259
316
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
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
|
-
# following: * A full date, with non-zero year, month, and day values * A month
|
263
|
-
# and day
|
264
|
-
# with zero month and day
|
265
|
-
#
|
266
|
-
# google.protobuf.Timestamp
|
319
|
+
# following: * A full date, with non-zero year, month, and day values. * A month
|
320
|
+
# and day, with a zero year (for example, an anniversary). * A year on its own,
|
321
|
+
# with a zero month and a zero day. * A year and month, with a zero day (for
|
322
|
+
# example, a credit card expiration date). Related types: * google.type.
|
323
|
+
# TimeOfDay * google.type.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
|
@@ -421,8 +478,7 @@ module Google
|
|
421
478
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
422
479
|
# messages in your APIs. A typical example is to use it as the request or the
|
423
480
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
424
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
425
|
-
# `Empty` is empty JSON object ````.
|
481
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
426
482
|
class Empty
|
427
483
|
include Google::Apis::Core::Hashable
|
428
484
|
|
@@ -665,6 +721,16 @@ module Google
|
|
665
721
|
# @return [String]
|
666
722
|
attr_accessor :create_time
|
667
723
|
|
724
|
+
# Optional. The instance_type of this instance of format: projects/`
|
725
|
+
# project_number`/locations/`location_id`/instanceTypes/`instance_type_id`.
|
726
|
+
# Instance Type represents a high-level tier or SKU of the service that this
|
727
|
+
# instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses '
|
728
|
+
# instance_type' along with 'software_versions' to determine whether instance
|
729
|
+
# 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.
|
@@ -692,14 +758,23 @@ module Google
|
|
692
758
|
# @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
693
759
|
attr_accessor :maintenance_settings
|
694
760
|
|
695
|
-
# Unique name of the resource. It uses the form: `projects/`
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
761
|
+
# Unique name of the resource. It uses the form: `projects/`project_number`/
|
762
|
+
# locations/`location_id`/instances/`instance_id`` Note: This name is passed,
|
763
|
+
# stored and logged across the rollout system. So use of consumer project_id or
|
764
|
+
# any other consumer PII in the name is strongly discouraged for wipeout (go/
|
765
|
+
# wipeout) compliance. See go/elysium/project_ids#storage-guidance for more
|
766
|
+
# details.
|
699
767
|
# Corresponds to the JSON property `name`
|
700
768
|
# @return [String]
|
701
769
|
attr_accessor :name
|
702
770
|
|
771
|
+
# Optional. notification_parameter are information that service producers may
|
772
|
+
# like to include that is not relevant to Rollout. This parameter will only be
|
773
|
+
# passed to Gamma and Cloud Logging for notification/logging purpose.
|
774
|
+
# Corresponds to the JSON property `notificationParameters`
|
775
|
+
# @return [Hash<String,Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter>]
|
776
|
+
attr_accessor :notification_parameters
|
777
|
+
|
703
778
|
# Output only. Custom string attributes used primarily to expose producer-
|
704
779
|
# specific information in monitoring dashboards. See go/get-instance-metadata.
|
705
780
|
# Corresponds to the JSON property `producerMetadata`
|
@@ -757,11 +832,13 @@ module Google
|
|
757
832
|
def update!(**args)
|
758
833
|
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
759
834
|
@create_time = args[:create_time] if args.key?(:create_time)
|
835
|
+
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
760
836
|
@labels = args[:labels] if args.key?(:labels)
|
761
837
|
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
762
838
|
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
|
763
839
|
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
|
764
840
|
@name = args[:name] if args.key?(:name)
|
841
|
+
@notification_parameters = args[:notification_parameters] if args.key?(:notification_parameters)
|
765
842
|
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
766
843
|
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
767
844
|
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
@@ -900,6 +977,25 @@ module Google
|
|
900
977
|
end
|
901
978
|
end
|
902
979
|
|
980
|
+
# Contains notification related data.
|
981
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
|
982
|
+
include Google::Apis::Core::Hashable
|
983
|
+
|
984
|
+
# Optional. Array of string values. e.g. instance's replica information.
|
985
|
+
# Corresponds to the JSON property `values`
|
986
|
+
# @return [Array<String>]
|
987
|
+
attr_accessor :values
|
988
|
+
|
989
|
+
def initialize(**args)
|
990
|
+
update!(**args)
|
991
|
+
end
|
992
|
+
|
993
|
+
# Update properties of this object
|
994
|
+
def update!(**args)
|
995
|
+
@values = args[:values] if args.key?(:values)
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
903
999
|
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
904
1000
|
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
905
1001
|
include Google::Apis::Core::Hashable
|
@@ -1095,6 +1191,38 @@ module Google
|
|
1095
1191
|
end
|
1096
1192
|
end
|
1097
1193
|
|
1194
|
+
# ListBackupsResponse is the response message for ListBackups method.
|
1195
|
+
class ListBackupsResponse
|
1196
|
+
include Google::Apis::Core::Hashable
|
1197
|
+
|
1198
|
+
# A list of Cloud AD backups in the domain.
|
1199
|
+
# Corresponds to the JSON property `backups`
|
1200
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1::Backup>]
|
1201
|
+
attr_accessor :backups
|
1202
|
+
|
1203
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1204
|
+
# results in the list.
|
1205
|
+
# Corresponds to the JSON property `nextPageToken`
|
1206
|
+
# @return [String]
|
1207
|
+
attr_accessor :next_page_token
|
1208
|
+
|
1209
|
+
# Locations that could not be reached.
|
1210
|
+
# Corresponds to the JSON property `unreachable`
|
1211
|
+
# @return [Array<String>]
|
1212
|
+
attr_accessor :unreachable
|
1213
|
+
|
1214
|
+
def initialize(**args)
|
1215
|
+
update!(**args)
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
# Update properties of this object
|
1219
|
+
def update!(**args)
|
1220
|
+
@backups = args[:backups] if args.key?(:backups)
|
1221
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1222
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1098
1226
|
# Response message for ListDomains
|
1099
1227
|
class ListDomainsResponse
|
1100
1228
|
include Google::Apis::Core::Hashable
|
@@ -1714,6 +1842,25 @@ module Google
|
|
1714
1842
|
end
|
1715
1843
|
end
|
1716
1844
|
|
1845
|
+
# RestoreDomainRequest is the request received by RestoreDomain rpc
|
1846
|
+
class RestoreDomainRequest
|
1847
|
+
include Google::Apis::Core::Hashable
|
1848
|
+
|
1849
|
+
# Required. ID of the backup to be restored
|
1850
|
+
# Corresponds to the JSON property `backupId`
|
1851
|
+
# @return [String]
|
1852
|
+
attr_accessor :backup_id
|
1853
|
+
|
1854
|
+
def initialize(**args)
|
1855
|
+
update!(**args)
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# Update properties of this object
|
1859
|
+
def update!(**args)
|
1860
|
+
@backup_id = args[:backup_id] if args.key?(:backup_id)
|
1861
|
+
end
|
1862
|
+
end
|
1863
|
+
|
1717
1864
|
# Configure the schedule.
|
1718
1865
|
class Schedule
|
1719
1866
|
include Google::Apis::Core::Hashable
|
@@ -1880,7 +2027,7 @@ module Google
|
|
1880
2027
|
include Google::Apis::Core::Hashable
|
1881
2028
|
|
1882
2029
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1883
|
-
# (such as
|
2030
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
1884
2031
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1885
2032
|
# Corresponds to the JSON property `permissions`
|
1886
2033
|
# @return [Array<String>]
|
@@ -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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.6.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220526"
|
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
|
|
@@ -130,6 +136,12 @@ module Google
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
131
137
|
end
|
132
138
|
|
139
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
133
145
|
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
134
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
147
|
|
@@ -160,6 +172,12 @@ module Google
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
161
173
|
end
|
162
174
|
|
175
|
+
class ListBackupsResponse
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
163
181
|
class ListDomainsResponse
|
164
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
183
|
|
@@ -250,6 +268,12 @@ module Google
|
|
250
268
|
include Google::Apis::Core::JsonObjectSupport
|
251
269
|
end
|
252
270
|
|
271
|
+
class RestoreDomainRequest
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
253
277
|
class Schedule
|
254
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
279
|
|
@@ -324,6 +348,19 @@ module Google
|
|
324
348
|
end
|
325
349
|
end
|
326
350
|
|
351
|
+
class Backup
|
352
|
+
# @private
|
353
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
354
|
+
property :create_time, as: 'createTime'
|
355
|
+
hash :labels, as: 'labels'
|
356
|
+
property :name, as: 'name'
|
357
|
+
property :state, as: 'state'
|
358
|
+
property :status_message, as: 'statusMessage'
|
359
|
+
property :type, as: 'type'
|
360
|
+
property :update_time, as: 'updateTime'
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
327
364
|
class Binding
|
328
365
|
# @private
|
329
366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -467,6 +504,7 @@ module Google
|
|
467
504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
468
505
|
property :consumer_defined_name, as: 'consumerDefinedName'
|
469
506
|
property :create_time, as: 'createTime'
|
507
|
+
property :instance_type, as: 'instanceType'
|
470
508
|
hash :labels, as: 'labels'
|
471
509
|
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
472
510
|
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
|
@@ -474,6 +512,8 @@ module Google
|
|
474
512
|
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
475
513
|
|
476
514
|
property :name, as: 'name'
|
515
|
+
hash :notification_parameters, as: 'notificationParameters', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter::Representation
|
516
|
+
|
477
517
|
hash :producer_metadata, as: 'producerMetadata'
|
478
518
|
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
479
519
|
|
@@ -518,6 +558,13 @@ module Google
|
|
518
558
|
end
|
519
559
|
end
|
520
560
|
|
561
|
+
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter
|
562
|
+
# @private
|
563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
+
collection :values, as: 'values'
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
521
568
|
class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
|
522
569
|
# @private
|
523
570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -566,6 +613,16 @@ module Google
|
|
566
613
|
end
|
567
614
|
end
|
568
615
|
|
616
|
+
class ListBackupsResponse
|
617
|
+
# @private
|
618
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
619
|
+
collection :backups, as: 'backups', class: Google::Apis::ManagedidentitiesV1::Backup, decorator: Google::Apis::ManagedidentitiesV1::Backup::Representation
|
620
|
+
|
621
|
+
property :next_page_token, as: 'nextPageToken'
|
622
|
+
collection :unreachable, as: 'unreachable'
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
569
626
|
class ListDomainsResponse
|
570
627
|
# @private
|
571
628
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -719,6 +776,13 @@ module Google
|
|
719
776
|
end
|
720
777
|
end
|
721
778
|
|
779
|
+
class RestoreDomainRequest
|
780
|
+
# @private
|
781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
782
|
+
property :backup_id, as: 'backupId'
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
722
786
|
class Schedule
|
723
787
|
# @private
|
724
788
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -85,8 +85,8 @@ module Google
|
|
85
85
|
# The resource that owns the locations collection, if applicable.
|
86
86
|
# @param [String] filter
|
87
87
|
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
-
# accepts strings like "displayName=tokyo"
|
89
|
-
# AIP-160](https://google.aip.dev/160).
|
88
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
89
|
+
# in [AIP-160](https://google.aip.dev/160).
|
90
90
|
# @param [Fixnum] page_size
|
91
91
|
# The maximum number of results to return. If not set, the service selects a
|
92
92
|
# default.
|
@@ -299,8 +299,9 @@ module Google
|
|
299
299
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
300
300
|
# resource exists and does not have a policy set.
|
301
301
|
# @param [String] resource
|
302
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
303
|
-
#
|
302
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
303
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
304
|
+
# appropriate value for this field.
|
304
305
|
# @param [Fixnum] options_requested_policy_version
|
305
306
|
# Optional. The maximum policy version that will be used to format the policy.
|
306
307
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -527,12 +528,46 @@ module Google
|
|
527
528
|
execute_or_queue_command(command, &block)
|
528
529
|
end
|
529
530
|
|
531
|
+
# RestoreDomain restores domain backup mentioned in the RestoreDomainRequest
|
532
|
+
# @param [String] name
|
533
|
+
# Required. Resource name for the domain to which the backup belongs
|
534
|
+
# @param [Google::Apis::ManagedidentitiesV1::RestoreDomainRequest] restore_domain_request_object
|
535
|
+
# @param [String] fields
|
536
|
+
# Selector specifying which fields to include in a partial response.
|
537
|
+
# @param [String] quota_user
|
538
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
539
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
540
|
+
# @param [Google::Apis::RequestOptions] options
|
541
|
+
# Request-specific options
|
542
|
+
#
|
543
|
+
# @yield [result, err] Result & error if block supplied
|
544
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
545
|
+
# @yieldparam err [StandardError] error object if request failed
|
546
|
+
#
|
547
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
548
|
+
#
|
549
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
550
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
551
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
552
|
+
def restore_domain(name, restore_domain_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
553
|
+
command = make_simple_command(:post, 'v1/{+name}:restore', options)
|
554
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::RestoreDomainRequest::Representation
|
555
|
+
command.request_object = restore_domain_request_object
|
556
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
557
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
558
|
+
command.params['name'] = name unless name.nil?
|
559
|
+
command.query['fields'] = fields unless fields.nil?
|
560
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
561
|
+
execute_or_queue_command(command, &block)
|
562
|
+
end
|
563
|
+
|
530
564
|
# Sets the access control policy on the specified resource. Replaces any
|
531
565
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
532
566
|
# PERMISSION_DENIED` errors.
|
533
567
|
# @param [String] resource
|
534
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
535
|
-
#
|
568
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
569
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
570
|
+
# appropriate value for this field.
|
536
571
|
# @param [Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
537
572
|
# @param [String] fields
|
538
573
|
# Selector specifying which fields to include in a partial response.
|
@@ -569,8 +604,9 @@ module Google
|
|
569
604
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
570
605
|
# This operation may "fail open" without warning.
|
571
606
|
# @param [String] resource
|
572
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
573
|
-
#
|
607
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
608
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
609
|
+
# appropriate value for this field.
|
574
610
|
# @param [Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
575
611
|
# @param [String] fields
|
576
612
|
# Selector specifying which fields to include in a partial response.
|
@@ -675,6 +711,317 @@ module Google
|
|
675
711
|
execute_or_queue_command(command, &block)
|
676
712
|
end
|
677
713
|
|
714
|
+
# Creates a Backup for a domain.
|
715
|
+
# @param [String] parent
|
716
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
717
|
+
# locations/global/domains/`domain_name``
|
718
|
+
# @param [Google::Apis::ManagedidentitiesV1::Backup] backup_object
|
719
|
+
# @param [String] backup_id
|
720
|
+
# Required. Backup Id, unique name to identify the backups with the following
|
721
|
+
# restrictions: * Must be lowercase letters, numbers, and hyphens * Must start
|
722
|
+
# with a letter. * Must contain between 1-63 characters. * Must end with a
|
723
|
+
# number or a letter. * Must be unique within the domain.
|
724
|
+
# @param [String] fields
|
725
|
+
# Selector specifying which fields to include in a partial response.
|
726
|
+
# @param [String] quota_user
|
727
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
728
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
729
|
+
# @param [Google::Apis::RequestOptions] options
|
730
|
+
# Request-specific options
|
731
|
+
#
|
732
|
+
# @yield [result, err] Result & error if block supplied
|
733
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
734
|
+
# @yieldparam err [StandardError] error object if request failed
|
735
|
+
#
|
736
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
737
|
+
#
|
738
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
739
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
740
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
741
|
+
def create_project_location_global_domain_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
742
|
+
command = make_simple_command(:post, 'v1/{+parent}/backups', options)
|
743
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Backup::Representation
|
744
|
+
command.request_object = backup_object
|
745
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
746
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
747
|
+
command.params['parent'] = parent unless parent.nil?
|
748
|
+
command.query['backupId'] = backup_id unless backup_id.nil?
|
749
|
+
command.query['fields'] = fields unless fields.nil?
|
750
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
751
|
+
execute_or_queue_command(command, &block)
|
752
|
+
end
|
753
|
+
|
754
|
+
# Deletes identified Backup.
|
755
|
+
# @param [String] name
|
756
|
+
# Required. The backup resource name using the form: `projects/`project_id`/
|
757
|
+
# locations/global/domains/`domain_name`/backups/`backup_id``
|
758
|
+
# @param [String] fields
|
759
|
+
# Selector specifying which fields to include in a partial response.
|
760
|
+
# @param [String] quota_user
|
761
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
762
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
763
|
+
# @param [Google::Apis::RequestOptions] options
|
764
|
+
# Request-specific options
|
765
|
+
#
|
766
|
+
# @yield [result, err] Result & error if block supplied
|
767
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
768
|
+
# @yieldparam err [StandardError] error object if request failed
|
769
|
+
#
|
770
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
771
|
+
#
|
772
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
773
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
774
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
775
|
+
def delete_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
776
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
777
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
778
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
779
|
+
command.params['name'] = name unless name.nil?
|
780
|
+
command.query['fields'] = fields unless fields.nil?
|
781
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
782
|
+
execute_or_queue_command(command, &block)
|
783
|
+
end
|
784
|
+
|
785
|
+
# Gets details of a single Backup.
|
786
|
+
# @param [String] name
|
787
|
+
# Required. The backup resource name using the form: `projects/`project_id`/
|
788
|
+
# locations/global/domains/`domain_name`/backups/`backup_id``
|
789
|
+
# @param [String] fields
|
790
|
+
# Selector specifying which fields to include in a partial response.
|
791
|
+
# @param [String] quota_user
|
792
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
793
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
794
|
+
# @param [Google::Apis::RequestOptions] options
|
795
|
+
# Request-specific options
|
796
|
+
#
|
797
|
+
# @yield [result, err] Result & error if block supplied
|
798
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Backup] parsed result object
|
799
|
+
# @yieldparam err [StandardError] error object if request failed
|
800
|
+
#
|
801
|
+
# @return [Google::Apis::ManagedidentitiesV1::Backup]
|
802
|
+
#
|
803
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
804
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
805
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
806
|
+
def get_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
|
807
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
808
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Backup::Representation
|
809
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Backup
|
810
|
+
command.params['name'] = name unless name.nil?
|
811
|
+
command.query['fields'] = fields unless fields.nil?
|
812
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
813
|
+
execute_or_queue_command(command, &block)
|
814
|
+
end
|
815
|
+
|
816
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
817
|
+
# resource exists and does not have a policy set.
|
818
|
+
# @param [String] resource
|
819
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
820
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
821
|
+
# appropriate value for this field.
|
822
|
+
# @param [Fixnum] options_requested_policy_version
|
823
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
824
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
825
|
+
# rejected. Requests for policies with any conditional role bindings must
|
826
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
827
|
+
# valid value or leave the field unset. The policy in the response might use the
|
828
|
+
# policy version that you specified, or it might use a lower policy version. For
|
829
|
+
# example, if you specify version 3, but the policy has no conditional role
|
830
|
+
# bindings, the response uses version 1. To learn which resources support
|
831
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
832
|
+
# google.com/iam/help/conditions/resource-policies).
|
833
|
+
# @param [String] fields
|
834
|
+
# Selector specifying which fields to include in a partial response.
|
835
|
+
# @param [String] quota_user
|
836
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
837
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
838
|
+
# @param [Google::Apis::RequestOptions] options
|
839
|
+
# Request-specific options
|
840
|
+
#
|
841
|
+
# @yield [result, err] Result & error if block supplied
|
842
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
843
|
+
# @yieldparam err [StandardError] error object if request failed
|
844
|
+
#
|
845
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
846
|
+
#
|
847
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
848
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
849
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
850
|
+
def get_project_location_global_domain_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
851
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
852
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
853
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
854
|
+
command.params['resource'] = resource unless resource.nil?
|
855
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
856
|
+
command.query['fields'] = fields unless fields.nil?
|
857
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
858
|
+
execute_or_queue_command(command, &block)
|
859
|
+
end
|
860
|
+
|
861
|
+
# Lists Backup in a given project.
|
862
|
+
# @param [String] parent
|
863
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
864
|
+
# locations/global/domains/`domain_name``
|
865
|
+
# @param [String] filter
|
866
|
+
# Optional. Filter specifying constraints of a list operation.
|
867
|
+
# @param [String] order_by
|
868
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
869
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
870
|
+
# @param [Fixnum] page_size
|
871
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
872
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
873
|
+
# the response may include a partial list and a caller should only rely on
|
874
|
+
# response's next_page_token to determine if there are more instances left to be
|
875
|
+
# queried.
|
876
|
+
# @param [String] page_token
|
877
|
+
# Optional. The `next_page_token` value returned from a previous List request,
|
878
|
+
# if any.
|
879
|
+
# @param [String] fields
|
880
|
+
# Selector specifying which fields to include in a partial response.
|
881
|
+
# @param [String] quota_user
|
882
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
883
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
884
|
+
# @param [Google::Apis::RequestOptions] options
|
885
|
+
# Request-specific options
|
886
|
+
#
|
887
|
+
# @yield [result, err] Result & error if block supplied
|
888
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::ListBackupsResponse] parsed result object
|
889
|
+
# @yieldparam err [StandardError] error object if request failed
|
890
|
+
#
|
891
|
+
# @return [Google::Apis::ManagedidentitiesV1::ListBackupsResponse]
|
892
|
+
#
|
893
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
894
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
895
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
896
|
+
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)
|
897
|
+
command = make_simple_command(:get, 'v1/{+parent}/backups', options)
|
898
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::ListBackupsResponse::Representation
|
899
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::ListBackupsResponse
|
900
|
+
command.params['parent'] = parent unless parent.nil?
|
901
|
+
command.query['filter'] = filter unless filter.nil?
|
902
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
903
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
904
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
905
|
+
command.query['fields'] = fields unless fields.nil?
|
906
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
907
|
+
execute_or_queue_command(command, &block)
|
908
|
+
end
|
909
|
+
|
910
|
+
# Updates the labels for specified Backup.
|
911
|
+
# @param [String] name
|
912
|
+
# Output only. The unique name of the Backup in the form of `projects/`
|
913
|
+
# project_id`/locations/global/domains/`domain_name`/backups/`name``
|
914
|
+
# @param [Google::Apis::ManagedidentitiesV1::Backup] backup_object
|
915
|
+
# @param [String] update_mask
|
916
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
917
|
+
# field. The elements of the repeated paths field may only include these fields
|
918
|
+
# from Backup: * `labels`
|
919
|
+
# @param [String] fields
|
920
|
+
# Selector specifying which fields to include in a partial response.
|
921
|
+
# @param [String] quota_user
|
922
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
923
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
924
|
+
# @param [Google::Apis::RequestOptions] options
|
925
|
+
# Request-specific options
|
926
|
+
#
|
927
|
+
# @yield [result, err] Result & error if block supplied
|
928
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
929
|
+
# @yieldparam err [StandardError] error object if request failed
|
930
|
+
#
|
931
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
932
|
+
#
|
933
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
934
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
935
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
936
|
+
def patch_project_location_global_domain_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
937
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
938
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Backup::Representation
|
939
|
+
command.request_object = backup_object
|
940
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
941
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
942
|
+
command.params['name'] = name unless name.nil?
|
943
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
944
|
+
command.query['fields'] = fields unless fields.nil?
|
945
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
946
|
+
execute_or_queue_command(command, &block)
|
947
|
+
end
|
948
|
+
|
949
|
+
# Sets the access control policy on the specified resource. Replaces any
|
950
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
951
|
+
# PERMISSION_DENIED` errors.
|
952
|
+
# @param [String] resource
|
953
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
954
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
955
|
+
# appropriate value for this field.
|
956
|
+
# @param [Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
957
|
+
# @param [String] fields
|
958
|
+
# Selector specifying which fields to include in a partial response.
|
959
|
+
# @param [String] quota_user
|
960
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
961
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
962
|
+
# @param [Google::Apis::RequestOptions] options
|
963
|
+
# Request-specific options
|
964
|
+
#
|
965
|
+
# @yield [result, err] Result & error if block supplied
|
966
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
967
|
+
# @yieldparam err [StandardError] error object if request failed
|
968
|
+
#
|
969
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
970
|
+
#
|
971
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
972
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
973
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
974
|
+
def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
975
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
976
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest::Representation
|
977
|
+
command.request_object = set_iam_policy_request_object
|
978
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
979
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
980
|
+
command.params['resource'] = resource unless resource.nil?
|
981
|
+
command.query['fields'] = fields unless fields.nil?
|
982
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
983
|
+
execute_or_queue_command(command, &block)
|
984
|
+
end
|
985
|
+
|
986
|
+
# Returns permissions that a caller has on the specified resource. If the
|
987
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
988
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
989
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
990
|
+
# This operation may "fail open" without warning.
|
991
|
+
# @param [String] resource
|
992
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
993
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
994
|
+
# appropriate value for this field.
|
995
|
+
# @param [Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
996
|
+
# @param [String] fields
|
997
|
+
# Selector specifying which fields to include in a partial response.
|
998
|
+
# @param [String] quota_user
|
999
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1000
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1001
|
+
# @param [Google::Apis::RequestOptions] options
|
1002
|
+
# Request-specific options
|
1003
|
+
#
|
1004
|
+
# @yield [result, err] Result & error if block supplied
|
1005
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse] parsed result object
|
1006
|
+
# @yieldparam err [StandardError] error object if request failed
|
1007
|
+
#
|
1008
|
+
# @return [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse]
|
1009
|
+
#
|
1010
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1011
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1012
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1013
|
+
def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1014
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1015
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest::Representation
|
1016
|
+
command.request_object = test_iam_permissions_request_object
|
1017
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse::Representation
|
1018
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse
|
1019
|
+
command.params['resource'] = resource unless resource.nil?
|
1020
|
+
command.query['fields'] = fields unless fields.nil?
|
1021
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1022
|
+
execute_or_queue_command(command, &block)
|
1023
|
+
end
|
1024
|
+
|
678
1025
|
# Gets details of a single sqlIntegration.
|
679
1026
|
# @param [String] name
|
680
1027
|
# Required. SQLIntegration resource name using the form: `projects/`project_id`/
|
@@ -1009,8 +1356,9 @@ module Google
|
|
1009
1356
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1010
1357
|
# resource exists and does not have a policy set.
|
1011
1358
|
# @param [String] resource
|
1012
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1013
|
-
#
|
1359
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1360
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1361
|
+
# appropriate value for this field.
|
1014
1362
|
# @param [Fixnum] options_requested_policy_version
|
1015
1363
|
# Optional. The maximum policy version that will be used to format the policy.
|
1016
1364
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1144,8 +1492,9 @@ module Google
|
|
1144
1492
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1145
1493
|
# PERMISSION_DENIED` errors.
|
1146
1494
|
# @param [String] resource
|
1147
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1148
|
-
#
|
1495
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1496
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1497
|
+
# appropriate value for this field.
|
1149
1498
|
# @param [Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1150
1499
|
# @param [String] fields
|
1151
1500
|
# Selector specifying which fields to include in a partial response.
|
@@ -1182,8 +1531,9 @@ module Google
|
|
1182
1531
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1183
1532
|
# This operation may "fail open" without warning.
|
1184
1533
|
# @param [String] resource
|
1185
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1186
|
-
#
|
1534
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1535
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1536
|
+
# appropriate value for this field.
|
1187
1537
|
# @param [Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1188
1538
|
# @param [String] fields
|
1189
1539
|
# 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-managedidentities_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.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-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.6'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.6'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.21.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.14
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Managed Service for Microsoft Active Directory API
|