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
3392 3393 3394 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3392 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
3380 3381 3382 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3380 def bottom @bottom end |
#left ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property left
3390 3391 3392 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3390 def left @left end |
#right ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property right
3375 3376 3377 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3375 def right @right end |
#top ⇒ Google::Apis::SheetsV4::Border
A border along a cell.
Corresponds to the JSON property top
3385 3386 3387 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3385 def top @top end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3397 3398 3399 3400 3401 3402 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3397 def update!(**args) @right = args[:right] if args.key?(:right) @bottom = args[:bottom] if args.key?(:bottom) @top = args[:top] if args.key?(:top) @left = args[:left] if args.key?(:left) end |