google-apis-managedidentities_v1beta1 0.23.0 → 0.25.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 +8 -0
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +152 -25
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +81 -0
- data/lib/google/apis/managedidentities_v1beta1/service.rb +102 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e8720396e45425162d27ec34ddb18baebab1c3b4edd60d9cb533d97d5937ff6
|
4
|
+
data.tar.gz: 99d6cd6893343d5ae1d4db3cbc52802c8bf02437c51de8fe83e72486da9c74c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6fe4c70689634584c63057c5be760333f88cb8eda40b9cded45e8641cf9d78cd404afe75278dd332530b9e07e565b9be16d6ca3ae00525b242239f2fc5872ad
|
7
|
+
data.tar.gz: ca3b743f540b1e53cbba83433ffb80a64bab920c57b495e3ea3567effbde88c8c8236d1312e94ae429fa2788a8c8f00aafab8185b4da1b656ad154c948736edc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1beta1
|
2
2
|
|
3
|
+
### v0.25.0 (2022-09-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.24.0 (2022-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220826
|
10
|
+
|
3
11
|
### v0.23.0 (2022-08-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20220817
|
@@ -132,31 +132,33 @@ module Google
|
|
132
132
|
# members` can have the following values: * `allUsers`: A special identifier
|
133
133
|
# that represents anyone who is on the internet; with or without a Google
|
134
134
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
135
|
-
# anyone who is authenticated with a Google account or a service account.
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
# .
|
144
|
-
#
|
145
|
-
# email address
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# emailid
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
135
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
136
|
+
# not include identities that come from external identity providers (IdPs)
|
137
|
+
# through identity federation. * `user:`emailid``: An email address that
|
138
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
139
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
140
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
141
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
142
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
143
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
144
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
145
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
146
|
+
# . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
147
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
148
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
149
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
150
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
151
|
+
# address (plus unique identifier) representing a service account that has been
|
152
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
153
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
154
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
155
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
156
|
+
# An email address (plus unique identifier) representing a Google group that has
|
157
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
158
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
159
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
160
|
+
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
161
|
+
# of that domain. For example, `google.com` or `example.com`.
|
160
162
|
# Corresponds to the JSON property `members`
|
161
163
|
# @return [Array<String>]
|
162
164
|
attr_accessor :members
|
@@ -235,6 +237,46 @@ module Google
|
|
235
237
|
end
|
236
238
|
end
|
237
239
|
|
240
|
+
# CheckMigrationPermissionRequest is the request message for
|
241
|
+
# CheckMigrationPermission method.
|
242
|
+
class CheckMigrationPermissionRequest
|
243
|
+
include Google::Apis::Core::Hashable
|
244
|
+
|
245
|
+
def initialize(**args)
|
246
|
+
update!(**args)
|
247
|
+
end
|
248
|
+
|
249
|
+
# Update properties of this object
|
250
|
+
def update!(**args)
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
# CheckMigrationPermissionResponse is the response message for
|
255
|
+
# CheckMigrationPermission method.
|
256
|
+
class CheckMigrationPermissionResponse
|
257
|
+
include Google::Apis::Core::Hashable
|
258
|
+
|
259
|
+
# The state of SID filtering of all the domains which has trust established.
|
260
|
+
# Corresponds to the JSON property `onpremDomains`
|
261
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::OnPremDomainSidDetails>]
|
262
|
+
attr_accessor :onprem_domains
|
263
|
+
|
264
|
+
# The state of DomainMigration.
|
265
|
+
# Corresponds to the JSON property `state`
|
266
|
+
# @return [String]
|
267
|
+
attr_accessor :state
|
268
|
+
|
269
|
+
def initialize(**args)
|
270
|
+
update!(**args)
|
271
|
+
end
|
272
|
+
|
273
|
+
# Update properties of this object
|
274
|
+
def update!(**args)
|
275
|
+
@onprem_domains = args[:onprem_domains] if args.key?(:onprem_domains)
|
276
|
+
@state = args[:state] if args.key?(:state)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
238
280
|
# Time window specified for daily operations.
|
239
281
|
class DailyCycle
|
240
282
|
include Google::Apis::Core::Hashable
|
@@ -371,6 +413,19 @@ module Google
|
|
371
413
|
end
|
372
414
|
end
|
373
415
|
|
416
|
+
# DisableMigrationRequest is the request message for DisableMigration method.
|
417
|
+
class DisableMigrationRequest
|
418
|
+
include Google::Apis::Core::Hashable
|
419
|
+
|
420
|
+
def initialize(**args)
|
421
|
+
update!(**args)
|
422
|
+
end
|
423
|
+
|
424
|
+
# Update properties of this object
|
425
|
+
def update!(**args)
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
374
429
|
# Represents a managed Microsoft Active Directory domain. If the domain is being
|
375
430
|
# changed, it will be placed into the UPDATING state, which indicates that the
|
376
431
|
# resource is being reconciled. At this point, Get will reflect an intermediate
|
@@ -496,6 +551,25 @@ module Google
|
|
496
551
|
end
|
497
552
|
end
|
498
553
|
|
554
|
+
# EnableMigrationRequest is the request message for EnableMigration method.
|
555
|
+
class EnableMigrationRequest
|
556
|
+
include Google::Apis::Core::Hashable
|
557
|
+
|
558
|
+
# Required. List of the on-prem domains to be migrated.
|
559
|
+
# Corresponds to the JSON property `migratingDomains`
|
560
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::OnPremDomainDetails>]
|
561
|
+
attr_accessor :migrating_domains
|
562
|
+
|
563
|
+
def initialize(**args)
|
564
|
+
update!(**args)
|
565
|
+
end
|
566
|
+
|
567
|
+
# Update properties of this object
|
568
|
+
def update!(**args)
|
569
|
+
@migrating_domains = args[:migrating_domains] if args.key?(:migrating_domains)
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
499
573
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
500
574
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
501
575
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -1542,6 +1616,59 @@ module Google
|
|
1542
1616
|
end
|
1543
1617
|
end
|
1544
1618
|
|
1619
|
+
# OnPremDomainDetails is the message which contains details of on-prem domain
|
1620
|
+
# which is trusted and needs to be migrated.
|
1621
|
+
class OnPremDomainDetails
|
1622
|
+
include Google::Apis::Core::Hashable
|
1623
|
+
|
1624
|
+
# Optional. Option to disable SID filtering.
|
1625
|
+
# Corresponds to the JSON property `disableSidFiltering`
|
1626
|
+
# @return [Boolean]
|
1627
|
+
attr_accessor :disable_sid_filtering
|
1628
|
+
alias_method :disable_sid_filtering?, :disable_sid_filtering
|
1629
|
+
|
1630
|
+
# Required. FQDN of the on-prem domain being migrated.
|
1631
|
+
# Corresponds to the JSON property `domainName`
|
1632
|
+
# @return [String]
|
1633
|
+
attr_accessor :domain_name
|
1634
|
+
|
1635
|
+
def initialize(**args)
|
1636
|
+
update!(**args)
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# Update properties of this object
|
1640
|
+
def update!(**args)
|
1641
|
+
@disable_sid_filtering = args[:disable_sid_filtering] if args.key?(:disable_sid_filtering)
|
1642
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
1643
|
+
end
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
# OnPremDomainDetails is the message which contains details of on-prem domain
|
1647
|
+
# which is trusted and needs to be migrated.
|
1648
|
+
class OnPremDomainSidDetails
|
1649
|
+
include Google::Apis::Core::Hashable
|
1650
|
+
|
1651
|
+
# FQDN of the on-prem domain being migrated.
|
1652
|
+
# Corresponds to the JSON property `name`
|
1653
|
+
# @return [String]
|
1654
|
+
attr_accessor :name
|
1655
|
+
|
1656
|
+
# Current SID filtering state.
|
1657
|
+
# Corresponds to the JSON property `sidFilteringState`
|
1658
|
+
# @return [String]
|
1659
|
+
attr_accessor :sid_filtering_state
|
1660
|
+
|
1661
|
+
def initialize(**args)
|
1662
|
+
update!(**args)
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
# Update properties of this object
|
1666
|
+
def update!(**args)
|
1667
|
+
@name = args[:name] if args.key?(:name)
|
1668
|
+
@sid_filtering_state = args[:sid_filtering_state] if args.key?(:sid_filtering_state)
|
1669
|
+
end
|
1670
|
+
end
|
1671
|
+
|
1545
1672
|
# This resource represents a long-running operation that is the result of a
|
1546
1673
|
# network API call.
|
1547
1674
|
class Operation
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ManagedidentitiesV1beta1
|
18
18
|
# Version of the google-apis-managedidentities_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220826"
|
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::ManagedidentitiesV1beta1::OnPremDomainSidDetails, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::OnPremDomainDetails, decorator: Google::Apis::ManagedidentitiesV1beta1::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
|
+
# 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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::CheckMigrationPermissionResponse] parsed result object
|
175
|
+
# @yieldparam err [StandardError] error object if request failed
|
176
|
+
#
|
177
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+domain}:checkMigrationPermission', options)
|
184
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::CheckMigrationPermissionRequest::Representation
|
185
|
+
command.request_object = check_migration_permission_request_object
|
186
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::CheckMigrationPermissionResponse::Representation
|
187
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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/`
|
@@ -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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Operation] parsed result object
|
317
|
+
# @yieldparam err [StandardError] error object if request failed
|
318
|
+
#
|
319
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+domain}:disableMigration', options)
|
326
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::DisableMigrationRequest::Representation
|
327
|
+
command.request_object = disable_migration_request_object
|
328
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
329
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Operation] parsed result object
|
351
|
+
# @yieldparam err [StandardError] error object if request failed
|
352
|
+
#
|
353
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+domain}:enableMigration', options)
|
360
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::EnableMigrationRequest::Representation
|
361
|
+
command.request_object = enable_migration_request_object
|
362
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
363
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.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-
|
11
|
+
date: 2022-09-19 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:
|
19
|
+
version: 0.7.2
|
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:
|
29
|
+
version: 0.7.2
|
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_v1beta1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.25.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1beta1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|