class Google::Apis::SheetsV4::DimensionProperties

Properties about a dimension.

Attributes

data_source_column_reference[RW]

An unique identifier that references a data source column. Corresponds to the JSON property `dataSourceColumnReference` @return [Google::Apis::SheetsV4::DataSourceColumnReference]

developer_metadata[RW]

The developer metadata associated with a single row or column. Corresponds to the JSON property `developerMetadata` @return [Array<Google::Apis::SheetsV4::DeveloperMetadata>]

hidden_by_filter[RW]

True if this dimension is being filtered. This field is read-only. Corresponds to the JSON property `hiddenByFilter` @return [Boolean]

hidden_by_filter?[RW]

True if this dimension is being filtered. This field is read-only. Corresponds to the JSON property `hiddenByFilter` @return [Boolean]

hidden_by_user[RW]

True if this dimension is explicitly hidden. Corresponds to the JSON property `hiddenByUser` @return [Boolean]

hidden_by_user?[RW]

True if this dimension is explicitly hidden. Corresponds to the JSON property `hiddenByUser` @return [Boolean]

pixel_size[RW]

The height (if a row) or width (if a column) of the dimension in pixels. Corresponds to the JSON property `pixelSize` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 5018
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 5023
def update!(**args)
  @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference)
  @developer_metadata = args[:developer_metadata] if args.key?(:developer_metadata)
  @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter)
  @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user)
  @pixel_size = args[:pixel_size] if args.key?(:pixel_size)
end