Class 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.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class ReplaceAllShapesWithSheetsChartRequest : IDirectResponseSchema
Properties
ChartId
The ID of the specific chart in the Google Sheets spreadsheet.
Declaration
[JsonProperty("chartId")]
public virtual int? ChartId { get; set; }
Property Value
Type | Description |
---|---|
int? |
ContainsText
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.
Declaration
[JsonProperty("containsText")]
public virtual SubstringMatchCriteria ContainsText { get; set; }
Property Value
Type | Description |
---|---|
SubstringMatchCriteria |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LinkingMode
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.
Declaration
[JsonProperty("linkingMode")]
public virtual string LinkingMode { get; set; }
Property Value
Type | Description |
---|---|
string |
PageObjectIds
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.
Declaration
[JsonProperty("pageObjectIds")]
public virtual IList<string> PageObjectIds { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
SpreadsheetId
The ID of the Google Sheets spreadsheet that contains the chart.
Declaration
[JsonProperty("spreadsheetId")]
public virtual string SpreadsheetId { get; set; }
Property Value
Type | Description |
---|---|
string |