class Google::Apis::SheetsV4::EmbeddedObjectPosition

The position of an embedded object such as a chart.

Attributes

new_sheet[RW]

If true, the embedded object is put on a new sheet whose ID is chosen for you. Used only when writing. Corresponds to the JSON property `newSheet` @return [Boolean]

new_sheet?[RW]

If true, the embedded object is put on a new sheet whose ID is chosen for you. Used only when writing. Corresponds to the JSON property `newSheet` @return [Boolean]

overlay_position[RW]

The location an object is overlaid on top of a grid. Corresponds to the JSON property `overlayPosition` @return [Google::Apis::SheetsV4::OverlayPosition]

sheet_id[RW]

The sheet this is on. Set only if the embedded object is on its own sheet. Must be non-negative. Corresponds to the JSON property `sheetId` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 5331
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 5336
def update!(**args)
  @new_sheet = args[:new_sheet] if args.key?(:new_sheet)
  @overlay_position = args[:overlay_position] if args.key?(:overlay_position)
  @sheet_id = args[:sheet_id] if args.key?(:sheet_id)
end