class Google::Apis::SheetsV4::DeveloperMetadataLocation

A location where metadata may be associated in a spreadsheet.

Attributes

dimension_range[RW]

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` @return [Google::Apis::SheetsV4::DimensionRange]

location_type[RW]

The type of location this object represents. This field is read-only. Corresponds to the JSON property `locationType` @return [String]

sheet_id[RW]

The ID of the sheet when metadata is associated with an entire sheet. Corresponds to the JSON property `sheetId` @return [Fixnum]

spreadsheet[RW]

True when metadata is associated with an entire spreadsheet. Corresponds to the JSON property `spreadsheet` @return [Boolean]

spreadsheet?[RW]

True when metadata is associated with an entire spreadsheet. Corresponds to the JSON property `spreadsheet` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 4850
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 4855
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