google-apis-managedidentities_v1alpha1 0.26.0 → 0.28.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 +10 -0
- data/lib/google/apis/managedidentities_v1alpha1/classes.rb +172 -1
- data/lib/google/apis/managedidentities_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1alpha1/representations.rb +108 -0
- data/lib/google/apis/managedidentities_v1alpha1/service.rb +136 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb4169e8802650faa3a6a31d8219a7b93ed6d826a527f6ff54cca8bf6dd06152
|
4
|
+
data.tar.gz: f8af21c9623813260a085e89d89351b626f738e477b7456655ec094406d8d21c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16e93b23cfb1a77ecaee139a6f0adaee7c1cf546ef7471acb4396b1cb7f5ecb082724d6527cbf6200d3b71496e36e9ea54499b0cf36713dec8d26bfdbca276fd
|
7
|
+
data.tar.gz: bdb596304891a857aa680547239f962888767308448970f2a4d620da994dc34aecf01b3afe32c5a44b49faef76321cce43a8fda363de4b0356aa694f951a41a1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1alpha1
|
2
2
|
|
3
|
+
### v0.28.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221227
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.27.0 (2022-10-20)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220926
|
11
|
+
* Regenerated using generator version 0.11.0
|
12
|
+
|
3
13
|
### v0.26.0 (2022-09-29)
|
4
14
|
|
5
15
|
* 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.
|
@@ -492,6 +545,52 @@ module Google
|
|
492
545
|
end
|
493
546
|
end
|
494
547
|
|
548
|
+
# DomainJoinMachineRequest is the request message for DomainJoinMachine method
|
549
|
+
class DomainJoinMachineRequest
|
550
|
+
include Google::Apis::Core::Hashable
|
551
|
+
|
552
|
+
# Optional. OU name where the VM needs to be domain joined
|
553
|
+
# Corresponds to the JSON property `ouName`
|
554
|
+
# @return [String]
|
555
|
+
attr_accessor :ou_name
|
556
|
+
|
557
|
+
# Required. Full instance id token of compute engine VM to verify instance
|
558
|
+
# identity. More about this: https://cloud.google.com/compute/docs/instances/
|
559
|
+
# verifying-instance-identity#request_signature
|
560
|
+
# Corresponds to the JSON property `vmIdToken`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :vm_id_token
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@ou_name = args[:ou_name] if args.key?(:ou_name)
|
571
|
+
@vm_id_token = args[:vm_id_token] if args.key?(:vm_id_token)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
# DomainJoinMachineResponse is the response message for DomainJoinMachine method
|
576
|
+
class DomainJoinMachineResponse
|
577
|
+
include Google::Apis::Core::Hashable
|
578
|
+
|
579
|
+
# Offline domain join blob as the response
|
580
|
+
# Corresponds to the JSON property `domainJoinBlob`
|
581
|
+
# @return [String]
|
582
|
+
attr_accessor :domain_join_blob
|
583
|
+
|
584
|
+
def initialize(**args)
|
585
|
+
update!(**args)
|
586
|
+
end
|
587
|
+
|
588
|
+
# Update properties of this object
|
589
|
+
def update!(**args)
|
590
|
+
@domain_join_blob = args[:domain_join_blob] if args.key?(:domain_join_blob)
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
495
594
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
496
595
|
# messages in your APIs. A typical example is to use it as the request or the
|
497
596
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -508,6 +607,25 @@ module Google
|
|
508
607
|
end
|
509
608
|
end
|
510
609
|
|
610
|
+
# EnableMigrationRequest is the request message for EnableMigration method.
|
611
|
+
class EnableMigrationRequest
|
612
|
+
include Google::Apis::Core::Hashable
|
613
|
+
|
614
|
+
# Required. List of the on-prem domains to be migrated.
|
615
|
+
# Corresponds to the JSON property `migratingDomains`
|
616
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails>]
|
617
|
+
attr_accessor :migrating_domains
|
618
|
+
|
619
|
+
def initialize(**args)
|
620
|
+
update!(**args)
|
621
|
+
end
|
622
|
+
|
623
|
+
# Update properties of this object
|
624
|
+
def update!(**args)
|
625
|
+
@migrating_domains = args[:migrating_domains] if args.key?(:migrating_domains)
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
511
629
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
512
630
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
513
631
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -1467,7 +1585,7 @@ module Google
|
|
1467
1585
|
end
|
1468
1586
|
end
|
1469
1587
|
|
1470
|
-
# Defines policies to service maintenance events.
|
1588
|
+
# LINT.IfChange Defines policies to service maintenance events.
|
1471
1589
|
class MaintenancePolicy
|
1472
1590
|
include Google::Apis::Core::Hashable
|
1473
1591
|
|
@@ -1554,6 +1672,59 @@ module Google
|
|
1554
1672
|
end
|
1555
1673
|
end
|
1556
1674
|
|
1675
|
+
# OnPremDomainDetails is the message which contains details of on-prem domain
|
1676
|
+
# which is trusted and needs to be migrated.
|
1677
|
+
class OnPremDomainDetails
|
1678
|
+
include Google::Apis::Core::Hashable
|
1679
|
+
|
1680
|
+
# Optional. Option to disable SID filtering.
|
1681
|
+
# Corresponds to the JSON property `disableSidFiltering`
|
1682
|
+
# @return [Boolean]
|
1683
|
+
attr_accessor :disable_sid_filtering
|
1684
|
+
alias_method :disable_sid_filtering?, :disable_sid_filtering
|
1685
|
+
|
1686
|
+
# Required. FQDN of the on-prem domain being migrated.
|
1687
|
+
# Corresponds to the JSON property `domainName`
|
1688
|
+
# @return [String]
|
1689
|
+
attr_accessor :domain_name
|
1690
|
+
|
1691
|
+
def initialize(**args)
|
1692
|
+
update!(**args)
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
# Update properties of this object
|
1696
|
+
def update!(**args)
|
1697
|
+
@disable_sid_filtering = args[:disable_sid_filtering] if args.key?(:disable_sid_filtering)
|
1698
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
1699
|
+
end
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
# OnPremDomainDetails is the message which contains details of on-prem domain
|
1703
|
+
# which is trusted and needs to be migrated.
|
1704
|
+
class OnPremDomainSidDetails
|
1705
|
+
include Google::Apis::Core::Hashable
|
1706
|
+
|
1707
|
+
# FQDN of the on-prem domain being migrated.
|
1708
|
+
# Corresponds to the JSON property `name`
|
1709
|
+
# @return [String]
|
1710
|
+
attr_accessor :name
|
1711
|
+
|
1712
|
+
# Current SID filtering state.
|
1713
|
+
# Corresponds to the JSON property `sidFilteringState`
|
1714
|
+
# @return [String]
|
1715
|
+
attr_accessor :sid_filtering_state
|
1716
|
+
|
1717
|
+
def initialize(**args)
|
1718
|
+
update!(**args)
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
# Update properties of this object
|
1722
|
+
def update!(**args)
|
1723
|
+
@name = args[:name] if args.key?(:name)
|
1724
|
+
@sid_filtering_state = args[:sid_filtering_state] if args.key?(:sid_filtering_state)
|
1725
|
+
end
|
1726
|
+
end
|
1727
|
+
|
1557
1728
|
# This resource represents a long-running operation that is the result of a
|
1558
1729
|
# network API call.
|
1559
1730
|
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.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221227"
|
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,18 +88,42 @@ 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
|
|
82
100
|
include Google::Apis::Core::JsonObjectSupport
|
83
101
|
end
|
84
102
|
|
103
|
+
class DomainJoinMachineRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class DomainJoinMachineResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
85
115
|
class Empty
|
86
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
117
|
|
88
118
|
include Google::Apis::Core::JsonObjectSupport
|
89
119
|
end
|
90
120
|
|
121
|
+
class EnableMigrationRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
91
127
|
class Expr
|
92
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
129
|
|
@@ -232,6 +268,18 @@ module Google
|
|
232
268
|
include Google::Apis::Core::JsonObjectSupport
|
233
269
|
end
|
234
270
|
|
271
|
+
class OnPremDomainDetails
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class OnPremDomainSidDetails
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
235
283
|
class Operation
|
236
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
285
|
|
@@ -396,6 +444,21 @@ module Google
|
|
396
444
|
end
|
397
445
|
end
|
398
446
|
|
447
|
+
class CheckMigrationPermissionRequest
|
448
|
+
# @private
|
449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class CheckMigrationPermissionResponse
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
collection :onprem_domains, as: 'onpremDomains', class: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainSidDetails, decorator: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainSidDetails::Representation
|
457
|
+
|
458
|
+
property :state, as: 'state'
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
399
462
|
class DailyCycle
|
400
463
|
# @private
|
401
464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -434,6 +497,12 @@ module Google
|
|
434
497
|
end
|
435
498
|
end
|
436
499
|
|
500
|
+
class DisableMigrationRequest
|
501
|
+
# @private
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
437
506
|
class Domain
|
438
507
|
# @private
|
439
508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -454,12 +523,35 @@ module Google
|
|
454
523
|
end
|
455
524
|
end
|
456
525
|
|
526
|
+
class DomainJoinMachineRequest
|
527
|
+
# @private
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
529
|
+
property :ou_name, as: 'ouName'
|
530
|
+
property :vm_id_token, as: 'vmIdToken'
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
class DomainJoinMachineResponse
|
535
|
+
# @private
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
537
|
+
property :domain_join_blob, as: 'domainJoinBlob'
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
457
541
|
class Empty
|
458
542
|
# @private
|
459
543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
460
544
|
end
|
461
545
|
end
|
462
546
|
|
547
|
+
class EnableMigrationRequest
|
548
|
+
# @private
|
549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
550
|
+
collection :migrating_domains, as: 'migratingDomains', class: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails, decorator: Google::Apis::ManagedidentitiesV1alpha1::OnPremDomainDetails::Representation
|
551
|
+
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
463
555
|
class Expr
|
464
556
|
# @private
|
465
557
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -722,6 +814,22 @@ module Google
|
|
722
814
|
end
|
723
815
|
end
|
724
816
|
|
817
|
+
class OnPremDomainDetails
|
818
|
+
# @private
|
819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
820
|
+
property :disable_sid_filtering, as: 'disableSidFiltering'
|
821
|
+
property :domain_name, as: 'domainName'
|
822
|
+
end
|
823
|
+
end
|
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
|
+
|
725
833
|
class Operation
|
726
834
|
# @private
|
727
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
|
+
# 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,108 @@ 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
|
+
# DomainJoinMachine API joins a Compute Engine VM to the domain
|
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::DomainJoinMachineRequest] domain_join_machine_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::DomainJoinMachineResponse] parsed result object
|
351
|
+
# @yieldparam err [StandardError] error object if request failed
|
352
|
+
#
|
353
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineResponse]
|
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 domain_join_machine(domain, domain_join_machine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
359
|
+
command = make_simple_command(:post, 'v1alpha1/{+domain}:domainJoinMachine', options)
|
360
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineRequest::Representation
|
361
|
+
command.request_object = domain_join_machine_request_object
|
362
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineResponse::Representation
|
363
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineResponse
|
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
|
+
|
370
|
+
# Enable Domain Migration
|
371
|
+
# @param [String] domain
|
372
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
373
|
+
# locations/global/domains/`domain_name``
|
374
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::EnableMigrationRequest] enable_migration_request_object
|
375
|
+
# @param [String] fields
|
376
|
+
# Selector specifying which fields to include in a partial response.
|
377
|
+
# @param [String] quota_user
|
378
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
379
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
380
|
+
# @param [Google::Apis::RequestOptions] options
|
381
|
+
# Request-specific options
|
382
|
+
#
|
383
|
+
# @yield [result, err] Result & error if block supplied
|
384
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
|
385
|
+
# @yieldparam err [StandardError] error object if request failed
|
386
|
+
#
|
387
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
|
388
|
+
#
|
389
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
390
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
391
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
392
|
+
def enable_domain_migration(domain, enable_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
393
|
+
command = make_simple_command(:post, 'v1alpha1/{+domain}:enableMigration', options)
|
394
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::EnableMigrationRequest::Representation
|
395
|
+
command.request_object = enable_migration_request_object
|
396
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
|
397
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
|
398
|
+
command.params['domain'] = domain unless domain.nil?
|
399
|
+
command.query['fields'] = fields unless fields.nil?
|
400
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
401
|
+
execute_or_queue_command(command, &block)
|
402
|
+
end
|
403
|
+
|
268
404
|
# Extend Schema for Domain
|
269
405
|
# @param [String] domain
|
270
406
|
# 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.
|
4
|
+
version: 0.28.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:
|
11
|
+
date: 2023-01-15 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.
|
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.
|
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.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.28.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: []
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.4.2
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Managed Service for Microsoft Active Directory API
|