class Google::Apis::VmmigrationV1alpha1::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]

error[RW]

The ‘Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `error` @return [Google::Apis::VmmigrationV1alpha1::Status]

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::VmmigrationV1alpha1::VmwareSourceDetails]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vmmigration_v1alpha1/classes.rb, line 1947
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_v1alpha1/classes.rb, line 1952
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @error = args[:error] if args.key?(:error)
  @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