Class: Google::Apis::VmmigrationV1alpha1::VmwareSourceDetails
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::VmwareSourceDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/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.
5441 5442 5443 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5441 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
5419 5420 5421 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5419 def password @password end |
#resolved_vcenter_host ⇒ String
The hostname of the vcenter.
Corresponds to the JSON property resolvedVcenterHost
5424 5425 5426 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5424 def resolved_vcenter_host @resolved_vcenter_host end |
#thumbprint ⇒ String
The thumbprint representing the certificate for the vcenter.
Corresponds to the JSON property thumbprint
5429 5430 5431 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5429 def thumbprint @thumbprint end |
#username ⇒ String
The credentials username.
Corresponds to the JSON property username
5434 5435 5436 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5434 def username @username end |
#vcenter_ip ⇒ String
The ip address of the vcenter this Source represents.
Corresponds to the JSON property vcenterIp
5439 5440 5441 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5439 def vcenter_ip @vcenter_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5446 5447 5448 5449 5450 5451 5452 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5446 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 |