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.
-
#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.
2724 2725 2726 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2724 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
2707 2708 2709 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2707 def password @password end |
#thumbprint ⇒ String
The thumbprint representing the certificate for the vcenter.
Corresponds to the JSON property thumbprint
2712 2713 2714 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2712 def thumbprint @thumbprint end |
#username ⇒ String
The credentials username.
Corresponds to the JSON property username
2717 2718 2719 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2717 def username @username end |
#vcenter_ip ⇒ String
The ip address of the vcenter this Source represents.
Corresponds to the JSON property vcenterIp
2722 2723 2724 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2722 def vcenter_ip @vcenter_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2729 2730 2731 2732 2733 2734 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2729 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 |