class Google::Apis::VmmigrationV1::Source

Source message describes a specific vm migration Source resource. It contains the source environment information.

Attributes

create_time[RW]

Output only. The create time timestamp. Corresponds to the JSON property ‘createTime` @return [String]

description[RW]

User-provided description of the source. Corresponds to the JSON property ‘description` @return [String]

labels[RW]

The labels of the source. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]

name[RW]

Output only. The Source name. Corresponds to the JSON property ‘name` @return [String]

update_time[RW]

Output only. The update time timestamp. Corresponds to the JSON property ‘updateTime` @return [String]

vmware[RW]

VmwareSourceDetails message describes a specific source details for the vmware source type. Corresponds to the JSON property ‘vmware` @return [Google::Apis::VmmigrationV1::VmwareSourceDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vmmigration_v1/classes.rb, line 1770
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vmmigration_v1/classes.rb, line 1775
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
  @vmware = args[:vmware] if args.key?(:vmware)
end