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.



3244
3245
3246
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3244

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)


3222
3223
3224
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3222

def password
  @password
end

#resolved_vcenter_hostString

The hostname of the vcenter. Corresponds to the JSON property resolvedVcenterHost

Returns:

  • (String)


3227
3228
3229
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3227

def resolved_vcenter_host
  @resolved_vcenter_host
end

#thumbprintString

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

Returns:

  • (String)


3232
3233
3234
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3232

def thumbprint
  @thumbprint
end

#usernameString

The credentials username. Corresponds to the JSON property username

Returns:

  • (String)


3237
3238
3239
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3237

def username
  @username
end

#vcenter_ipString

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

Returns:

  • (String)


3242
3243
3244
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3242

def vcenter_ip
  @vcenter_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3249
3250
3251
3252
3253
3254
3255
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3249

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