# Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::ColumnLayout::Column (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.0 0.14.2 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.6 Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::ColumnLayout::Column.

Defines the layout properties and content for a column.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #weight

    def weight() -> ::Integer

**Returns**

- (::Integer) --- The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering.

### #weight=

    def weight=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering.
**Returns**

- (::Integer) --- The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering.

### #widgets

    def widgets() -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::Widget>

**Returns**

- (::Array\<[::Google::Cloud::Monitoring::Dashboard::V1::Widget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest/Google-Cloud-Monitoring-Dashboard-V1-Widget)\>) --- The display widgets arranged vertically in this column.

### #widgets=

    def widgets=(value) -> ::Array<::Google::Cloud::Monitoring::Dashboard::V1::Widget>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Monitoring::Dashboard::V1::Widget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest/Google-Cloud-Monitoring-Dashboard-V1-Widget)\>) --- The display widgets arranged vertically in this column.
**Returns**

- (::Array\<[::Google::Cloud::Monitoring::Dashboard::V1::Widget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-dashboard-v1/latest/Google-Cloud-Monitoring-Dashboard-V1-Widget)\>) --- The display widgets arranged vertically in this column.