Class: Google::Apis::VmmigrationV1::Group
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::Group
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb
Overview
Describes message for 'Group' resource. The Group is a collections of several MigratingVms.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
User-provided description of the group.
-
#display_name ⇒ String
Display name is a user defined name for this group which can be updated.
-
#name ⇒ String
The Group name.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Group
constructor
A new instance of Group.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Group
Returns a new instance of Group.
698 699 700 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 698 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The create time timestamp.
Corresponds to the JSON property createTime
676 677 678 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 676 def create_time @create_time end |
#description ⇒ String
User-provided description of the group.
Corresponds to the JSON property description
681 682 683 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 681 def description @description end |
#display_name ⇒ String
Display name is a user defined name for this group which can be updated.
Corresponds to the JSON property displayName
686 687 688 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 686 def display_name @display_name end |
#name ⇒ String
The Group name.
Corresponds to the JSON property name
691 692 693 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 691 def name @name end |
#update_time ⇒ String
Output only. The update time timestamp.
Corresponds to the JSON property updateTime
696 697 698 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 696 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
703 704 705 706 707 708 709 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 703 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 |