class Google::Apis::VmmigrationV1alpha1::TargetProject

TargetProject message represents a target Compute Engine project for a migration or a clone.

Attributes

create_time[RW]

Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created). Corresponds to the JSON property ‘createTime` @return [String]

description[RW]

The target project’s description. Corresponds to the JSON property ‘description` @return [String]

name[RW]

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

project[RW]

The target project ID (number) or project name. Corresponds to the JSON property ‘project` @return [String]

update_time[RW]

Output only. The last time the target project resource was updated. Corresponds to the JSON property ‘updateTime` @return [String]

Public Class Methods

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