Class: Google::Apis::SheetsV4::Borders
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SheetsV4::Borders
 
- 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
The borders of the cell.
Instance Attribute Summary collapse
- 
  
    
      #bottom  ⇒ Google::Apis::SheetsV4::Border 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A border along a cell. 
- 
  
    
      #left  ⇒ Google::Apis::SheetsV4::Border 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A border along a cell. 
- 
  
    
      #right  ⇒ Google::Apis::SheetsV4::Border 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A border along a cell. 
- 
  
    
      #top  ⇒ Google::Apis::SheetsV4::Border 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A border along a cell. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Borders 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Borders. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Borders
Returns a new instance of Borders
| 2106 2107 2108 | # File 'generated/google/apis/sheets_v4/classes.rb', line 2106 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#bottom ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property bottom
| 2089 2090 2091 | # File 'generated/google/apis/sheets_v4/classes.rb', line 2089 def bottom @bottom end | 
#left ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property left
| 2094 2095 2096 | # File 'generated/google/apis/sheets_v4/classes.rb', line 2094 def left @left end | 
#right ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property right
| 2099 2100 2101 | # File 'generated/google/apis/sheets_v4/classes.rb', line 2099 def right @right end | 
#top ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property top
| 2104 2105 2106 | # File 'generated/google/apis/sheets_v4/classes.rb', line 2104 def top @top end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2111 2112 2113 2114 2115 2116 | # File 'generated/google/apis/sheets_v4/classes.rb', line 2111 def update!(**args) @bottom = args[:bottom] if args.key?(:bottom) @left = args[:left] if args.key?(:left) @right = args[:right] if args.key?(:right) @top = args[:top] if args.key?(:top) end |