google-apis-managedidentities_v1 0.31.0 → 0.33.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0107ae865209cab207c2c89b9014086e5517dcbe2d4da6bf67eb88fa0cbbf1cf
4
- data.tar.gz: 6646afcfb6052e7c6dae53efa35ea355419b8df43aa558e817dd5ce39339da9f
3
+ metadata.gz: a050d8c343b2b3dfd5ac8440372143f12c6bca0fba3d653faa491ed34ba7fc87
4
+ data.tar.gz: d0f7c8dcda04eb47d41bf0530c07e18cdbccb4eaf87645a81478777f25049525
5
5
  SHA512:
6
- metadata.gz: 76f747b0b7d1b9f34917ed0570b4fab8d5750cc5947890aa96b3b96cb30c30ee4db11917013169c6da12aa6c93e2e3664820a0d0ff6738b775b069fafdc2f04a
7
- data.tar.gz: 306d643a8dd566027f057dee8bc6eba7f18e95eb5e5cc351a35a2051b6d0794599251845b0f63d4a4096108998635a1f2ba9e544bfd685d49c9358db74eee044
6
+ metadata.gz: b4c5378112d6ddb858bcbdb51f8bb95f78feaf9cdea02fbdc3c707e30a33a532c9dd425fa8d2f3e521eaad3a1aff1468c63fbf3fc0ac695b3f1250c0169dce6b
7
+ data.tar.gz: 3feaf8d6185089baccc3c121e3eec0ff5650763c03ec32df27f1ec3dee4a8d99a93f32513819f5c234715a7c8a1465173588e13d4e62de83f17507367a430786
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.33.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231010
6
+
7
+ ### v0.32.0 (2023-07-09)
8
+
9
+ * Regenerated from discovery document revision 20230705
10
+
3
11
  ### v0.31.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230505
@@ -233,6 +233,46 @@ module Google
233
233
  end
234
234
  end
235
235
 
236
+ # CheckMigrationPermissionRequest is the request message for
237
+ # CheckMigrationPermission method.
238
+ class CheckMigrationPermissionRequest
239
+ include Google::Apis::Core::Hashable
240
+
241
+ def initialize(**args)
242
+ update!(**args)
243
+ end
244
+
245
+ # Update properties of this object
246
+ def update!(**args)
247
+ end
248
+ end
249
+
250
+ # CheckMigrationPermissionResponse is the response message for
251
+ # CheckMigrationPermission method.
252
+ class CheckMigrationPermissionResponse
253
+ include Google::Apis::Core::Hashable
254
+
255
+ # The state of SID filtering of all the domains which has trust established.
256
+ # Corresponds to the JSON property `onpremDomains`
257
+ # @return [Array<Google::Apis::ManagedidentitiesV1::OnPremDomainSidDetails>]
258
+ attr_accessor :onprem_domains
259
+
260
+ # The state of DomainMigration.
261
+ # Corresponds to the JSON property `state`
262
+ # @return [String]
263
+ attr_accessor :state
264
+
265
+ def initialize(**args)
266
+ update!(**args)
267
+ end
268
+
269
+ # Update properties of this object
270
+ def update!(**args)
271
+ @onprem_domains = args[:onprem_domains] if args.key?(:onprem_domains)
272
+ @state = args[:state] if args.key?(:state)
273
+ end
274
+ end
275
+
236
276
  # Time window specified for daily operations.
237
277
  class DailyCycle
238
278
  include Google::Apis::Core::Hashable
@@ -1673,6 +1713,32 @@ module Google
1673
1713
  end
1674
1714
  end
1675
1715
 
1716
+ # OnPremDomainDetails is the message which contains details of on-prem domain
1717
+ # which is trusted and needs to be migrated.
1718
+ class OnPremDomainSidDetails
1719
+ include Google::Apis::Core::Hashable
1720
+
1721
+ # FQDN of the on-prem domain being migrated.
1722
+ # Corresponds to the JSON property `name`
1723
+ # @return [String]
1724
+ attr_accessor :name
1725
+
1726
+ # Current SID filtering state.
1727
+ # Corresponds to the JSON property `sidFilteringState`
1728
+ # @return [String]
1729
+ attr_accessor :sid_filtering_state
1730
+
1731
+ def initialize(**args)
1732
+ update!(**args)
1733
+ end
1734
+
1735
+ # Update properties of this object
1736
+ def update!(**args)
1737
+ @name = args[:name] if args.key?(:name)
1738
+ @sid_filtering_state = args[:sid_filtering_state] if args.key?(:sid_filtering_state)
1739
+ end
1740
+ end
1741
+
1676
1742
  # This resource represents a long-running operation that is the result of a
1677
1743
  # network API call.
1678
1744
  class Operation
@@ -1710,13 +1776,13 @@ module Google
1710
1776
  # @return [String]
1711
1777
  attr_accessor :name
1712
1778
 
1713
- # The normal response of the operation in case of success. If the original
1714
- # method returns no data on success, such as `Delete`, the response is `google.
1715
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1716
- # the response should be the resource. For other methods, the response should
1717
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1718
- # example, if the original method name is `TakeSnapshot()`, the inferred
1719
- # response type is `TakeSnapshotResponse`.
1779
+ # The normal, successful response of the operation. If the original method
1780
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1781
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1782
+ # response should be the resource. For other methods, the response should have
1783
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1784
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1785
+ # `TakeSnapshotResponse`.
1720
1786
  # Corresponds to the JSON property `response`
1721
1787
  # @return [Hash<String,Object>]
1722
1788
  attr_accessor :response
@@ -1874,22 +1940,22 @@ module Google
1874
1940
  # evaluates to `true`. A condition can add constraints based on attributes of
1875
1941
  # the request, the resource, or both. To learn which resources support
1876
1942
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1877
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1943
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1878
1944
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1879
1945
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1880
1946
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1881
1947
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1882
1948
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1883
1949
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1884
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1885
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1886
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1887
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1888
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1889
- # access description: Does not grant access after Sep 2020 expression: request.
1890
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1891
- # a description of IAM and its features, see the [IAM documentation](https://
1892
- # cloud.google.com/iam/docs/).
1950
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1951
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1952
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1953
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1954
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1955
+ # title: expirable access description: Does not grant access after Sep 2020
1956
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1957
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1958
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1893
1959
  class Policy
1894
1960
  include Google::Apis::Core::Hashable
1895
1961
 
@@ -2078,22 +2144,22 @@ module Google
2078
2144
  # evaluates to `true`. A condition can add constraints based on attributes of
2079
2145
  # the request, the resource, or both. To learn which resources support
2080
2146
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2081
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2147
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
2082
2148
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2083
2149
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2084
2150
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2085
2151
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2086
2152
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
2087
2153
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2088
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2089
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
2090
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2091
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2092
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2093
- # access description: Does not grant access after Sep 2020 expression: request.
2094
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2095
- # a description of IAM and its features, see the [IAM documentation](https://
2096
- # cloud.google.com/iam/docs/).
2154
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
2155
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
2156
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
2157
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
2158
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
2159
+ # title: expirable access description: Does not grant access after Sep 2020
2160
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
2161
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
2162
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2097
2163
  # Corresponds to the JSON property `policy`
2098
2164
  # @return [Google::Apis::ManagedidentitiesV1::Policy]
2099
2165
  attr_accessor :policy
@@ -2372,8 +2438,8 @@ module Google
2372
2438
  attr_accessor :channel
2373
2439
 
2374
2440
  # Deny Maintenance Period that is applied to resource to indicate when
2375
- # maintenance is forbidden. User can specify zero or more non-overlapping deny
2376
- # periods. Maximum number of deny_maintenance_periods expected is one.
2441
+ # maintenance is forbidden. The protocol supports zero-to-many such periods, but
2442
+ # the current SLM Rollout implementation only supports zero-to-one.
2377
2443
  # Corresponds to the JSON property `denyMaintenancePeriods`
2378
2444
  # @return [Array<Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod>]
2379
2445
  attr_accessor :deny_maintenance_periods
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230505"
25
+ REVISION = "20231010"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,18 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class CheckMigrationPermissionRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CheckMigrationPermissionResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class DailyCycle
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -262,6 +274,12 @@ module Google
262
274
  include Google::Apis::Core::JsonObjectSupport
263
275
  end
264
276
 
277
+ class OnPremDomainSidDetails
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
265
283
  class Operation
266
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
285
 
@@ -425,6 +443,21 @@ module Google
425
443
  end
426
444
  end
427
445
 
446
+ class CheckMigrationPermissionRequest
447
+ # @private
448
+ class Representation < Google::Apis::Core::JsonRepresentation
449
+ end
450
+ end
451
+
452
+ class CheckMigrationPermissionResponse
453
+ # @private
454
+ class Representation < Google::Apis::Core::JsonRepresentation
455
+ collection :onprem_domains, as: 'onpremDomains', class: Google::Apis::ManagedidentitiesV1::OnPremDomainSidDetails, decorator: Google::Apis::ManagedidentitiesV1::OnPremDomainSidDetails::Representation
456
+
457
+ property :state, as: 'state'
458
+ end
459
+ end
460
+
428
461
  class DailyCycle
429
462
  # @private
430
463
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -789,6 +822,14 @@ module Google
789
822
  end
790
823
  end
791
824
 
825
+ class OnPremDomainSidDetails
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :name, as: 'name'
829
+ property :sid_filtering_state, as: 'sidFilteringState'
830
+ end
831
+ end
832
+
792
833
  class Operation
793
834
  # @private
794
835
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -157,6 +157,40 @@ module Google
157
157
  execute_or_queue_command(command, &block)
158
158
  end
159
159
 
160
+ # CheckMigrationPermission API gets the current state of DomainMigration
161
+ # @param [String] domain
162
+ # Required. The domain resource name using the form: `projects/`project_id`/
163
+ # locations/global/domains/`domain_name``
164
+ # @param [Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionRequest] check_migration_permission_request_object
165
+ # @param [String] fields
166
+ # Selector specifying which fields to include in a partial response.
167
+ # @param [String] quota_user
168
+ # Available to use for quota purposes for server-side applications. Can be any
169
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
170
+ # @param [Google::Apis::RequestOptions] options
171
+ # Request-specific options
172
+ #
173
+ # @yield [result, err] Result & error if block supplied
174
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse] parsed result object
175
+ # @yieldparam err [StandardError] error object if request failed
176
+ #
177
+ # @return [Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse]
178
+ #
179
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
180
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
182
+ def check_domain_migration_permission(domain, check_migration_permission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
183
+ command = make_simple_command(:post, 'v1/{+domain}:checkMigrationPermission', options)
184
+ command.request_representation = Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionRequest::Representation
185
+ command.request_object = check_migration_permission_request_object
186
+ command.response_representation = Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse::Representation
187
+ command.response_class = Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse
188
+ command.params['domain'] = domain unless domain.nil?
189
+ command.query['fields'] = fields unless fields.nil?
190
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
191
+ execute_or_queue_command(command, &block)
192
+ end
193
+
160
194
  # Creates a Microsoft AD domain.
161
195
  # @param [String] parent
162
196
  # Required. The resource project name and location using the form: `projects/`
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.31.0
4
+ version: 0.33.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: 2023-05-21 00:00:00.000000000 Z
11
+ date: 2023-10-22 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.31.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.33.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.4.2
79
+ rubygems_version: 3.4.19
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Managed Service for Microsoft Active Directory API