class Google::Apis::SlidesV1::SheetsChart

A PageElement kind representing 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]

content_url[RW]

The URL of an image of the embedded chart, with a default lifetime of 30 minutes. This URL is tagged with the account of the requester. Anyone with the URL effectively accesses the image as the original requester. Access to the image may be lost if the presentation's sharing settings change. Corresponds to the JSON property `contentUrl` @return [String]

sheets_chart_properties[RW]

The properties of the SheetsChart. Corresponds to the JSON property `sheetsChartProperties` @return [Google::Apis::SlidesV1::SheetsChartProperties]

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/slides_v1/classes.rb, line 3490
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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