Class: Google::Apis::ManagedidentitiesV1::DomainJoinMachineRequest
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1::DomainJoinMachineRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1/classes.rb,
lib/google/apis/managedidentities_v1/representations.rb,
lib/google/apis/managedidentities_v1/representations.rb
Overview
DomainJoinMachineRequest is the request message for DomainJoinMachine method
Instance Attribute Summary collapse
-
#force ⇒ Boolean
(also: #force?)
Optional.
-
#ou_name ⇒ String
Optional.
-
#vm_id_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainJoinMachineRequest
constructor
A new instance of DomainJoinMachineRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DomainJoinMachineRequest
Returns a new instance of DomainJoinMachineRequest.
585 586 587 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 585 def initialize(**args) update!(**args) end |
Instance Attribute Details
#force ⇒ Boolean Also known as: force?
Optional. force if True, forces domain join even if the computer account
already exists.
Corresponds to the JSON property force
570 571 572 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 570 def force @force end |
#ou_name ⇒ String
Optional. OU name where the VM needs to be domain joined
Corresponds to the JSON property ouName
576 577 578 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 576 def ou_name @ou_name end |
#vm_id_token ⇒ String
Required. Full instance id token of compute engine VM to verify instance
identity. More about this: https://cloud.google.com/compute/docs/instances/
verifying-instance-identity#request_signature
Corresponds to the JSON property vmIdToken
583 584 585 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 583 def vm_id_token @vm_id_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
590 591 592 593 594 |
# File 'lib/google/apis/managedidentities_v1/classes.rb', line 590 def update!(**args) @force = args[:force] if args.key?(:force) @ou_name = args[:ou_name] if args.key?(:ou_name) @vm_id_token = args[:vm_id_token] if args.key?(:vm_id_token) end |