3.0.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.1 2.2.0 2.1.0 2.0.2 1.2.0 1.1.0 1.0.1 0.4.0 0.3.2 0.2.1 0.1.0 Reference documentation and code samples for the Rapid Migration Assessment V1 API class Google::Cloud::RapidMigrationAssessment::V1::Annotation.

Message describing an Annotation

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

```ruby
def create_time() -> ::Google::Protobuf::Timestamp
```
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-rapid_migration_assessment-v1/latest/Google-Protobuf-Timestamp.md.txt)) --- Output only. Create time stamp.

### #labels

```ruby
def labels() -> ::Google::Protobuf::Map{::String => ::String}
```
**Returns**

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

### #labels=

```ruby
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

```ruby
def name() -> ::String
```
**Returns**

- (::String) --- name of resource.

### #name=

```ruby
def name=(value) -> ::String
```
**Parameter**

- **value** (::String) --- name of resource.
**Returns**

- (::String) --- name of resource.

### #type

```ruby
def type() -> ::Google::Cloud::RapidMigrationAssessment::V1::Annotation::Type
```
**Returns**

- ([::Google::Cloud::RapidMigrationAssessment::V1::Annotation::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-rapid_migration_assessment-v1/latest/Google-Cloud-RapidMigrationAssessment-V1-Annotation-Type.md.txt)) --- Type of an annotation.

### #type=

```ruby
def type=(value) -> ::Google::Cloud::RapidMigrationAssessment::V1::Annotation::Type
```
**Parameter**

- **value** ([::Google::Cloud::RapidMigrationAssessment::V1::Annotation::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-rapid_migration_assessment-v1/latest/Google-Cloud-RapidMigrationAssessment-V1-Annotation-Type.md.txt)) --- Type of an annotation.
**Returns**

- ([::Google::Cloud::RapidMigrationAssessment::V1::Annotation::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-rapid_migration_assessment-v1/latest/Google-Cloud-RapidMigrationAssessment-V1-Annotation-Type.md.txt)) --- Type of an annotation.

### #update_time

```ruby
def update_time() -> ::Google::Protobuf::Timestamp
```
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-rapid_migration_assessment-v1/latest/Google-Protobuf-Timestamp.md.txt)) --- Output only. Update time stamp.