google-apis-managedidentities_v1alpha1 0.26.0 → 0.27.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: '014948ce6eb27bd5e8f45174dee348559ed252f0f02df3467d532ac4bc8eead9'
4
- data.tar.gz: 30b85fdae6cf1263e26eb4338e495451b03ddd5c2caaeb843a94add3cac148f8
3
+ metadata.gz: 158411a220970402190fbbb0a96259569154ac97e2bfd2aee57f6a730134d3a5
4
+ data.tar.gz: 8f000254ad3b9d8dec7bf5435522cf76ec051cfbf5dfec0071175691935775d4
5
5
  SHA512:
6
- metadata.gz: 2c3f42d3f9a4fb31b38d4de77bcb48a0c6dacf252bb61f8829e7515feb065fb444a977f989095e724e6361fbdad7734fdc4e22dc057e7211d328c1e0b2b94780
7
- data.tar.gz: 0e04a871236e7f8aae7a9930c707bba501bad4e55d7bfc0d97d5390ab49393ffb0414b57bee0458064a2b1ab4d0a5c4681246636350a6a4c663f0708084b1ee3
6
+ metadata.gz: 848557ddccb631142c2300dfbbcce0e0451e54fc7a7357a2378e4bb2948c30cce0b5adf6d9ba569477b66b414d399640135e9f078567bfe6ef4666dbbd2e71e8
7
+ data.tar.gz: 213d9bcba533df689540c7730ee70dd19f948bfb175eab44a4ed0feb49c2c23005db0c48797ca490ad64fbbd4d73f5529b6d892b60b324b847e93952b4e138aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-managedidentities_v1alpha1
2
2
 
3
+ ### v0.27.0 (2022-10-20)
4
+
5
+ * Regenerated from discovery document revision 20220926
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.26.0 (2022-09-29)
4
9
 
5
10
  * Regenerated using generator version 0.10.0
@@ -241,6 +241,46 @@ module Google
241
241
  end
242
242
  end
243
243
 
244
+ # CheckMigrationPermissionRequest is the request message for
245
+ # CheckMigrationPermission method.
246
+ class CheckMigrationPermissionRequest
247
+ include Google::Apis::Core::Hashable
248
+
249
+ def initialize(**args)
250
+ update!(**args)
251
+ end
252
+
253
+ # Update properties of this object
254
+ def update!(**args)
255
+ end
256
+ end
257
+
258
+ # CheckMigrationPermissionResponse is the response message for
259
+ # CheckMigrationPermission method.
260
+ class CheckMigrationPermissionResponse
261
+ include Google::Apis::Core::Hashable
262
+
263
+ # The state of SID filtering of all the domains which has trust established.
264
+ # Corresponds to the JSON property `onpremDomains`
265
+ # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainSidDetails>]
266
+ attr_accessor :onprem_domains
267
+
268
+ # The state of DomainMigration.
269
+ # Corresponds to the JSON property `state`
270
+ # @return [String]
271
+ attr_accessor :state
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @onprem_domains = args[:onprem_domains] if args.key?(:onprem_domains)
280
+ @state = args[:state] if args.key?(:state)
281
+ end
282
+ end
283
+
244
284
  # Time window specified for daily operations.
245
285
  class DailyCycle
246
286
  include Google::Apis::Core::Hashable
@@ -381,6 +421,19 @@ module Google
381
421
  end
382
422
  end
383
423
 
424
+ # DisableMigrationRequest is the request message for DisableMigration method.
425
+ class DisableMigrationRequest
426
+ include Google::Apis::Core::Hashable
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ end
435
+ end
436
+
384
437
  # If the domain is being changed, it will be placed into the UPDATING state,
385
438
  # which indicates that the resource is being reconciled. At this point, Get will
386
439
  # reflect an intermediate state.
@@ -508,6 +561,25 @@ module Google
508
561
  end
509
562
  end
510
563
 
564
+ # EnableMigrationRequest is the request message for EnableMigration method.
565
+ class EnableMigrationRequest
566
+ include Google::Apis::Core::Hashable
567
+
568
+ # Required. List of the on-prem domains to be migrated.
569
+ # Corresponds to the JSON property `migratingDomains`
570
+ # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails>]
571
+ attr_accessor :migrating_domains
572
+
573
+ def initialize(**args)
574
+ update!(**args)
575
+ end
576
+
577
+ # Update properties of this object
578
+ def update!(**args)
579
+ @migrating_domains = args[:migrating_domains] if args.key?(:migrating_domains)
580
+ end
581
+ end
582
+
511
583
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
512
584
  # CEL is a C-like expression language. The syntax and semantics of CEL are
513
585
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -1554,6 +1626,59 @@ module Google
1554
1626
  end
1555
1627
  end
1556
1628
 
1629
+ # OnPremDomainDetails is the message which contains details of on-prem domain
1630
+ # which is trusted and needs to be migrated.
1631
+ class OnPremDomainDetails
1632
+ include Google::Apis::Core::Hashable
1633
+
1634
+ # Optional. Option to disable SID filtering.
1635
+ # Corresponds to the JSON property `disableSidFiltering`
1636
+ # @return [Boolean]
1637
+ attr_accessor :disable_sid_filtering
1638
+ alias_method :disable_sid_filtering?, :disable_sid_filtering
1639
+
1640
+ # Required. FQDN of the on-prem domain being migrated.
1641
+ # Corresponds to the JSON property `domainName`
1642
+ # @return [String]
1643
+ attr_accessor :domain_name
1644
+
1645
+ def initialize(**args)
1646
+ update!(**args)
1647
+ end
1648
+
1649
+ # Update properties of this object
1650
+ def update!(**args)
1651
+ @disable_sid_filtering = args[:disable_sid_filtering] if args.key?(:disable_sid_filtering)
1652
+ @domain_name = args[:domain_name] if args.key?(:domain_name)
1653
+ end
1654
+ end
1655
+
1656
+ # OnPremDomainDetails is the message which contains details of on-prem domain
1657
+ # which is trusted and needs to be migrated.
1658
+ class OnPremDomainSidDetails
1659
+ include Google::Apis::Core::Hashable
1660
+
1661
+ # FQDN of the on-prem domain being migrated.
1662
+ # Corresponds to the JSON property `name`
1663
+ # @return [String]
1664
+ attr_accessor :name
1665
+
1666
+ # Current SID filtering state.
1667
+ # Corresponds to the JSON property `sidFilteringState`
1668
+ # @return [String]
1669
+ attr_accessor :sid_filtering_state
1670
+
1671
+ def initialize(**args)
1672
+ update!(**args)
1673
+ end
1674
+
1675
+ # Update properties of this object
1676
+ def update!(**args)
1677
+ @name = args[:name] if args.key?(:name)
1678
+ @sid_filtering_state = args[:sid_filtering_state] if args.key?(:sid_filtering_state)
1679
+ end
1680
+ end
1681
+
1557
1682
  # This resource represents a long-running operation that is the result of a
1558
1683
  # network API call.
1559
1684
  class Operation
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1alpha1
18
18
  # Version of the google-apis-managedidentities_v1alpha1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220826"
25
+ REVISION = "20220926"
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
 
@@ -76,6 +88,12 @@ module Google
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
91
+ class DisableMigrationRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class Domain
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
@@ -88,6 +106,12 @@ module Google
88
106
  include Google::Apis::Core::JsonObjectSupport
89
107
  end
90
108
 
109
+ class EnableMigrationRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
91
115
  class Expr
92
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
117
 
@@ -232,6 +256,18 @@ module Google
232
256
  include Google::Apis::Core::JsonObjectSupport
233
257
  end
234
258
 
259
+ class OnPremDomainDetails
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class OnPremDomainSidDetails
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
235
271
  class Operation
236
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
273
 
@@ -396,6 +432,21 @@ module Google
396
432
  end
397
433
  end
398
434
 
435
+ class CheckMigrationPermissionRequest
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ end
439
+ end
440
+
441
+ class CheckMigrationPermissionResponse
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ collection :onprem_domains, as: 'onpremDomains', class: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainSidDetails, decorator: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainSidDetails::Representation
445
+
446
+ property :state, as: 'state'
447
+ end
448
+ end
449
+
399
450
  class DailyCycle
400
451
  # @private
401
452
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -434,6 +485,12 @@ module Google
434
485
  end
435
486
  end
436
487
 
488
+ class DisableMigrationRequest
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ end
492
+ end
493
+
437
494
  class Domain
438
495
  # @private
439
496
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -460,6 +517,14 @@ module Google
460
517
  end
461
518
  end
462
519
 
520
+ class EnableMigrationRequest
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ collection :migrating_domains, as: 'migratingDomains', class: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails, decorator: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails::Representation
524
+
525
+ end
526
+ end
527
+
463
528
  class Expr
464
529
  # @private
465
530
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -722,6 +787,22 @@ module Google
722
787
  end
723
788
  end
724
789
 
790
+ class OnPremDomainDetails
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ property :disable_sid_filtering, as: 'disableSidFiltering'
794
+ property :domain_name, as: 'domainName'
795
+ end
796
+ end
797
+
798
+ class OnPremDomainSidDetails
799
+ # @private
800
+ class Representation < Google::Apis::Core::JsonRepresentation
801
+ property :name, as: 'name'
802
+ property :sid_filtering_state, as: 'sidFilteringState'
803
+ end
804
+ end
805
+
725
806
  class Operation
726
807
  # @private
727
808
  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
+ # AuditMigration 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::ManagedidentitiesV1alpha1::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::ManagedidentitiesV1alpha1::CheckMigrationPermissionResponse] parsed result object
175
+ # @yieldparam err [StandardError] error object if request failed
176
+ #
177
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::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, 'v1alpha1/{+domain}:checkMigrationPermission', options)
184
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::CheckMigrationPermissionRequest::Representation
185
+ command.request_object = check_migration_permission_request_object
186
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::CheckMigrationPermissionResponse::Representation
187
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::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 in a given project. Operation
161
195
  # @param [String] parent
162
196
  # Resource project name and location using the form: `projects/`project_id`/
@@ -265,6 +299,74 @@ module Google
265
299
  execute_or_queue_command(command, &block)
266
300
  end
267
301
 
302
+ # Disable Domain Migration
303
+ # @param [String] domain
304
+ # Required. The domain resource name using the form: `projects/`project_id`/
305
+ # locations/global/domains/`domain_name``
306
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::DisableMigrationRequest] disable_migration_request_object
307
+ # @param [String] fields
308
+ # Selector specifying which fields to include in a partial response.
309
+ # @param [String] quota_user
310
+ # Available to use for quota purposes for server-side applications. Can be any
311
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
312
+ # @param [Google::Apis::RequestOptions] options
313
+ # Request-specific options
314
+ #
315
+ # @yield [result, err] Result & error if block supplied
316
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
317
+ # @yieldparam err [StandardError] error object if request failed
318
+ #
319
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
320
+ #
321
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
322
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
323
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
324
+ def disable_domain_migration(domain, disable_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
325
+ command = make_simple_command(:post, 'v1alpha1/{+domain}:disableMigration', options)
326
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::DisableMigrationRequest::Representation
327
+ command.request_object = disable_migration_request_object
328
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
329
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
330
+ command.params['domain'] = domain unless domain.nil?
331
+ command.query['fields'] = fields unless fields.nil?
332
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
333
+ execute_or_queue_command(command, &block)
334
+ end
335
+
336
+ # Enable Domain Migration
337
+ # @param [String] domain
338
+ # Required. The domain resource name using the form: `projects/`project_id`/
339
+ # locations/global/domains/`domain_name``
340
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::EnableMigrationRequest] enable_migration_request_object
341
+ # @param [String] fields
342
+ # Selector specifying which fields to include in a partial response.
343
+ # @param [String] quota_user
344
+ # Available to use for quota purposes for server-side applications. Can be any
345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
346
+ # @param [Google::Apis::RequestOptions] options
347
+ # Request-specific options
348
+ #
349
+ # @yield [result, err] Result & error if block supplied
350
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
351
+ # @yieldparam err [StandardError] error object if request failed
352
+ #
353
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
354
+ #
355
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
356
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
357
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
358
+ def enable_domain_migration(domain, enable_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
359
+ command = make_simple_command(:post, 'v1alpha1/{+domain}:enableMigration', options)
360
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::EnableMigrationRequest::Representation
361
+ command.request_object = enable_migration_request_object
362
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
363
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
364
+ command.params['domain'] = domain unless domain.nil?
365
+ command.query['fields'] = fields unless fields.nil?
366
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
367
+ execute_or_queue_command(command, &block)
368
+ end
369
+
268
370
  # Extend Schema for Domain
269
371
  # @param [String] domain
270
372
  # Required. The domain resource name using the form: `projects/`project_id`/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.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-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-21 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.9.0
19
+ version: 0.9.1
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.9.0
29
+ version: 0.9.1
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_v1alpha1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.26.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.27.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1alpha1
64
64
  post_install_message:
65
65
  rdoc_options: []