google-apis-managedidentities_v1 0.31.0 → 0.32.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: 0107ae865209cab207c2c89b9014086e5517dcbe2d4da6bf67eb88fa0cbbf1cf
4
- data.tar.gz: 6646afcfb6052e7c6dae53efa35ea355419b8df43aa558e817dd5ce39339da9f
3
+ metadata.gz: 0ea463265dc085607173012a53b97523cb9f339fc9d29a4d9fc3fdd794c9d089
4
+ data.tar.gz: 76aed64a105e77b95d849b3ed28d4fe4e2001fff735c6074d3699c00e9d5f0d0
5
5
  SHA512:
6
- metadata.gz: 76f747b0b7d1b9f34917ed0570b4fab8d5750cc5947890aa96b3b96cb30c30ee4db11917013169c6da12aa6c93e2e3664820a0d0ff6738b775b069fafdc2f04a
7
- data.tar.gz: 306d643a8dd566027f057dee8bc6eba7f18e95eb5e5cc351a35a2051b6d0794599251845b0f63d4a4096108998635a1f2ba9e544bfd685d49c9358db74eee044
6
+ metadata.gz: d44866702967b33681702c6fba693f2244472a907bf63f1fe09c13dfb8fe44125d133e7c0ce8d6ac84d9830910e210878119c1cf2ee59cb66e7596389ffcacd9
7
+ data.tar.gz: 5700a4e579405efdebee6c0aaf738eecbdd7ab7fc629875021a28dfff549915b2aa5a9c1693783b785ee8c082db4adc62f9d1f277dbf89a1cf8a7156125533e3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.32.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230705
6
+
3
7
  ### v0.31.0 (2023-05-14)
4
8
 
5
9
  * 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
@@ -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.32.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 = "20230705"
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.32.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-07-09 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.32.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: []