Class: Google::Apis::SheetsV4::DimensionProperties
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DimensionProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
Properties about a dimension.
Instance Attribute Summary collapse
-
#data_source_column_reference ⇒ Google::Apis::SheetsV4::DataSourceColumnReference
An unique identifier that references a data source column.
-
#developer_metadata ⇒ Array<Google::Apis::SheetsV4::DeveloperMetadata>
The developer metadata associated with a single row or column.
-
#hidden_by_filter ⇒ Boolean
(also: #hidden_by_filter?)
True if this dimension is being filtered.
-
#hidden_by_user ⇒ Boolean
(also: #hidden_by_user?)
True if this dimension is explicitly hidden.
-
#pixel_size ⇒ Fixnum
The height (if a row) or width (if a column) of the dimension in pixels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionProperties
constructor
A new instance of DimensionProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionProperties
Returns a new instance of DimensionProperties.
5112 5113 5114 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_column_reference ⇒ Google::Apis::SheetsV4::DataSourceColumnReference
An unique identifier that references a data source column.
Corresponds to the JSON property dataSourceColumnReference
5088 5089 5090 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5088 def data_source_column_reference @data_source_column_reference end |
#developer_metadata ⇒ Array<Google::Apis::SheetsV4::DeveloperMetadata>
The developer metadata associated with a single row or column.
Corresponds to the JSON property developerMetadata
5093 5094 5095 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5093 def @developer_metadata end |
#hidden_by_filter ⇒ Boolean Also known as:
True if this dimension is being filtered. This field is read-only.
Corresponds to the JSON property hiddenByFilter
5098 5099 5100 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5098 def hidden_by_filter @hidden_by_filter end |
#hidden_by_user ⇒ Boolean Also known as:
True if this dimension is explicitly hidden.
Corresponds to the JSON property hiddenByUser
5104 5105 5106 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5104 def hidden_by_user @hidden_by_user end |
#pixel_size ⇒ Fixnum
The height (if a row) or width (if a column) of the dimension in pixels.
Corresponds to the JSON property pixelSize
5110 5111 5112 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5110 def pixel_size @pixel_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5117 5118 5119 5120 5121 5122 5123 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5117 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 |