class Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest
Replaces all shapes that match the given criteria with the provided Google
Sheets chart. The chart will be scaled and centered to fit within the bounds of the original shape. NOTE: Replacing shapes with a chart requires at least one of the spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.
Attributes
The ID of the specific chart in the Google
Sheets spreadsheet. Corresponds to the JSON property `chartId` @return [Fixnum]
A criteria that matches a specific string of text in a shape or table. Corresponds to the JSON property `containsText` @return [Google::Apis::SlidesV1::SubstringMatchCriteria]
The mode with which the chart is linked to the source spreadsheet. When not specified, the chart will be an image that is not linked. Corresponds to the JSON property `linkingMode` @return [String]
If non-empty, limits the matches to page elements only on the given pages. Returns a 400 bad request error if given the page object ID of a notes page or a notes master, or if a page with that object ID doesn't exist in the presentation. Corresponds to the JSON property `pageObjectIds` @return [Array<String>]
The ID of the Google
Sheets spreadsheet that contains the chart. Corresponds to the JSON property `spreadsheetId` @return [String]
Public Class Methods
# File lib/google/apis/slides_v1/classes.rb, line 2681 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 2686 def update!(**args) @chart_id = args[:chart_id] if args.key?(:chart_id) @contains_text = args[:contains_text] if args.key?(:contains_text) @linking_mode = args[:linking_mode] if args.key?(:linking_mode) @page_object_ids = args[:page_object_ids] if args.key?(:page_object_ids) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) end