Class: Google::Apis::VmmigrationV1::VmwareSourceDetails

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

Overview

VmwareSourceDetails message describes a specific source details for the vmware source type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareSourceDetails

Returns a new instance of VmwareSourceDetails.



2904
2905
2906
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2904

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

Instance Attribute Details

#passwordString

Input only. The credentials password. This is write only and can not be read in a GET operation. Corresponds to the JSON property password

Returns:

  • (String)


2887
2888
2889
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2887

def password
  @password
end

#thumbprintString

The thumbprint representing the certificate for the vcenter. Corresponds to the JSON property thumbprint

Returns:

  • (String)


2892
2893
2894
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2892

def thumbprint
  @thumbprint
end

#usernameString

The credentials username. Corresponds to the JSON property username

Returns:

  • (String)


2897
2898
2899
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2897

def username
  @username
end

#vcenter_ipString

The ip address of the vcenter this Source represents. Corresponds to the JSON property vcenterIp

Returns:

  • (String)


2902
2903
2904
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2902

def vcenter_ip
  @vcenter_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2909
2910
2911
2912
2913
2914
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 2909

def update!(**args)
  @password = args[:password] if args.key?(:password)
  @thumbprint = args[:thumbprint] if args.key?(:thumbprint)
  @username = args[:username] if args.key?(:username)
  @vcenter_ip = args[:vcenter_ip] if args.key?(:vcenter_ip)
end