# Area 120 Tables V1alpha1 API - Class Google::Area120::Tables::V1alpha1::ColumnDescription (v0.2.5)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.2.5 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-ColumnDescription)
- [0.2.4](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/0.2.4/Google-Area120-Tables-V1alpha1-ColumnDescription)
Reference documentation and code samples for the Area 120 Tables V1alpha1 API class Google::Area120::Tables::V1alpha1::ColumnDescription.

Details on a column in the table.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #data_type

    def data_type() -> ::String

**Returns**

- (::String) --- Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.

### #data_type=

    def data_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.
**Returns**

- (::String) --- Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.

### #id

    def id() -> ::String

**Returns**

- (::String) --- Internal id for a column.

### #id=

    def id=(value) -> ::String

**Parameter**

- **value** (::String) --- Internal id for a column.
**Returns**

- (::String) --- Internal id for a column.

### #labels

    def labels() -> ::Array<::Google::Area120::Tables::V1alpha1::LabeledItem>

**Returns**

- (::Array\<[::Google::Area120::Tables::V1alpha1::LabeledItem](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-LabeledItem)\>) --- Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

### #labels=

    def labels=(value) -> ::Array<::Google::Area120::Tables::V1alpha1::LabeledItem>

**Parameter**

- **value** (::Array\<[::Google::Area120::Tables::V1alpha1::LabeledItem](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-LabeledItem)\>) --- Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.
**Returns**

- (::Array\<[::Google::Area120::Tables::V1alpha1::LabeledItem](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-LabeledItem)\>) --- Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.

### #lookup_details

    def lookup_details() -> ::Google::Area120::Tables::V1alpha1::LookupDetails

**Returns**

- ([::Google::Area120::Tables::V1alpha1::LookupDetails](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-LookupDetails)) --- Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

### #lookup_details=

    def lookup_details=(value) -> ::Google::Area120::Tables::V1alpha1::LookupDetails

**Parameter**

- **value** ([::Google::Area120::Tables::V1alpha1::LookupDetails](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-LookupDetails)) --- Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.
**Returns**

- ([::Google::Area120::Tables::V1alpha1::LookupDetails](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-LookupDetails)) --- Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.

### #name

    def name() -> ::String

**Returns**

- (::String) --- column name

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- column name
**Returns**

- (::String) --- column name

### #relationship_details

    def relationship_details() -> ::Google::Area120::Tables::V1alpha1::RelationshipDetails

**Returns**

- ([::Google::Area120::Tables::V1alpha1::RelationshipDetails](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-RelationshipDetails)) --- Optional. Additional details about a relationship column. Specified when data_type is relationship.

### #relationship_details=

    def relationship_details=(value) -> ::Google::Area120::Tables::V1alpha1::RelationshipDetails

**Parameter**

- **value** ([::Google::Area120::Tables::V1alpha1::RelationshipDetails](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-RelationshipDetails)) --- Optional. Additional details about a relationship column. Specified when data_type is relationship.
**Returns**

- ([::Google::Area120::Tables::V1alpha1::RelationshipDetails](https://docs.cloud.google.com/ruby/docs/reference/google-area120-tables-v1alpha1/latest/Google-Area120-Tables-V1alpha1-RelationshipDetails)) --- Optional. Additional details about a relationship column. Specified when data_type is relationship.