# Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::Group (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::Group.

A resource that represents an asset group.
The purpose of an asset group is to bundle a set of assets that have
something in common, while allowing users to add annotations to the group.
An asset can belong to multiple groups.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the group was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- The description of the resource.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- The description of the resource.
**Returns**

- (::String) --- The description of the resource.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- User-friendly display name.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- User-friendly display name.
**Returns**

- (::String) --- User-friendly display name.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels as key value pairs.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Labels as key value pairs.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels as key value pairs.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The name of the group.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the group was last updated.