Class: Google::Apis::SheetsV4::DeveloperMetadataLocation
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeveloperMetadataLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb
Overview
A location where metadata may be associated in a spreadsheet.
Instance Attribute Summary collapse
-
#dimension_range ⇒ Google::Apis::SheetsV4::DimensionRange
A range along a single dimension on a sheet.
-
#location_type ⇒ String
The type of location this object represents.
-
#sheet_id ⇒ Fixnum
The ID of the sheet when metadata is associated with an entire sheet.
-
#spreadsheet ⇒ Boolean
(also: #spreadsheet?)
True when metadata is associated with an entire spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeveloperMetadataLocation
constructor
A new instance of DeveloperMetadataLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeveloperMetadataLocation
Returns a new instance of DeveloperMetadataLocation
4028 4029 4030 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4028 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_range ⇒ Google::Apis::SheetsV4::DimensionRange
A range along a single dimension on a sheet.
All indexes are zero-based.
Indexes are half open: the start index is inclusive
and the end index is exclusive.
Missing indexes indicate the range is unbounded on that side.
Corresponds to the JSON property dimensionRange
4010 4011 4012 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4010 def dimension_range @dimension_range end |
#location_type ⇒ String
The type of location this object represents. This field is read-only.
Corresponds to the JSON property locationType
4015 4016 4017 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4015 def location_type @location_type end |
#sheet_id ⇒ Fixnum
The ID of the sheet when metadata is associated with an entire sheet.
Corresponds to the JSON property sheetId
4020 4021 4022 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4020 def sheet_id @sheet_id end |
#spreadsheet ⇒ Boolean Also known as: spreadsheet?
True when metadata is associated with an entire spreadsheet.
Corresponds to the JSON property spreadsheet
4025 4026 4027 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4025 def spreadsheet @spreadsheet end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4033 4034 4035 4036 4037 4038 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 4033 def update!(**args) @dimension_range = args[:dimension_range] if args.key?(:dimension_range) @location_type = args[:location_type] if args.key?(:location_type) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) @spreadsheet = args[:spreadsheet] if args.key?(:spreadsheet) end |