class Google::Apis::SheetsV4::Padding

The amount of padding around the cell, in pixels. When updating padding, every field must be specified.

Attributes

bottom[RW]

The bottom padding of the cell. Corresponds to the JSON property `bottom` @return [Fixnum]

left[RW]

The left padding of the cell. Corresponds to the JSON property `left` @return [Fixnum]

right[RW]

The right padding of the cell. Corresponds to the JSON property `right` @return [Fixnum]

top[RW]

The top padding of the cell. Corresponds to the JSON property `top` @return [Fixnum]

Public Class Methods

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