Class: Google::Apis::VmmigrationV1::VmwareSourceDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::VmwareSourceDetails
- 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
-
#password ⇒ String
Input only.
-
#resolved_vcenter_host ⇒ String
The hostname of the vcenter.
-
#thumbprint ⇒ String
The thumbprint representing the certificate for the vcenter.
-
#username ⇒ String
The credentials username.
-
#vcenter_ip ⇒ String
The ip address of the vcenter this Source represents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareSourceDetails
constructor
A new instance of VmwareSourceDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareSourceDetails
Returns a new instance of VmwareSourceDetails.
4617 4618 4619 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4617 def initialize(**args) update!(**args) end |
Instance Attribute Details
#password ⇒ String
Input only. The credentials password. This is write only and can not be read
in a GET operation.
Corresponds to the JSON property password
4595 4596 4597 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4595 def password @password end |
#resolved_vcenter_host ⇒ String
The hostname of the vcenter.
Corresponds to the JSON property resolvedVcenterHost
4600 4601 4602 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4600 def resolved_vcenter_host @resolved_vcenter_host end |
#thumbprint ⇒ String
The thumbprint representing the certificate for the vcenter.
Corresponds to the JSON property thumbprint
4605 4606 4607 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4605 def thumbprint @thumbprint end |
#username ⇒ String
The credentials username.
Corresponds to the JSON property username
4610 4611 4612 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4610 def username @username end |
#vcenter_ip ⇒ String
The ip address of the vcenter this Source represents.
Corresponds to the JSON property vcenterIp
4615 4616 4617 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4615 def vcenter_ip @vcenter_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4622 4623 4624 4625 4626 4627 4628 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4622 def update!(**args) @password = args[:password] if args.key?(:password) @resolved_vcenter_host = args[:resolved_vcenter_host] if args.key?(:resolved_vcenter_host) @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 |