Class: Google::Apis::VmmigrationV1alpha1::VmwareSourceDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareSourceDetails

Returns a new instance of VmwareSourceDetails.



3110
3111
3112
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3110

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)


3093
3094
3095
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3093

def password
  @password
end

#thumbprintString

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

Returns:

  • (String)


3098
3099
3100
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3098

def thumbprint
  @thumbprint
end

#usernameString

The credentials username. Corresponds to the JSON property username

Returns:

  • (String)


3103
3104
3105
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3103

def username
  @username
end

#vcenter_ipString

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

Returns:

  • (String)


3108
3109
3110
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3108

def vcenter_ip
  @vcenter_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3115
3116
3117
3118
3119
3120
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3115

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