Class: Google::Apis::SheetsV4::Borders
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::Borders
- 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
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.
Constructor Details
#initialize(**args) ⇒ Borders
Returns a new instance of Borders.
2208 2209 2210 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2208 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
2191 2192 2193 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2191 def bottom @bottom end |
#left ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property left
2196 2197 2198 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2196 def left @left end |
#right ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property right
2201 2202 2203 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2201 def right @right end |
#top ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property top
2206 2207 2208 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2206 def top @top end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2213 2214 2215 2216 2217 2218 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2213 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 |