google-apis-managedidentities_v1 0.16.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 022465d28753c63f423334d46b88f7c09f5b5f47be54c87534efcbbc5417885f
4
- data.tar.gz: 329dbf5f7316cb8ccc6c38dab3c185c079e65632475a81413bdd9c2c71a066a5
3
+ metadata.gz: f526d9b047c5dd81e72625ee83168557a9a35a6c0da4cd870f2edfd714242362
4
+ data.tar.gz: 21486b383b63a3e4d1def96ada0132404c3d4b29c059150aa447594d201b75d7
5
5
  SHA512:
6
- metadata.gz: 885f775413bbbbcb4f6a824eaac7d82fb4aa277b8336ed21900414fed9493afa67f62fe46fdbd381c3830476896d4a8c3bcd0046deef31d064ae520d5b630165
7
- data.tar.gz: b21c4211a7cebd817b6a605822936a18f7b7bcb157431e2cb7df0f58e0e7610cfd942880a0e6704c1eb532f39c6b57e991153c2d5d5293bda3ba5844aea1d30a
6
+ metadata.gz: 2e4cc8d5b96b2ffe06ce3bd91f47905c2d028977ce871ebec58975a904029c2b651a10ba2ed3a3be05ce5fb24922bae1132896a0ee5d6afe76ea33af575148e9
7
+ data.tar.gz: c4ecb1ea41cd1579f358966c29d93d63b8b1cc19b90561282b71773a1c835752fa67de68904b0ba9b6680ab7bda1d291e0c643f07dee24079ad7c6aff1f31f02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.19.0 (2022-02-27)
4
+
5
+ * Regenerated from discovery document revision 20220216
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.18.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.17.0 (2021-11-14)
13
+
14
+ * Regenerated from discovery document revision 20211108
15
+
3
16
  ### v0.16.0 (2021-10-21)
4
17
 
5
18
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/managedidentities_v1"
51
51
  client = Google::Apis::ManagedidentitiesV1::ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -44,7 +44,64 @@ module Google
44
44
  end
45
45
  end
46
46
 
47
- # Associates `members` with a `role`.
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
+
104
+ # Associates `members`, or principals, with a `role`.
48
105
  class Binding
49
106
  include Google::Apis::Core::Hashable
50
107
 
@@ -67,7 +124,7 @@ module Google
67
124
  # @return [Google::Apis::ManagedidentitiesV1::Expr]
68
125
  attr_accessor :condition
69
126
 
70
- # Specifies the identities requesting access for a Cloud Platform resource. `
127
+ # Specifies the principals requesting access for a Cloud Platform 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
@@ -97,8 +154,8 @@ module Google
97
154
  # @return [Array<String>]
98
155
  attr_accessor :members
99
156
 
100
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
101
- # , or `roles/owner`.
157
+ # Role that is assigned to the list of `members`, or principals. For example, `
158
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
102
159
  # Corresponds to the JSON property `role`
103
160
  # @return [String]
104
161
  attr_accessor :role
@@ -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 value, with a zero year, such as an anniversary * A year on its own,
206
- # with zero month and day values * A year and month value, with a zero day, such
207
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
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 value, with a zero year, such as an anniversary * A year on its own,
252
- # with zero month and day values * A year and month value, with a zero day, such
253
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
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 value, with a zero year, such as an anniversary * A year on its own,
264
- # with zero month and day values * A year and month value, with a zero day, such
265
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
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
@@ -1568,42 +1675,42 @@ module Google
1568
1675
 
1569
1676
  # An Identity and Access Management (IAM) policy, which specifies access
1570
1677
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1571
- # A `binding` binds one or more `members` to a single `role`. Members can be
1572
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1573
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1574
- # role or a user-created custom role. For some types of Google Cloud resources,
1575
- # a `binding` can also specify a `condition`, which is a logical expression that
1576
- # allows access to a resource only if the expression evaluates to `true`. A
1577
- # condition can add constraints based on attributes of the request, the resource,
1578
- # or both. To learn which resources support conditions in their IAM policies,
1579
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1580
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1581
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1582
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1583
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1584
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1585
- # title": "expirable access", "description": "Does not grant access after Sep
1586
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1587
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1588
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1589
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1590
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1591
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1592
- # description: Does not grant access after Sep 2020 expression: request.time <
1593
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1594
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1595
- # google.com/iam/docs/).
1678
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1679
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1680
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1681
+ # an IAM predefined role or a user-created custom role. For some types of Google
1682
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1683
+ # logical expression that allows access to a resource only if the expression
1684
+ # evaluates to `true`. A condition can add constraints based on attributes of
1685
+ # the request, the resource, or both. To learn which resources support
1686
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1687
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1688
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1689
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1690
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1691
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1692
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1693
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1694
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1695
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1696
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1697
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1698
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1699
+ # access description: Does not grant access after Sep 2020 expression: request.
1700
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1701
+ # a description of IAM and its features, see the [IAM documentation](https://
1702
+ # cloud.google.com/iam/docs/).
1596
1703
  class Policy
1597
1704
  include Google::Apis::Core::Hashable
1598
1705
 
1599
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1600
- # condition` that determines how and when the `bindings` are applied. Each of
1601
- # the `bindings` must contain at least one member. The `bindings` in a `Policy`
1602
- # can refer to up to 1,500 members; up to 250 of these members can be Google
1603
- # groups. Each occurrence of a member counts towards these limits. For example,
1604
- # if the `bindings` grant 50 different roles to `user:alice@example.com`, and
1605
- # not to any other member, then you can add another 1,450 members to the `
1606
- # bindings` in the `Policy`.
1706
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1707
+ # specify a `condition` that determines how and when the `bindings` are applied.
1708
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1709
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1710
+ # can be Google groups. Each occurrence of a principal counts towards these
1711
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1712
+ # example.com`, and not to any other principal, then you can add another 1,450
1713
+ # principals to the `bindings` in the `Policy`.
1607
1714
  # Corresponds to the JSON property `bindings`
1608
1715
  # @return [Array<Google::Apis::ManagedidentitiesV1::Binding>]
1609
1716
  attr_accessor :bindings
@@ -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
@@ -1753,31 +1879,31 @@ module Google
1753
1879
 
1754
1880
  # An Identity and Access Management (IAM) policy, which specifies access
1755
1881
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1756
- # A `binding` binds one or more `members` to a single `role`. Members can be
1757
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1758
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1759
- # role or a user-created custom role. For some types of Google Cloud resources,
1760
- # a `binding` can also specify a `condition`, which is a logical expression that
1761
- # allows access to a resource only if the expression evaluates to `true`. A
1762
- # condition can add constraints based on attributes of the request, the resource,
1763
- # or both. To learn which resources support conditions in their IAM policies,
1764
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1765
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1766
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1767
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1768
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1769
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1770
- # title": "expirable access", "description": "Does not grant access after Sep
1771
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1772
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1773
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1774
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1775
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1776
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1777
- # description: Does not grant access after Sep 2020 expression: request.time <
1778
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1779
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1780
- # google.com/iam/docs/).
1882
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1883
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1884
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1885
+ # an IAM predefined role or a user-created custom role. For some types of Google
1886
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1887
+ # logical expression that allows access to a resource only if the expression
1888
+ # evaluates to `true`. A condition can add constraints based on attributes of
1889
+ # the request, the resource, or both. To learn which resources support
1890
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1891
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1892
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1893
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1894
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1895
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1896
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1897
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1898
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1899
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1900
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1901
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1902
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1903
+ # access description: Does not grant access after Sep 2020 expression: request.
1904
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1905
+ # a description of IAM and its features, see the [IAM documentation](https://
1906
+ # cloud.google.com/iam/docs/).
1781
1907
  # Corresponds to the JSON property `policy`
1782
1908
  # @return [Google::Apis::ManagedidentitiesV1::Policy]
1783
1909
  attr_accessor :policy
@@ -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.16.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.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211004"
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
@@ -302,13 +302,16 @@ module Google
302
302
  # REQUIRED: The resource for which the policy is being requested. See the
303
303
  # operation documentation for the appropriate value for this field.
304
304
  # @param [Fixnum] options_requested_policy_version
305
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
306
- # 3. Requests specifying an invalid value will be rejected. Requests for
307
- # policies with any conditional bindings must specify version 3. Policies
308
- # without any conditional bindings may specify any valid value or leave the
309
- # field unset. To learn which resources support conditions in their IAM policies,
310
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
311
- # resource-policies).
305
+ # Optional. The maximum policy version that will be used to format the policy.
306
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
307
+ # rejected. Requests for policies with any conditional role bindings must
308
+ # specify version 3. Policies with no conditional role bindings may specify any
309
+ # valid value or leave the field unset. The policy in the response might use the
310
+ # policy version that you specified, or it might use a lower policy version. For
311
+ # example, if you specify version 3, but the policy has no conditional role
312
+ # bindings, the response uses version 1. To learn which resources support
313
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
314
+ # google.com/iam/help/conditions/resource-policies).
312
315
  # @param [String] fields
313
316
  # Selector specifying which fields to include in a partial response.
314
317
  # @param [String] quota_user
@@ -524,6 +527,39 @@ module Google
524
527
  execute_or_queue_command(command, &block)
525
528
  end
526
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
+
527
563
  # Sets the access control policy on the specified resource. Replaces any
528
564
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
529
565
  # PERMISSION_DENIED` errors.
@@ -672,6 +708,314 @@ module Google
672
708
  execute_or_queue_command(command, &block)
673
709
  end
674
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
+
675
1019
  # Gets details of a single sqlIntegration.
676
1020
  # @param [String] name
677
1021
  # Required. SQLIntegration resource name using the form: `projects/`project_id`/
@@ -1009,13 +1353,16 @@ module Google
1009
1353
  # REQUIRED: The resource for which the policy is being requested. See the
1010
1354
  # operation documentation for the appropriate value for this field.
1011
1355
  # @param [Fixnum] options_requested_policy_version
1012
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
1013
- # 3. Requests specifying an invalid value will be rejected. Requests for
1014
- # policies with any conditional bindings must specify version 3. Policies
1015
- # without any conditional bindings may specify any valid value or leave the
1016
- # field unset. To learn which resources support conditions in their IAM policies,
1017
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1018
- # resource-policies).
1356
+ # Optional. The maximum policy version that will be used to format the policy.
1357
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1358
+ # rejected. Requests for policies with any conditional role bindings must
1359
+ # specify version 3. Policies with no conditional role bindings may specify any
1360
+ # valid value or leave the field unset. The policy in the response might use the
1361
+ # policy version that you specified, or it might use a lower policy version. For
1362
+ # example, if you specify version 3, but the policy has no conditional role
1363
+ # bindings, the response uses version 1. To learn which resources support
1364
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1365
+ # google.com/iam/help/conditions/resource-policies).
1019
1366
  # @param [String] fields
1020
1367
  # Selector specifying which fields to include in a partial response.
1021
1368
  # @param [String] quota_user
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.16.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: 2021-10-27 00:00:00.000000000 Z
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.16.0
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.2.17
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