Class: Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/managedidentities_v1alpha1/classes.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb

Overview

DomainJoinMachineRequest is the request message for DomainJoinMachine method

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DomainJoinMachineRequest

Returns a new instance of DomainJoinMachineRequest.



596
597
598
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 596

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#forceBoolean Also known as: force?

Optional. force if True, forces domain join even if the computer account already exists. Corresponds to the JSON property force

Returns:

  • (Boolean)


581
582
583
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 581

def force
  @force
end

#ou_nameString

Optional. OU name where the VM needs to be domain joined Corresponds to the JSON property ouName

Returns:

  • (String)


587
588
589
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 587

def ou_name
  @ou_name
end

#vm_id_tokenString

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

Returns:

  • (String)


594
595
596
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 594

def vm_id_token
  @vm_id_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



601
602
603
604
605
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 601

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