google_api_slides v0.1.0 GoogleApi.Slides.V1.Model.ReplaceAllShapesWithSheetsChartRequest View Source

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

  • chartId (integer()): The ID of the specific chart in the Google Sheets spreadsheet. Defaults to: null.
  • containsText (SubstringMatchCriteria): The criteria that the shapes must match in order to be replaced. The request will replace all of the shapes that contain the given text. Defaults to: null.
  • linkingMode (String.t): 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. Defaults to: null.

    • Enum - one of [NOT_LINKED_IMAGE, LINKED]
  • pageObjectIds ([String.t]): 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. Defaults to: null.
  • spreadsheetId (String.t): The ID of the Google Sheets spreadsheet that contains the chart. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Slides.V1.Model.ReplaceAllShapesWithSheetsChartRequest{
  chartId: any(),
  containsText: GoogleApi.Slides.V1.Model.SubstringMatchCriteria.t(),
  linkingMode: any(),
  pageObjectIds: [any()],
  spreadsheetId: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.