google-apis-managedidentities_v1beta1 0.25.0 → 0.27.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 +9 -0
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +55 -0
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +27 -0
- data/lib/google/apis/managedidentities_v1beta1/service.rb +34 -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: 9d42efe83ec9b5f7fe3ba19fa048bec17f4cb93b42bb57e96c5858748e2a3a16
|
4
|
+
data.tar.gz: f302218229c2a6e45419a6d395bea9874b7638455a9fd390d1111d3d2d7afb8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9d9fec489476668959706de84d0ba9db52c320e7cf9b107224be427bb3f8e08bdcf6e5fabd29a0cef0f2bb85697102e6dbee77ba2c103770316b7f7d5fe537
|
7
|
+
data.tar.gz: fba312ef38e989177d1c83763a18198935262816fc651dc2bcd72abf0df0b8d79bfb9f9b42921b2336cbb438cb14639debcc06aecada30d9b19686e54df9183f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1beta1
|
2
2
|
|
3
|
+
### v0.27.0 (2022-10-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221027
|
6
|
+
* Regenerated using generator version 0.11.0
|
7
|
+
|
8
|
+
### v0.26.0 (2022-09-28)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.10.0
|
11
|
+
|
3
12
|
### v0.25.0 (2022-09-16)
|
4
13
|
|
5
14
|
* Unspecified changes
|
@@ -535,6 +535,61 @@ module Google
|
|
535
535
|
end
|
536
536
|
end
|
537
537
|
|
538
|
+
# DomainJoinMachineRequest is the request message for DomainJoinMachine method
|
539
|
+
class DomainJoinMachineRequest
|
540
|
+
include Google::Apis::Core::Hashable
|
541
|
+
|
542
|
+
# Optional. OU name to which the VM needs to be domain joined. If the field is
|
543
|
+
# not provided, the VM is joined to the default OU which is created. The default
|
544
|
+
# OU for the domain join api is created as GCE Instances under the Cloud OU.
|
545
|
+
# Example - OU=GCE Instances,OU=Cloud,DC=ad,DC=test,DC=com If the field is
|
546
|
+
# provided, then the custom OU is searched for under GCE Instances OU. Example -
|
547
|
+
# if ou_name=test_ou then the VM is domain joined to the following OU: OU=
|
548
|
+
# test_ou,OU=GCE Instances,OU=Cloud,DC=ad,DC=test,DC=com if present. If OU is
|
549
|
+
# not present under GCE Instances, then error is returned.
|
550
|
+
# Corresponds to the JSON property `ouName`
|
551
|
+
# @return [String]
|
552
|
+
attr_accessor :ou_name
|
553
|
+
|
554
|
+
# Required. Full instance id token of compute engine VM to verify instance
|
555
|
+
# identity. More about this: https://cloud.google.com/compute/docs/instances/
|
556
|
+
# verifying-instance-identity#request_signature
|
557
|
+
# Corresponds to the JSON property `vmIdToken`
|
558
|
+
# @return [String]
|
559
|
+
attr_accessor :vm_id_token
|
560
|
+
|
561
|
+
def initialize(**args)
|
562
|
+
update!(**args)
|
563
|
+
end
|
564
|
+
|
565
|
+
# Update properties of this object
|
566
|
+
def update!(**args)
|
567
|
+
@ou_name = args[:ou_name] if args.key?(:ou_name)
|
568
|
+
@vm_id_token = args[:vm_id_token] if args.key?(:vm_id_token)
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
# DomainJoinMachineResponse is the response message for DomainJoinMachine method
|
573
|
+
class DomainJoinMachineResponse
|
574
|
+
include Google::Apis::Core::Hashable
|
575
|
+
|
576
|
+
# The response is the offline domain join blob that is returned after running
|
577
|
+
# the djoin command. To correctly use the response of the API, please refer to
|
578
|
+
# the sample usage.
|
579
|
+
# Corresponds to the JSON property `domainJoinBlob`
|
580
|
+
# @return [String]
|
581
|
+
attr_accessor :domain_join_blob
|
582
|
+
|
583
|
+
def initialize(**args)
|
584
|
+
update!(**args)
|
585
|
+
end
|
586
|
+
|
587
|
+
# Update properties of this object
|
588
|
+
def update!(**args)
|
589
|
+
@domain_join_blob = args[:domain_join_blob] if args.key?(:domain_join_blob)
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
538
593
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
539
594
|
# messages in your APIs. A typical example is to use it as the request or the
|
540
595
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -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.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221027"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,18 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
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
|
+
|
103
115
|
class Empty
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -511,6 +523,21 @@ module Google
|
|
511
523
|
end
|
512
524
|
end
|
513
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
|
+
|
514
541
|
class Empty
|
515
542
|
# @private
|
516
543
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -333,6 +333,40 @@ module Google
|
|
333
333
|
execute_or_queue_command(command, &block)
|
334
334
|
end
|
335
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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::DomainJoinMachineResponse] parsed result object
|
351
|
+
# @yieldparam err [StandardError] error object if request failed
|
352
|
+
#
|
353
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+domain}:domainJoinMachine', options)
|
360
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::DomainJoinMachineRequest::Representation
|
361
|
+
command.request_object = domain_join_machine_request_object
|
362
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::DomainJoinMachineResponse::Representation
|
363
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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
|
+
|
336
370
|
# Enable Domain Migration
|
337
371
|
# @param [String] domain
|
338
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.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-
|
11
|
+
date: 2022-10-31 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.
|
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.
|
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_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.27.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: []
|