google-apis-managedidentities_v1 0.30.0 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/managedidentities_v1/classes.rb +60 -1
- data/lib/google/apis/managedidentities_v1/gem_version.rb +2 -2
- data/lib/google/apis/managedidentities_v1/representations.rb +40 -0
- data/lib/google/apis/managedidentities_v1/service.rb +68 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0107ae865209cab207c2c89b9014086e5517dcbe2d4da6bf67eb88fa0cbbf1cf
|
4
|
+
data.tar.gz: 6646afcfb6052e7c6dae53efa35ea355419b8df43aa558e817dd5ce39339da9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76f747b0b7d1b9f34917ed0570b4fab8d5750cc5947890aa96b3b96cb30c30ee4db11917013169c6da12aa6c93e2e3664820a0d0ff6738b775b069fafdc2f04a
|
7
|
+
data.tar.gz: 306d643a8dd566027f057dee8bc6eba7f18e95eb5e5cc351a35a2051b6d0794599251845b0f63d4a4096108998635a1f2ba9e544bfd685d49c9358db74eee044
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -550,6 +563,25 @@ module Google
|
|
550
563
|
end
|
551
564
|
end
|
552
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
|
+
|
553
585
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
554
586
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
555
587
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -1480,7 +1512,7 @@ module Google
|
|
1480
1512
|
end
|
1481
1513
|
end
|
1482
1514
|
|
1483
|
-
# A resource that represents Google Cloud
|
1515
|
+
# A resource that represents a Google Cloud location.
|
1484
1516
|
class Location
|
1485
1517
|
include Google::Apis::Core::Hashable
|
1486
1518
|
|
@@ -1614,6 +1646,33 @@ module Google
|
|
1614
1646
|
end
|
1615
1647
|
end
|
1616
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
|
+
|
1617
1676
|
# This resource represents a long-running operation that is the result of a
|
1618
1677
|
# network API call.
|
1619
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.
|
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 = "
|
25
|
+
REVISION = "20230505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ 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
|
|
@@ -100,6 +106,12 @@ module Google
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
101
107
|
end
|
102
108
|
|
109
|
+
class EnableMigrationRequest
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class Expr
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -244,6 +256,12 @@ module Google
|
|
244
256
|
include Google::Apis::Core::JsonObjectSupport
|
245
257
|
end
|
246
258
|
|
259
|
+
class OnPremDomainDetails
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
247
265
|
class Operation
|
248
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
267
|
|
@@ -445,6 +463,12 @@ module Google
|
|
445
463
|
end
|
446
464
|
end
|
447
465
|
|
466
|
+
class DisableMigrationRequest
|
467
|
+
# @private
|
468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
448
472
|
class Domain
|
449
473
|
# @private
|
450
474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -487,6 +511,14 @@ module Google
|
|
487
511
|
end
|
488
512
|
end
|
489
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
|
+
|
490
522
|
class Expr
|
491
523
|
# @private
|
492
524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -749,6 +781,14 @@ module Google
|
|
749
781
|
end
|
750
782
|
end
|
751
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
|
+
|
752
792
|
class Operation
|
753
793
|
# @private
|
754
794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -265,6 +265,40 @@ 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
|
+
|
268
302
|
# DomainJoinMachine API joins a Compute Engine VM to the domain
|
269
303
|
# @param [String] domain
|
270
304
|
# Required. The domain resource name using the form: projects/`project_id`/
|
@@ -299,6 +333,40 @@ module Google
|
|
299
333
|
execute_or_queue_command(command, &block)
|
300
334
|
end
|
301
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
|
+
|
302
370
|
# Extend Schema for Domain
|
303
371
|
# @param [String] domain
|
304
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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.
|
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: []
|