google-apis-managedidentities_v1 0.29.0 → 0.31.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: 663cc872483b4a053dbe0b584c367ebb3c9bb56986eb7a2fe523fe9ea469e55e
4
- data.tar.gz: 52c1dac5283573f6355e84b8c89e06d98c6f311aef6282a16333b26685e0322d
3
+ metadata.gz: 0107ae865209cab207c2c89b9014086e5517dcbe2d4da6bf67eb88fa0cbbf1cf
4
+ data.tar.gz: 6646afcfb6052e7c6dae53efa35ea355419b8df43aa558e817dd5ce39339da9f
5
5
  SHA512:
6
- metadata.gz: d631b794f867ccb997d190ed55f5b1e6c140e1cdda9b64f599a05d7ffda06cb4b2d93fa89f6d8d3a856ab07c173881b36df01d0fadbc7d0f2afc160d7885a088
7
- data.tar.gz: c37897591d65d0f85a7ae9060a760a007b5fe870758622a5f3f93c64b039be4aaa39153f77a1a54dda7800284675add2a150075c71fa3140e9589baeff54cdbd
6
+ metadata.gz: 76f747b0b7d1b9f34917ed0570b4fab8d5750cc5947890aa96b3b96cb30c30ee4db11917013169c6da12aa6c93e2e3664820a0d0ff6738b775b069fafdc2f04a
7
+ data.tar.gz: 306d643a8dd566027f057dee8bc6eba7f18e95eb5e5cc351a35a2051b6d0794599251845b0f63d4a4096108998635a1f2ba9e544bfd685d49c9358db74eee044
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.31.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230505
6
+
7
+ ### v0.30.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230323
10
+
3
11
  ### v0.29.0 (2023-03-05)
4
12
 
5
13
  * Regenerated from discovery document revision 20230227
@@ -371,6 +371,19 @@ module Google
371
371
  end
372
372
  end
373
373
 
374
+ # DisableMigrationRequest is the request message for DisableMigration method.
375
+ class DisableMigrationRequest
376
+ include Google::Apis::Core::Hashable
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ end
385
+ end
386
+
374
387
  # Represents a managed Microsoft Active Directory domain. If the domain is being
375
388
  # changed, it will be placed into the UPDATING state, which indicates that the
376
389
  # resource is being reconciled. At this point, Get will reflect an intermediate
@@ -480,6 +493,60 @@ module Google
480
493
  end
481
494
  end
482
495
 
496
+ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
497
+ class DomainJoinMachineRequest
498
+ include Google::Apis::Core::Hashable
499
+
500
+ # Optional. force if True, forces domain join even if the computer account
501
+ # already exists.
502
+ # Corresponds to the JSON property `force`
503
+ # @return [Boolean]
504
+ attr_accessor :force
505
+ alias_method :force?, :force
506
+
507
+ # Optional. OU name where the VM needs to be domain joined
508
+ # Corresponds to the JSON property `ouName`
509
+ # @return [String]
510
+ attr_accessor :ou_name
511
+
512
+ # Required. Full instance id token of compute engine VM to verify instance
513
+ # identity. More about this: https://cloud.google.com/compute/docs/instances/
514
+ # verifying-instance-identity#request_signature
515
+ # Corresponds to the JSON property `vmIdToken`
516
+ # @return [String]
517
+ attr_accessor :vm_id_token
518
+
519
+ def initialize(**args)
520
+ update!(**args)
521
+ end
522
+
523
+ # Update properties of this object
524
+ def update!(**args)
525
+ @force = args[:force] if args.key?(:force)
526
+ @ou_name = args[:ou_name] if args.key?(:ou_name)
527
+ @vm_id_token = args[:vm_id_token] if args.key?(:vm_id_token)
528
+ end
529
+ end
530
+
531
+ # DomainJoinMachineResponse is the response message for DomainJoinMachine method
532
+ class DomainJoinMachineResponse
533
+ include Google::Apis::Core::Hashable
534
+
535
+ # Offline domain join blob as the response
536
+ # Corresponds to the JSON property `domainJoinBlob`
537
+ # @return [String]
538
+ attr_accessor :domain_join_blob
539
+
540
+ def initialize(**args)
541
+ update!(**args)
542
+ end
543
+
544
+ # Update properties of this object
545
+ def update!(**args)
546
+ @domain_join_blob = args[:domain_join_blob] if args.key?(:domain_join_blob)
547
+ end
548
+ end
549
+
483
550
  # A generic empty message that you can re-use to avoid defining duplicated empty
484
551
  # messages in your APIs. A typical example is to use it as the request or the
485
552
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -496,6 +563,25 @@ module Google
496
563
  end
497
564
  end
498
565
 
566
+ # EnableMigrationRequest is the request message for EnableMigration method.
567
+ class EnableMigrationRequest
568
+ include Google::Apis::Core::Hashable
569
+
570
+ # Required. List of the on-prem domains to be migrated.
571
+ # Corresponds to the JSON property `migratingDomains`
572
+ # @return [Array<Google::Apis::ManagedidentitiesV1::OnPremDomainDetails>]
573
+ attr_accessor :migrating_domains
574
+
575
+ def initialize(**args)
576
+ update!(**args)
577
+ end
578
+
579
+ # Update properties of this object
580
+ def update!(**args)
581
+ @migrating_domains = args[:migrating_domains] if args.key?(:migrating_domains)
582
+ end
583
+ end
584
+
499
585
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
500
586
  # CEL is a C-like expression language. The syntax and semantics of CEL are
501
587
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -1426,7 +1512,7 @@ module Google
1426
1512
  end
1427
1513
  end
1428
1514
 
1429
- # A resource that represents Google Cloud Platform location.
1515
+ # A resource that represents a Google Cloud location.
1430
1516
  class Location
1431
1517
  include Google::Apis::Core::Hashable
1432
1518
 
@@ -1560,6 +1646,33 @@ module Google
1560
1646
  end
1561
1647
  end
1562
1648
 
1649
+ # OnPremDomainDetails is the message which contains details of on-prem domain
1650
+ # which is trusted and needs to be migrated.
1651
+ class OnPremDomainDetails
1652
+ include Google::Apis::Core::Hashable
1653
+
1654
+ # Optional. Option to disable SID filtering.
1655
+ # Corresponds to the JSON property `disableSidFiltering`
1656
+ # @return [Boolean]
1657
+ attr_accessor :disable_sid_filtering
1658
+ alias_method :disable_sid_filtering?, :disable_sid_filtering
1659
+
1660
+ # Required. FQDN of the on-prem domain being migrated.
1661
+ # Corresponds to the JSON property `domainName`
1662
+ # @return [String]
1663
+ attr_accessor :domain_name
1664
+
1665
+ def initialize(**args)
1666
+ update!(**args)
1667
+ end
1668
+
1669
+ # Update properties of this object
1670
+ def update!(**args)
1671
+ @disable_sid_filtering = args[:disable_sid_filtering] if args.key?(:disable_sid_filtering)
1672
+ @domain_name = args[:domain_name] if args.key?(:domain_name)
1673
+ end
1674
+ end
1675
+
1563
1676
  # This resource represents a long-running operation that is the result of a
1564
1677
  # network API call.
1565
1678
  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.29.0"
19
+ GEM_VERSION = "0.31.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 = "20230227"
25
+ REVISION = "20230505"
26
26
  end
27
27
  end
28
28
  end
@@ -76,18 +76,42 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class DisableMigrationRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class Domain
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
91
+ class DomainJoinMachineRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DomainJoinMachineResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class Empty
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
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,12 @@ 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
+
235
265
  class Operation
236
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
267
 
@@ -433,6 +463,12 @@ module Google
433
463
  end
434
464
  end
435
465
 
466
+ class DisableMigrationRequest
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ end
470
+ end
471
+
436
472
  class Domain
437
473
  # @private
438
474
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -453,12 +489,36 @@ module Google
453
489
  end
454
490
  end
455
491
 
492
+ class DomainJoinMachineRequest
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :force, as: 'force'
496
+ property :ou_name, as: 'ouName'
497
+ property :vm_id_token, as: 'vmIdToken'
498
+ end
499
+ end
500
+
501
+ class DomainJoinMachineResponse
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :domain_join_blob, as: 'domainJoinBlob'
505
+ end
506
+ end
507
+
456
508
  class Empty
457
509
  # @private
458
510
  class Representation < Google::Apis::Core::JsonRepresentation
459
511
  end
460
512
  end
461
513
 
514
+ class EnableMigrationRequest
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ collection :migrating_domains, as: 'migratingDomains', class: Google::Apis::ManagedidentitiesV1::OnPremDomainDetails, decorator: Google::Apis::ManagedidentitiesV1::OnPremDomainDetails::Representation
518
+
519
+ end
520
+ end
521
+
462
522
  class Expr
463
523
  # @private
464
524
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -721,6 +781,14 @@ module Google
721
781
  end
722
782
  end
723
783
 
784
+ class OnPremDomainDetails
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :disable_sid_filtering, as: 'disableSidFiltering'
788
+ property :domain_name, as: 'domainName'
789
+ end
790
+ end
791
+
724
792
  class Operation
725
793
  # @private
726
794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -265,6 +265,108 @@ module Google
265
265
  execute_or_queue_command(command, &block)
266
266
  end
267
267
 
268
+ # Disable Domain Migration
269
+ # @param [String] domain
270
+ # Required. The domain resource name using the form: `projects/`project_id`/
271
+ # locations/global/domains/`domain_name``
272
+ # @param [Google::Apis::ManagedidentitiesV1::DisableMigrationRequest] disable_migration_request_object
273
+ # @param [String] fields
274
+ # Selector specifying which fields to include in a partial response.
275
+ # @param [String] quota_user
276
+ # Available to use for quota purposes for server-side applications. Can be any
277
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
278
+ # @param [Google::Apis::RequestOptions] options
279
+ # Request-specific options
280
+ #
281
+ # @yield [result, err] Result & error if block supplied
282
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
283
+ # @yieldparam err [StandardError] error object if request failed
284
+ #
285
+ # @return [Google::Apis::ManagedidentitiesV1::Operation]
286
+ #
287
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
288
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
289
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
290
+ def disable_domain_migration(domain, disable_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
291
+ command = make_simple_command(:post, 'v1/{+domain}:disableMigration', options)
292
+ command.request_representation = Google::Apis::ManagedidentitiesV1::DisableMigrationRequest::Representation
293
+ command.request_object = disable_migration_request_object
294
+ command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
295
+ command.response_class = Google::Apis::ManagedidentitiesV1::Operation
296
+ command.params['domain'] = domain unless domain.nil?
297
+ command.query['fields'] = fields unless fields.nil?
298
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
299
+ execute_or_queue_command(command, &block)
300
+ end
301
+
302
+ # DomainJoinMachine API joins a Compute Engine VM to the domain
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::ManagedidentitiesV1::DomainJoinMachineRequest] domain_join_machine_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::ManagedidentitiesV1::DomainJoinMachineResponse] parsed result object
317
+ # @yieldparam err [StandardError] error object if request failed
318
+ #
319
+ # @return [Google::Apis::ManagedidentitiesV1::DomainJoinMachineResponse]
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 domain_join_machine(domain, domain_join_machine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
325
+ command = make_simple_command(:post, 'v1/{+domain}:domainJoinMachine', options)
326
+ command.request_representation = Google::Apis::ManagedidentitiesV1::DomainJoinMachineRequest::Representation
327
+ command.request_object = domain_join_machine_request_object
328
+ command.response_representation = Google::Apis::ManagedidentitiesV1::DomainJoinMachineResponse::Representation
329
+ command.response_class = Google::Apis::ManagedidentitiesV1::DomainJoinMachineResponse
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::ManagedidentitiesV1::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::ManagedidentitiesV1::Operation] parsed result object
351
+ # @yieldparam err [StandardError] error object if request failed
352
+ #
353
+ # @return [Google::Apis::ManagedidentitiesV1::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, 'v1/{+domain}:enableMigration', options)
360
+ command.request_representation = Google::Apis::ManagedidentitiesV1::EnableMigrationRequest::Representation
361
+ command.request_object = enable_migration_request_object
362
+ command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
363
+ command.response_class = Google::Apis::ManagedidentitiesV1::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`/
@@ -1242,13 +1344,7 @@ module Google
1242
1344
  end
1243
1345
 
1244
1346
  # Lists operations that match the specified filter in the request. If the server
1245
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1246
- # binding allows API services to override the binding to use different resource
1247
- # name schemes, such as `users/*/operations`. To override the binding, API
1248
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1249
- # service configuration. For backwards compatibility, the default name includes
1250
- # the operations collection id, however overriding users must ensure the name
1251
- # binding is the parent resource, without the operations collection id.
1347
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1252
1348
  # @param [String] name
1253
1349
  # The name of the operation's parent resource.
1254
1350
  # @param [String] filter
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.29.0
4
+ version: 0.31.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-03-05 00:00:00.000000000 Z
11
+ date: 2023-05-21 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.29.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.31.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: []