Class: Google::Apis::VmmigrationV1alpha1::Group
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::Group
- 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
-
#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.
-
#migration_target_type ⇒ String
Immutable.
-
#name ⇒ String
Output only.
-
#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.
1454 1455 1456 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The create time timestamp.
Corresponds to the JSON property createTime
1427 1428 1429 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1427 def create_time @create_time end |
#description ⇒ String
User-provided description of the group.
Corresponds to the JSON property description
1432 1433 1434 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1432 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
1437 1438 1439 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1437 def display_name @display_name end |
#migration_target_type ⇒ String
Immutable. The target type of this group.
Corresponds to the JSON property migrationTargetType
1442 1443 1444 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1442 def migration_target_type @migration_target_type end |
#name ⇒ String
Output only. The Group name.
Corresponds to the JSON property name
1447 1448 1449 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1447 def name @name end |
#update_time ⇒ String
Output only. The update time timestamp.
Corresponds to the JSON property updateTime
1452 1453 1454 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1452 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1459 1460 1461 1462 1463 1464 1465 1466 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1459 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) @migration_target_type = args[:migration_target_type] if args.key?(:migration_target_type) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |