class Google::Apis::DocsV1::SheetsChartReference

A reference to a linked chart embedded from Google Sheets.

Attributes

chart_id[RW]

The ID of the specific chart in the Google Sheets spreadsheet that is embedded. Corresponds to the JSON property `chartId` @return [Fixnum]

spreadsheet_id[RW]

The ID of the Google Sheets spreadsheet that contains the source chart. Corresponds to the JSON property `spreadsheetId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 4643
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 4648
def update!(**args)
  @chart_id = args[:chart_id] if args.key?(:chart_id)
  @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id)
end