Class: Google::Apis::VmmigrationV1alpha1::Group

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

Describes message for 'Group' resource. The Group is a collections of several MigratingVms.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Group

Returns a new instance of Group.



1027
1028
1029
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1027

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. The create time timestamp. Corresponds to the JSON property createTime

Returns:

  • (String)


1005
1006
1007
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1005

def create_time
  @create_time
end

#descriptionString

User-provided description of the group. Corresponds to the JSON property description

Returns:

  • (String)


1010
1011
1012
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1010

def description
  @description
end

#display_nameString

Display name is a user defined name for this group which can be updated. Corresponds to the JSON property displayName

Returns:

  • (String)


1015
1016
1017
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1015

def display_name
  @display_name
end

#nameString

Output only. The Group name. Corresponds to the JSON property name

Returns:

  • (String)


1020
1021
1022
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1020

def name
  @name
end

#update_timeString

Output only. The update time timestamp. Corresponds to the JSON property updateTime

Returns:

  • (String)


1025
1026
1027
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1025

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1032
1033
1034
1035
1036
1037
1038
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1032

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end