Class: Google::Apis::SheetsV4::DimensionRange
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SheetsV4::DimensionRange
 
- 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 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.
Instance Attribute Summary collapse
- 
  
    
      #dimension  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The dimension of the span. 
- 
  
    
      #end_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The end (exclusive) of the span, or not set if unbounded. 
- 
  
    
      #sheet_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The sheet this span is on. 
- 
  
    
      #start_index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The start (inclusive) of the span, or not set if unbounded. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DimensionRange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DimensionRange. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DimensionRange
Returns a new instance of DimensionRange
| 4241 4242 4243 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4241 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#dimension ⇒ String
The dimension of the span.
Corresponds to the JSON property dimension
| 4224 4225 4226 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4224 def dimension @dimension end | 
#end_index ⇒ Fixnum
The end (exclusive) of the span, or not set if unbounded.
Corresponds to the JSON property endIndex
| 4229 4230 4231 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4229 def end_index @end_index end | 
#sheet_id ⇒ Fixnum
The sheet this span is on.
Corresponds to the JSON property sheetId
| 4234 4235 4236 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4234 def sheet_id @sheet_id end | 
#start_index ⇒ Fixnum
The start (inclusive) of the span, or not set if unbounded.
Corresponds to the JSON property startIndex
| 4239 4240 4241 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4239 def start_index @start_index end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4246 4247 4248 4249 4250 4251 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4246 def update!(**args) @dimension = args[:dimension] if args.key?(:dimension) @end_index = args[:end_index] if args.key?(:end_index) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) @start_index = args[:start_index] if args.key?(:start_index) end |