Index: discovery/googleapis/slides__v1.json |
diff --git a/discovery/googleapis/slides__v1.json b/discovery/googleapis/slides__v1.json |
index 06a091b4c33850c2ab49fa3d1f27ba380257ed23..7d49a9c07f4b47ca145bad32cdcd51de545cc7d5 100644 |
--- a/discovery/googleapis/slides__v1.json |
+++ b/discovery/googleapis/slides__v1.json |
@@ -2,15 +2,6 @@ |
"auth": { |
"oauth2": { |
"scopes": { |
- "https://www.googleapis.com/auth/spreadsheets.readonly": { |
- "description": "View your Google Spreadsheets" |
- }, |
- "https://www.googleapis.com/auth/drive": { |
- "description": "View and manage the files in your Google Drive" |
- }, |
- "https://www.googleapis.com/auth/drive.readonly": { |
- "description": "View the files in your Google Drive" |
- }, |
"https://www.googleapis.com/auth/spreadsheets": { |
"description": "View and manage your spreadsheets in Google Drive" |
}, |
@@ -19,6 +10,15 @@ |
}, |
"https://www.googleapis.com/auth/presentations.readonly": { |
"description": "View your Google Slides presentations" |
+ }, |
+ "https://www.googleapis.com/auth/drive.readonly": { |
+ "description": "View the files in your Google Drive" |
+ }, |
+ "https://www.googleapis.com/auth/spreadsheets.readonly": { |
+ "description": "View your Google Spreadsheets" |
+ }, |
+ "https://www.googleapis.com/auth/drive": { |
+ "description": "View and manage the files in your Google Drive" |
} |
} |
} |
@@ -40,6 +40,34 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "$.xgafv": { |
+ "description": "V1 error format.", |
+ "enum": [ |
+ "1", |
+ "2" |
+ ], |
+ "enumDescriptions": [ |
+ "v1 error format", |
+ "v2 error format" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -56,13 +84,13 @@ |
"location": "query", |
"type": "string" |
}, |
- "access_token": { |
- "description": "OAuth access token.", |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
"location": "query", |
"type": "string" |
}, |
- "key": { |
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
@@ -77,13 +105,13 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
"location": "query", |
"type": "string" |
}, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
"location": "query", |
"type": "string" |
}, |
@@ -97,40 +125,39 @@ |
"description": "Returns response with indentations and line breaks.", |
"location": "query", |
"type": "boolean" |
- }, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
- "location": "query", |
- "type": "string" |
- }, |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
- "location": "query", |
- "type": "string" |
- }, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
- "$.xgafv": { |
- "description": "V1 error format.", |
- "enum": [ |
- "1", |
- "2" |
- ], |
- "enumDescriptions": [ |
- "v1 error format", |
- "v2 error format" |
- ], |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
"resources": { |
"presentations": { |
"methods": { |
+ "get": { |
+ "description": "Gets the latest version of the specified presentation.", |
+ "httpMethod": "GET", |
+ "id": "slides.presentations.get", |
+ "parameterOrder": [ |
+ "presentationId" |
+ ], |
+ "parameters": { |
+ "presentationId": { |
+ "description": "The ID of the presentation to retrieve.", |
+ "location": "path", |
+ "pattern": "^[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/presentations/{+presentationId}", |
+ "response": { |
+ "$ref": "Presentation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/drive", |
+ "https://www.googleapis.com/auth/drive.readonly", |
+ "https://www.googleapis.com/auth/presentations", |
+ "https://www.googleapis.com/auth/presentations.readonly" |
+ ] |
+ }, |
"create": { |
"description": "Creates a new presentation using the title given in the request. Other\nfields in the request are ignored.\nReturns the created presentation.", |
"httpMethod": "POST", |
@@ -178,33 +205,6 @@ |
"https://www.googleapis.com/auth/spreadsheets", |
"https://www.googleapis.com/auth/spreadsheets.readonly" |
] |
- }, |
- "get": { |
- "description": "Gets the latest version of the specified presentation.", |
- "httpMethod": "GET", |
- "id": "slides.presentations.get", |
- "parameterOrder": [ |
- "presentationId" |
- ], |
- "parameters": { |
- "presentationId": { |
- "description": "The ID of the presentation to retrieve.", |
- "location": "path", |
- "pattern": "^[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/presentations/{+presentationId}", |
- "response": { |
- "$ref": "Presentation" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/drive", |
- "https://www.googleapis.com/auth/drive.readonly", |
- "https://www.googleapis.com/auth/presentations", |
- "https://www.googleapis.com/auth/presentations.readonly" |
- ] |
} |
}, |
"resources": { |
@@ -252,12 +252,6 @@ |
"pageObjectId" |
], |
"parameters": { |
- "pageObjectId": { |
- "description": "The object ID of the page whose thumbnail to retrieve.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
"thumbnailProperties.mimeType": { |
"description": "The optional mime type of the thumbnail image.\n\nIf you don't specify the mime type, the default mime type will be PNG.", |
"enum": [ |
@@ -280,6 +274,12 @@ |
"location": "path", |
"required": true, |
"type": "string" |
+ }, |
+ "pageObjectId": { |
+ "description": "The object ID of the page whose thumbnail to retrieve.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
} |
}, |
"path": "v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail", |
@@ -298,44 +298,345 @@ |
} |
} |
}, |
- "revision": "20170509", |
+ "revision": "20170530", |
"rootUrl": "https://slides.googleapis.com/", |
"schemas": { |
- "CreateSlideResponse": { |
- "description": "The result of creating a slide.", |
- "id": "CreateSlideResponse", |
+ "DeleteParagraphBulletsRequest": { |
+ "description": "Deletes bullets from all of the paragraphs that overlap with the given text\nindex range.\n\nThe nesting level of each paragraph will be visually preserved by adding\nindent to the start of the corresponding paragraph.", |
+ "id": "DeleteParagraphBulletsRequest", |
"properties": { |
"objectId": { |
- "description": "The object ID of the created slide.", |
+ "description": "The object ID of the shape or table containing the text to delete bullets\nfrom.", |
"type": "string" |
+ }, |
+ "textRange": { |
+ "$ref": "Range", |
+ "description": "The range of text to delete bullets from, based on TextElement indexes." |
+ }, |
+ "cellLocation": { |
+ "$ref": "TableCellLocation", |
+ "description": "The optional table cell location if the text to be modified is in a table\ncell. If present, the object_id must refer to a table." |
} |
}, |
"type": "object" |
}, |
- "CreateShapeRequest": { |
- "description": "Creates a new shape.", |
- "id": "CreateShapeRequest", |
+ "ParagraphMarker": { |
+ "description": "A TextElement kind that represents the beginning of a new paragraph.", |
+ "id": "ParagraphMarker", |
+ "properties": { |
+ "bullet": { |
+ "$ref": "Bullet", |
+ "description": "The bullet for this paragraph. If not present, the paragraph does not\nbelong to a list." |
+ }, |
+ "style": { |
+ "$ref": "ParagraphStyle", |
+ "description": "The paragraph's style" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "InsertTableColumnsRequest": { |
+ "description": "Inserts columns into a table.\n\nOther columns in the table will be resized to fit the new column.", |
+ "id": "InsertTableColumnsRequest", |
+ "properties": { |
+ "number": { |
+ "description": "The number of columns to be inserted. Maximum 20 per request.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "cellLocation": { |
+ "$ref": "TableCellLocation", |
+ "description": "The reference table cell location from which columns will be inserted.\n\nA new column will be inserted to the left (or right) of the column where\nthe reference cell is. If the reference cell is a merged cell, a new\ncolumn will be inserted to the left (or right) of the merged cell." |
+ }, |
+ "insertRight": { |
+ "description": "Whether to insert new columns to the right of the reference cell location.\n\n- `True`: insert to the right.\n- `False`: insert to the left.", |
+ "type": "boolean" |
+ }, |
+ "tableObjectId": { |
+ "description": "The table to insert columns into.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Thumbnail": { |
+ "description": "The thumbnail of a page.", |
+ "id": "Thumbnail", |
+ "properties": { |
+ "height": { |
+ "description": "The positive height in pixels of the thumbnail image.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "contentUrl": { |
+ "description": "The content URL of the thumbnail image.\n\nThe URL to the image has a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.\nThe mime type of the thumbnail image is the same as specified in the\n`GetPageThumbnailRequest`.", |
+ "type": "string" |
+ }, |
+ "width": { |
+ "description": "The positive width in pixels of the thumbnail image.", |
+ "format": "int32", |
+ "type": "integer" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "LayoutPlaceholderIdMapping": { |
+ "description": "The user-specified ID mapping for a placeholder that will be created on a\nslide from a specified layout.", |
+ "id": "LayoutPlaceholderIdMapping", |
"properties": { |
"objectId": { |
- "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\nIf empty, a unique identifier will be generated.", |
+ "description": "A user-supplied object ID for the placeholder identified above that to be\ncreated onto a slide.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", |
"type": "string" |
}, |
- "shapeType": { |
- "description": "The shape type.", |
- "enum": [ |
- "TYPE_UNSPECIFIED", |
- "TEXT_BOX", |
- "RECTANGLE", |
- "ROUND_RECTANGLE", |
- "ELLIPSE", |
- "ARC", |
- "BENT_ARROW", |
- "BENT_UP_ARROW", |
- "BEVEL", |
- "BLOCK_ARC", |
- "BRACE_PAIR", |
- "BRACKET_PAIR", |
- "CAN", |
+ "layoutPlaceholder": { |
+ "$ref": "Placeholder", |
+ "description": "The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a\npredefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder\nwith index 0 and a BODY placeholder with index 0." |
+ }, |
+ "layoutPlaceholderObjectId": { |
+ "description": "The object ID of the placeholder on a layout that will be applied\nto a slide.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "UpdateShapePropertiesRequest": { |
+ "description": "Update the properties of a Shape.", |
+ "id": "UpdateShapePropertiesRequest", |
+ "properties": { |
+ "objectId": { |
+ "description": "The object ID of the shape the updates are applied to.", |
+ "type": "string" |
+ }, |
+ "shapeProperties": { |
+ "$ref": "ShapeProperties", |
+ "description": "The shape properties to update." |
+ }, |
+ "fields": { |
+ "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `shapeProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the shape background solid fill color, set `fields`\nto `\"shapeBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", |
+ "format": "google-fieldmask", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "WordArt": { |
+ "description": "A PageElement kind representing\nword art.", |
+ "id": "WordArt", |
+ "properties": { |
+ "renderedText": { |
+ "description": "The text rendered as word art.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Recolor": { |
+ "description": "A recolor effect applied on an image.", |
+ "id": "Recolor", |
+ "properties": { |
+ "recolorStops": { |
+ "description": "The recolor effect is represented by a gradient, which is a list of color\nstops.\n\nThe colors in the gradient will replace the corresponding colors at\nthe same position in the color palette and apply to the image. This\nproperty is read-only.", |
+ "items": { |
+ "$ref": "ColorStop" |
+ }, |
+ "type": "array" |
+ }, |
+ "name": { |
+ "description": "The name of the recolor effect.\n\nThe name is determined from the `recolor_stops` by matching the gradient\nagainst the colors in the page's current color scheme. This property is\nread-only.", |
+ "enum": [ |
+ "NONE", |
+ "LIGHT1", |
+ "LIGHT2", |
+ "LIGHT3", |
+ "LIGHT4", |
+ "LIGHT5", |
+ "LIGHT6", |
+ "LIGHT7", |
+ "LIGHT8", |
+ "LIGHT9", |
+ "LIGHT10", |
+ "DARK1", |
+ "DARK2", |
+ "DARK3", |
+ "DARK4", |
+ "DARK5", |
+ "DARK6", |
+ "DARK7", |
+ "DARK8", |
+ "DARK9", |
+ "DARK10", |
+ "GRAYSCALE", |
+ "NEGATIVE", |
+ "SEPIA", |
+ "CUSTOM" |
+ ], |
+ "enumDescriptions": [ |
+ "No recolor effect. The default value.", |
+ "A recolor effect that lightens the image using the page's first available\ncolor from its color scheme.", |
+ "A recolor effect that lightens the image using the page's second\navailable color from its color scheme.", |
+ "A recolor effect that lightens the image using the page's third available\ncolor from its color scheme.", |
+ "A recolor effect that lightens the image using the page's forth available\ncolor from its color scheme.", |
+ "A recolor effect that lightens the image using the page's fifth available\ncolor from its color scheme.", |
+ "A recolor effect that lightens the image using the page's sixth available\ncolor from its color scheme.", |
+ "A recolor effect that lightens the image using the page's seventh\navailable color from its color scheme.e.", |
+ "A recolor effect that lightens the image using the page's eighth\navailable color from its color scheme.", |
+ "A recolor effect that lightens the image using the page's ninth available\ncolor from its color scheme.", |
+ "A recolor effect that lightens the image using the page's tenth available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's first available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's second available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's third available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's fourth available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's fifth available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's sixth available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's seventh\navailable color from its color scheme.", |
+ "A recolor effect that darkens the image using the page's eighth available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's ninth available\ncolor from its color scheme.", |
+ "A recolor effect that darkens the image using the page's tenth available\ncolor from its color scheme.", |
+ "A recolor effect that recolors the image to grayscale.", |
+ "A recolor effect that recolors the image to negative grayscale.", |
+ "A recolor effect that recolors the image using the sepia color.", |
+ "Custom recolor effect. Refer to `recolor_stops` for the concrete\ngradient." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Link": { |
+ "description": "A hypertext link.", |
+ "id": "Link", |
+ "properties": { |
+ "pageObjectId": { |
+ "description": "If set, indicates this is a link to the specific page in this\npresentation with this ID. A page with this ID may not exist.", |
+ "type": "string" |
+ }, |
+ "url": { |
+ "description": "If set, indicates this is a link to the external web page at this URL.", |
+ "type": "string" |
+ }, |
+ "relativeLink": { |
+ "description": "If set, indicates this is a link to a slide in this presentation,\naddressed by its position.", |
+ "enum": [ |
+ "RELATIVE_SLIDE_LINK_UNSPECIFIED", |
+ "NEXT_SLIDE", |
+ "PREVIOUS_SLIDE", |
+ "FIRST_SLIDE", |
+ "LAST_SLIDE" |
+ ], |
+ "enumDescriptions": [ |
+ "An unspecified relative slide link.", |
+ "A link to the next slide.", |
+ "A link to the previous slide.", |
+ "A link to the first slide in the presentation.", |
+ "A link to the last slide in the presentation." |
+ ], |
+ "type": "string" |
+ }, |
+ "slideIndex": { |
+ "description": "If set, indicates this is a link to the slide at this zero-based index\nin the presentation. There may not be a slide at this index.", |
+ "format": "int32", |
+ "type": "integer" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "RgbColor": { |
+ "description": "An RGB color.", |
+ "id": "RgbColor", |
+ "properties": { |
+ "red": { |
+ "description": "The red component of the color, from 0.0 to 1.0.", |
+ "format": "float", |
+ "type": "number" |
+ }, |
+ "green": { |
+ "description": "The green component of the color, from 0.0 to 1.0.", |
+ "format": "float", |
+ "type": "number" |
+ }, |
+ "blue": { |
+ "description": "The blue component of the color, from 0.0 to 1.0.", |
+ "format": "float", |
+ "type": "number" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CreateShapeResponse": { |
+ "description": "The result of creating a shape.", |
+ "id": "CreateShapeResponse", |
+ "properties": { |
+ "objectId": { |
+ "description": "The object ID of the created shape.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CreateLineRequest": { |
+ "description": "Creates a line.", |
+ "id": "CreateLineRequest", |
+ "properties": { |
+ "objectId": { |
+ "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", |
+ "type": "string" |
+ }, |
+ "elementProperties": { |
+ "$ref": "PageElementProperties", |
+ "description": "The element properties for the line." |
+ }, |
+ "lineCategory": { |
+ "description": "The category of line to be created.", |
+ "enum": [ |
+ "STRAIGHT", |
+ "BENT", |
+ "CURVED" |
+ ], |
+ "enumDescriptions": [ |
+ "Straight connectors, including straight connector 1. The is the default\ncategory when one is not specified.", |
+ "Bent connectors, including bent connector 2 to 5.", |
+ "Curved connectors, including curved connector 2 to 5." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CreateSlideResponse": { |
+ "description": "The result of creating a slide.", |
+ "id": "CreateSlideResponse", |
+ "properties": { |
+ "objectId": { |
+ "description": "The object ID of the created slide.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CreateShapeRequest": { |
+ "description": "Creates a new shape.", |
+ "id": "CreateShapeRequest", |
+ "properties": { |
+ "objectId": { |
+ "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\nIf empty, a unique identifier will be generated.", |
+ "type": "string" |
+ }, |
+ "shapeType": { |
+ "description": "The shape type.", |
+ "enum": [ |
+ "TYPE_UNSPECIFIED", |
+ "TEXT_BOX", |
+ "RECTANGLE", |
+ "ROUND_RECTANGLE", |
+ "ELLIPSE", |
+ "ARC", |
+ "BENT_ARROW", |
+ "BENT_UP_ARROW", |
+ "BEVEL", |
+ "BLOCK_ARC", |
+ "BRACE_PAIR", |
+ "BRACKET_PAIR", |
+ "CAN", |
"CHEVRON", |
"CHORD", |
"CLOUD", |
@@ -625,18 +926,6 @@ |
"description": "A PageElement kind representing a\nvideo.", |
"id": "Video", |
"properties": { |
- "url": { |
- "description": "An URL to a video. The URL is valid as long as the source video\nexists and sharing settings do not change.", |
- "type": "string" |
- }, |
- "id": { |
- "description": "The video source's unique identifier for this video.", |
- "type": "string" |
- }, |
- "videoProperties": { |
- "$ref": "VideoProperties", |
- "description": "The properties of the video." |
- }, |
"source": { |
"description": "The video source.", |
"enum": [ |
@@ -648,6 +937,18 @@ |
"The video source is YouTube." |
], |
"type": "string" |
+ }, |
+ "url": { |
+ "description": "An URL to a video. The URL is valid as long as the source video\nexists and sharing settings do not change.", |
+ "type": "string" |
+ }, |
+ "id": { |
+ "description": "The video source's unique identifier for this video.", |
+ "type": "string" |
+ }, |
+ "videoProperties": { |
+ "$ref": "VideoProperties", |
+ "description": "The properties of the video." |
} |
}, |
"type": "object" |
@@ -727,14 +1028,29 @@ |
}, |
"type": "object" |
}, |
+ "UpdateSlidesPositionRequest": { |
+ "description": "Updates the position of slides in the presentation.", |
+ "id": "UpdateSlidesPositionRequest", |
+ "properties": { |
+ "insertionIndex": { |
+ "description": "The index where the slides should be inserted, based on the slide\narrangement before the move takes place. Must be between zero and the\nnumber of slides in the presentation, inclusive.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "slideObjectIds": { |
+ "description": "The IDs of the slides in the presentation that should be moved.\nThe slides in this list must be in existing presentation order, without\nduplicates.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"TableCellBackgroundFill": { |
"description": "The table cell background fill.", |
"id": "TableCellBackgroundFill", |
"properties": { |
- "solidFill": { |
- "$ref": "SolidFill", |
- "description": "Solid color fill." |
- }, |
"propertyState": { |
"description": "The background fill property state.\n\nUpdating the the fill on a table cell will implicitly update this field\nto `RENDERED`, unless another value is specified in the same request. To\nhave no fill on a table cell, set this field to `NOT_RENDERED`. In this\ncase, any other fill fields set in the same request will be ignored.", |
"enum": [ |
@@ -748,25 +1064,10 @@ |
"If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state." |
], |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "UpdateSlidesPositionRequest": { |
- "description": "Updates the position of slides in the presentation.", |
- "id": "UpdateSlidesPositionRequest", |
- "properties": { |
- "insertionIndex": { |
- "description": "The index where the slides should be inserted, based on the slide\narrangement before the move takes place. Must be between zero and the\nnumber of slides in the presentation, inclusive.", |
- "format": "int32", |
- "type": "integer" |
}, |
- "slideObjectIds": { |
- "description": "The IDs of the slides in the presentation that should be moved.\nThe slides in this list must be in existing presentation order, without\nduplicates.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "solidFill": { |
+ "$ref": "SolidFill", |
+ "description": "Solid color fill." |
} |
}, |
"type": "object" |
@@ -809,15 +1110,6 @@ |
"description": "The placeholder information that uniquely identifies a placeholder shape.", |
"id": "Placeholder", |
"properties": { |
- "parentObjectId": { |
- "description": "The object ID of this shape's parent placeholder.\nIf unset, the parent placeholder shape does not exist, so the shape does\nnot inherit properties from any other shape.", |
- "type": "string" |
- }, |
- "index": { |
- "description": "The index of the placeholder. If the same placeholder types are present in\nthe same page, they would have different index values.", |
- "format": "int32", |
- "type": "integer" |
- }, |
"type": { |
"description": "The type of the placeholder.", |
"enum": [ |
@@ -859,6 +1151,15 @@ |
"Slide image." |
], |
"type": "string" |
+ }, |
+ "parentObjectId": { |
+ "description": "The object ID of this shape's parent placeholder.\nIf unset, the parent placeholder shape does not exist, so the shape does\nnot inherit properties from any other shape.", |
+ "type": "string" |
+ }, |
+ "index": { |
+ "description": "The index of the placeholder. If the same placeholder types are present in\nthe same page, they would have different index values.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -867,16 +1168,16 @@ |
"description": "Duplicates a slide or page element.\n\nWhen duplicating a slide, the duplicate slide will be created immediately\nfollowing the specified slide. When duplicating a page element, the duplicate\nwill be placed on the same page at the same position as the original.", |
"id": "DuplicateObjectRequest", |
"properties": { |
+ "objectId": { |
+ "description": "The ID of the object to duplicate.", |
+ "type": "string" |
+ }, |
"objectIds": { |
"additionalProperties": { |
"type": "string" |
}, |
"description": "The object being duplicated may contain other objects, for example when\nduplicating a slide or a group page element. This map defines how the IDs\nof duplicated objects are generated: the keys are the IDs of the original\nobjects and its values are the IDs that will be assigned to the\ncorresponding duplicate object. The ID of the source object's duplicate\nmay be specified in this map as well, using the same value of the\n`object_id` field as a key and the newly desired ID as the value.\n\nAll keys must correspond to existing IDs in the presentation. All values\nmust be unique in the presentation and must start with an alphanumeric\ncharacter or an underscore (matches regex `[a-zA-Z0-9_]`); remaining\ncharacters may include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or\ngreater than 50.\n\nIf any IDs of source objects are omitted from the map, a new random ID will\nbe assigned. If the map is empty or unset, all duplicate objects will\nreceive a new random ID.", |
"type": "object" |
- }, |
- "objectId": { |
- "description": "The ID of the object to duplicate.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -889,6 +1190,13 @@ |
"description": "The text that will replace the matched text.", |
"type": "string" |
}, |
+ "pageObjectIds": { |
+ "description": "If non-empty, limits the matches to page elements only on the given pages.\n\nReturns a 400 bad request error if given the page object ID of a\nnotes master,\nor if a page with that object ID doesn't exist in the presentation.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
"containsText": { |
"$ref": "SubstringMatchCriteria", |
"description": "Finds text in a shape matching this substring." |
@@ -900,6 +1208,14 @@ |
"description": "A page in a presentation.", |
"id": "Page", |
"properties": { |
+ "pageProperties": { |
+ "$ref": "PageProperties", |
+ "description": "The properties of the page." |
+ }, |
+ "slideProperties": { |
+ "$ref": "SlideProperties", |
+ "description": "Slide specific properties. Only set if page_type = SLIDE." |
+ }, |
"objectId": { |
"description": "The object ID for this page. Object IDs used by\nPage and\nPageElement share the same namespace.", |
"type": "string" |
@@ -912,17 +1228,6 @@ |
"$ref": "LayoutProperties", |
"description": "Layout specific properties. Only set if page_type = LAYOUT." |
}, |
- "notesProperties": { |
- "$ref": "NotesProperties", |
- "description": "Notes specific properties. Only set if page_type = NOTES." |
- }, |
- "pageElements": { |
- "description": "The page elements rendered on the page.", |
- "items": { |
- "$ref": "PageElement" |
- }, |
- "type": "array" |
- }, |
"pageType": { |
"description": "The type of the page.", |
"enum": [ |
@@ -941,13 +1246,16 @@ |
], |
"type": "string" |
}, |
- "pageProperties": { |
- "$ref": "PageProperties", |
- "description": "The properties of the page." |
+ "pageElements": { |
+ "description": "The page elements rendered on the page.", |
+ "items": { |
+ "$ref": "PageElement" |
+ }, |
+ "type": "array" |
}, |
- "slideProperties": { |
- "$ref": "SlideProperties", |
- "description": "Slide specific properties. Only set if page_type = SLIDE." |
+ "notesProperties": { |
+ "$ref": "NotesProperties", |
+ "description": "Notes specific properties. Only set if page_type = NOTES." |
} |
}, |
"type": "object" |
@@ -956,10 +1264,6 @@ |
"description": "The shape background fill.", |
"id": "ShapeBackgroundFill", |
"properties": { |
- "solidFill": { |
- "$ref": "SolidFill", |
- "description": "Solid color fill." |
- }, |
"propertyState": { |
"description": "The background fill property state.\n\nUpdating the the fill on a shape will implicitly update this field to\n`RENDERED`, unless another value is specified in the same request. To\nhave no fill on a shape, set this field to `NOT_RENDERED`. In this case,\nany other fill fields set in the same request will be ignored.", |
"enum": [ |
@@ -973,6 +1277,10 @@ |
"If a property's state is INHERIT, then the property state uses the value of\ncorresponding `property_state` field on the parent shape. Elements that do\nnot inherit will never have an INHERIT property state." |
], |
"type": "string" |
+ }, |
+ "solidFill": { |
+ "$ref": "SolidFill", |
+ "description": "Solid color fill." |
} |
}, |
"type": "object" |
@@ -981,16 +1289,6 @@ |
"description": "The crop properties of an object enclosed in a container. For example, an\nImage.\n\nThe crop properties is represented by the offsets of four edges which define\na crop rectangle. The offsets are measured in percentage from the\ncorresponding edges of the object's original bounding rectangle towards\ninside, relative to the object's original dimensions.\n\n- If the offset is in the interval (0, 1), the corresponding edge of crop\nrectangle is positioned inside of the object's original bounding rectangle.\n- If the offset is negative or greater than 1, the corresponding edge of crop\nrectangle is positioned outside of the object's original bounding rectangle.\n- If the left edge of the crop rectangle is on the right side of its right\nedge, the object will be flipped horizontally.\n- If the top edge of the crop rectangle is below its bottom edge, the object\nwill be flipped vertically.\n- If all offsets and rotation angle is 0, the object is not cropped.\n\nAfter cropping, the content in the crop rectangle will be stretched to fit\nits container.", |
"id": "CropProperties", |
"properties": { |
- "topOffset": { |
- "description": "The offset specifies the top edge of the crop rectangle that is located\nbelow the original bounding rectangle top edge, relative to the object's\noriginal height.", |
- "format": "float", |
- "type": "number" |
- }, |
- "leftOffset": { |
- "description": "The offset specifies the left edge of the crop rectangle that is located to\nthe right of the original bounding rectangle left edge, relative to the\nobject's original width.", |
- "format": "float", |
- "type": "number" |
- }, |
"rightOffset": { |
"description": "The offset specifies the right edge of the crop rectangle that is located\nto the left of the original bounding rectangle right edge, relative to the\nobject's original width.", |
"format": "float", |
@@ -1005,6 +1303,16 @@ |
"description": "The rotation angle of the crop window around its center, in radians.\nRotation angle is applied after the offset.", |
"format": "float", |
"type": "number" |
+ }, |
+ "topOffset": { |
+ "description": "The offset specifies the top edge of the crop rectangle that is located\nbelow the original bounding rectangle top edge, relative to the object's\noriginal height.", |
+ "format": "float", |
+ "type": "number" |
+ }, |
+ "leftOffset": { |
+ "description": "The offset specifies the left edge of the crop rectangle that is located to\nthe right of the original bounding rectangle left edge, relative to the\nobject's original width.", |
+ "format": "float", |
+ "type": "number" |
} |
}, |
"type": "object" |
@@ -1013,6 +1321,22 @@ |
"description": "Replaces all shapes that match the given criteria with the provided Google\nSheets chart. The chart will be scaled and centered to fit within the bounds\nof the original shape.\n\nNOTE: Replacing shapes with a chart requires at least one of the\nspreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.", |
"id": "ReplaceAllShapesWithSheetsChartRequest", |
"properties": { |
+ "containsText": { |
+ "$ref": "SubstringMatchCriteria", |
+ "description": "The criteria that the shapes must match in order to be replaced. The\nrequest will replace all of the shapes that contain the given text." |
+ }, |
+ "chartId": { |
+ "description": "The ID of the specific chart in the Google Sheets spreadsheet.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "pageObjectIds": { |
+ "description": "If non-empty, limits the matches to page elements only on the given pages.\n\nReturns a 400 bad request error if given the page object ID of a\nnotes page or a\nnotes master, or if a\npage with that object ID doesn't exist in the presentation.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
"spreadsheetId": { |
"description": "The ID of the Google Sheets spreadsheet that contains the chart.", |
"type": "string" |
@@ -1028,15 +1352,6 @@ |
"Linking the chart allows it to be updated, and other collaborators will\nsee a link to the spreadsheet." |
], |
"type": "string" |
- }, |
- "containsText": { |
- "$ref": "SubstringMatchCriteria", |
- "description": "The criteria that the shapes must match in order to be replaced. The\nrequest will replace all of the shapes that contain the given text." |
- }, |
- "chartId": { |
- "description": "The ID of the specific chart in the Google Sheets spreadsheet.", |
- "format": "int32", |
- "type": "integer" |
} |
}, |
"type": "object" |
@@ -1045,10 +1360,6 @@ |
"description": "A color and position in a gradient band.", |
"id": "ColorStop", |
"properties": { |
- "color": { |
- "$ref": "OpaqueColor", |
- "description": "The color of the gradient stop." |
- }, |
"alpha": { |
"description": "The alpha value of this color in the gradient band. Defaults to 1.0,\nfully opaque.", |
"format": "float", |
@@ -1058,6 +1369,10 @@ |
"description": "The relative position of the color stop in the gradient band measured\nin percentage. The value should be in the interval [0.0, 1.0].", |
"format": "float", |
"type": "number" |
+ }, |
+ "color": { |
+ "$ref": "OpaqueColor", |
+ "description": "The color of the gradient stop." |
} |
}, |
"type": "object" |
@@ -1066,6 +1381,16 @@ |
"description": "Specifies a contiguous range of an indexed collection, such as characters in\ntext.", |
"id": "Range", |
"properties": { |
+ "startIndex": { |
+ "description": "The optional zero-based index of the beginning of the collection.\nRequired for `FIXED_RANGE` and `FROM_START_INDEX` ranges.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "endIndex": { |
+ "description": "The optional zero-based index of the end of the collection.\nRequired for `FIXED_RANGE` ranges.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
"type": { |
"description": "The type of range.", |
"enum": [ |
@@ -1081,16 +1406,6 @@ |
"Sets the range to be the whole length of the collection. Both the\n`start_index` and the `end_index` must not be\nspecified." |
], |
"type": "string" |
- }, |
- "startIndex": { |
- "description": "The optional zero-based index of the beginning of the collection.\nRequired for `FIXED_RANGE` and `FROM_START_INDEX` ranges.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "endIndex": { |
- "description": "The optional zero-based index of the end of the collection.\nRequired for `FIXED_RANGE` ranges.", |
- "format": "int32", |
- "type": "integer" |
} |
}, |
"type": "object" |
@@ -1141,10 +1456,6 @@ |
"description": "Replaces all shapes that match the given criteria with the provided image.", |
"id": "ReplaceAllShapesWithImageRequest", |
"properties": { |
- "containsText": { |
- "$ref": "SubstringMatchCriteria", |
- "description": "If set, this request will replace all of the shapes that contain the\ngiven text." |
- }, |
"imageUrl": { |
"description": "The image URL.\n\nThe image is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Images must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.", |
"type": "string" |
@@ -1160,6 +1471,17 @@ |
"Scales and centers the image to fill the bounds of the original shape.\nThe image may be cropped in order to fill the shape. The rendered size of\nthe image will be the same as that of the original shape." |
], |
"type": "string" |
+ }, |
+ "containsText": { |
+ "$ref": "SubstringMatchCriteria", |
+ "description": "If set, this request will replace all of the shapes that contain the\ngiven text." |
+ }, |
+ "pageObjectIds": { |
+ "description": "If non-empty, limits the matches to page elements only on the given pages.\n\nReturns a 400 bad request error if given the page object ID of a\nnotes page or a\nnotes master, or if a\npage with that object ID doesn't exist in the presentation.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -1199,6 +1521,10 @@ |
"$ref": "Dimension", |
"description": "The radius of the shadow blur. The larger the radius, the more diffuse the\nshadow becomes." |
}, |
+ "transform": { |
+ "$ref": "AffineTransform", |
+ "description": "Transform that encodes the translate, scale, and skew of the shadow,\nrelative to the alignment position." |
+ }, |
"type": { |
"description": "The type of the shadow.", |
"enum": [ |
@@ -1211,10 +1537,6 @@ |
], |
"type": "string" |
}, |
- "transform": { |
- "$ref": "AffineTransform", |
- "description": "Transform that encodes the translate, scale, and skew of the shadow,\nrelative to the alignment position." |
- }, |
"alignment": { |
"description": "The alignment point of the shadow, that sets the origin for translate,\nscale and skew of the shadow.", |
"enum": [ |
@@ -1265,10 +1587,6 @@ |
"description": "Describes the bullet of a paragraph.", |
"id": "Bullet", |
"properties": { |
- "listId": { |
- "description": "The ID of the list this paragraph belongs to.", |
- "type": "string" |
- }, |
"glyph": { |
"description": "The rendered bullet glyph for this paragraph.", |
"type": "string" |
@@ -1281,6 +1599,10 @@ |
"bulletStyle": { |
"$ref": "TextStyle", |
"description": "The paragraph specific text style applied to this bullet." |
+ }, |
+ "listId": { |
+ "description": "The ID of the list this paragraph belongs to.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1296,6 +1618,17 @@ |
}, |
"type": "object" |
}, |
+ "CreateLineResponse": { |
+ "description": "The result of creating a line.", |
+ "id": "CreateLineResponse", |
+ "properties": { |
+ "objectId": { |
+ "description": "The object ID of the created line.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"TableCellLocation": { |
"description": "A location of a single table cell within a table.", |
"id": "TableCellLocation", |
@@ -1313,17 +1646,6 @@ |
}, |
"type": "object" |
}, |
- "CreateLineResponse": { |
- "description": "The result of creating a line.", |
- "id": "CreateLineResponse", |
- "properties": { |
- "objectId": { |
- "description": "The object ID of the created line.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"ReplaceAllTextResponse": { |
"description": "The result of replacing text.", |
"id": "ReplaceAllTextResponse", |
@@ -1340,14 +1662,6 @@ |
"description": "Updates the styling for all of the paragraphs within a Shape or Table that\noverlap with the given text index range.", |
"id": "UpdateParagraphStyleRequest", |
"properties": { |
- "objectId": { |
- "description": "The object ID of the shape or table with the text to be styled.", |
- "type": "string" |
- }, |
- "textRange": { |
- "$ref": "Range", |
- "description": "The range of text containing the paragraph(s) to style." |
- }, |
"cellLocation": { |
"$ref": "TableCellLocation", |
"description": "The location of the cell in the table containing the paragraph(s) to\nstyle. If `object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not." |
@@ -1360,6 +1674,14 @@ |
"description": "The fields that should be updated.\n\nAt least one field must be specified. The root `style` is implied and\nshould not be specified. A single `\"*\"` can be used as short-hand for\nlisting every field.\n\nFor example, to update the paragraph alignment, set `fields` to\n`\"alignment\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", |
"format": "google-fieldmask", |
"type": "string" |
+ }, |
+ "objectId": { |
+ "description": "The object ID of the shape or table with the text to be styled.", |
+ "type": "string" |
+ }, |
+ "textRange": { |
+ "$ref": "Range", |
+ "description": "The range of text containing the paragraph(s) to style." |
} |
}, |
"type": "object" |
@@ -1710,10 +2032,6 @@ |
"description": "Inserts text into a shape or a table cell.", |
"id": "InsertTextRequest", |
"properties": { |
- "cellLocation": { |
- "$ref": "TableCellLocation", |
- "description": "The optional table cell location if the text is to be inserted into a table\ncell. If present, the object_id must refer to a table." |
- }, |
"objectId": { |
"description": "The object ID of the shape or table where the text will be inserted.", |
"type": "string" |
@@ -1726,6 +2044,10 @@ |
"description": "The index where the text will be inserted, in Unicode code units, based\non TextElement indexes.\n\nThe index is zero-based and is computed from the start of the string.\nThe index may be adjusted to prevent insertions inside Unicode grapheme\nclusters. In these cases, the text will be inserted immediately after the\ngrapheme cluster.", |
"format": "int32", |
"type": "integer" |
+ }, |
+ "cellLocation": { |
+ "$ref": "TableCellLocation", |
+ "description": "The optional table cell location if the text is to be inserted into a table\ncell. If present, the object_id must refer to a table." |
} |
}, |
"type": "object" |
@@ -1785,6 +2107,10 @@ |
"description": "A TextElement kind that represents auto text.", |
"id": "AutoText", |
"properties": { |
+ "style": { |
+ "$ref": "TextStyle", |
+ "description": "The styling applied to this auto text." |
+ }, |
"type": { |
"description": "The type of this auto text.", |
"enum": [ |
@@ -1800,10 +2126,6 @@ |
"content": { |
"description": "The rendered content of this auto text, if available.", |
"type": "string" |
- }, |
- "style": { |
- "$ref": "TextStyle", |
- "description": "The styling applied to this auto text." |
} |
}, |
"type": "object" |
@@ -1882,10 +2204,6 @@ |
"description": "A TextElement describes the content of a range of indices in the text content\nof a Shape or TableCell.", |
"id": "TextElement", |
"properties": { |
- "paragraphMarker": { |
- "$ref": "ParagraphMarker", |
- "description": "A marker representing the beginning of a new paragraph.\n\nThe `start_index` and `end_index` of this TextElement represent the\nrange of the paragraph. Other TextElements with an index range contained\ninside this paragraph's range are considered to be part of this\nparagraph. The range of indices of two separate paragraphs will never\noverlap." |
- }, |
"startIndex": { |
"description": "The zero-based start index of this text element, in Unicode code units.", |
"format": "int32", |
@@ -1903,6 +2221,10 @@ |
"autoText": { |
"$ref": "AutoText", |
"description": "A TextElement representing a spot in the text that is dynamically\nreplaced with content that can change over time." |
+ }, |
+ "paragraphMarker": { |
+ "$ref": "ParagraphMarker", |
+ "description": "A marker representing the beginning of a new paragraph.\n\nThe `start_index` and `end_index` of this TextElement represent the\nrange of the paragraph. Other TextElements with an index range contained\ninside this paragraph's range are considered to be part of this\nparagraph. The range of indices of two separate paragraphs will never\noverlap." |
} |
}, |
"type": "object" |
@@ -1959,14 +2281,6 @@ |
"description": "Inserts rows into a table.", |
"id": "InsertTableRowsRequest", |
"properties": { |
- "tableObjectId": { |
- "description": "The table to insert rows into.", |
- "type": "string" |
- }, |
- "insertBelow": { |
- "description": "Whether to insert new rows below the reference cell location.\n\n- `True`: insert below the cell.\n- `False`: insert above the cell.", |
- "type": "boolean" |
- }, |
"number": { |
"description": "The number of rows to be inserted. Maximum 20 per request.", |
"format": "int32", |
@@ -1975,6 +2289,14 @@ |
"cellLocation": { |
"$ref": "TableCellLocation", |
"description": "The reference table cell location from which rows will be inserted.\n\nA new row will be inserted above (or below) the row where the reference\ncell is. If the reference cell is a merged cell, a new row will be\ninserted above (or below) the merged cell." |
+ }, |
+ "tableObjectId": { |
+ "description": "The table to insert rows into.", |
+ "type": "string" |
+ }, |
+ "insertBelow": { |
+ "description": "Whether to insert new rows below the reference cell location.\n\n- `True`: insert below the cell.\n- `False`: insert above the cell.", |
+ "type": "boolean" |
} |
}, |
"type": "object" |
@@ -1983,69 +2305,17 @@ |
"description": "The properties of Page are only\nrelevant for pages with page_type LAYOUT.", |
"id": "LayoutProperties", |
"properties": { |
- "displayName": { |
- "description": "The human readable name of the layout in the presentation's locale.", |
- "type": "string" |
- }, |
- "masterObjectId": { |
- "description": "The object ID of the master that this layout is based on.", |
- "type": "string" |
- }, |
"name": { |
"description": "The name of the layout.", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "Presentation": { |
- "description": "A Google Slides presentation.", |
- "id": "Presentation", |
- "properties": { |
- "title": { |
- "description": "The title of the presentation.", |
- "type": "string" |
- }, |
- "layouts": { |
- "description": "The layouts in the presentation. A layout is a template that determines\nhow content is arranged and styled on the slides that inherit from that\nlayout.", |
- "items": { |
- "$ref": "Page" |
- }, |
- "type": "array" |
- }, |
- "locale": { |
- "description": "The locale of the presentation, as an IETF BCP 47 language tag.", |
- "type": "string" |
- }, |
- "masters": { |
- "description": "The slide masters in the presentation. A slide master contains all common\npage elements and the common properties for a set of layouts. They serve\nthree purposes:\n\n- Placeholder shapes on a master contain the default text styles and shape\n properties of all placeholder shapes on pages that use that master.\n- The master page properties define the common page properties inherited by\n its layouts.\n- Any other shapes on the master slide will appear on all slides using that\n master, regardless of their layout.", |
- "items": { |
- "$ref": "Page" |
- }, |
- "type": "array" |
- }, |
- "pageSize": { |
- "$ref": "Size", |
- "description": "The size of pages in the presentation." |
}, |
- "presentationId": { |
- "description": "The ID of the presentation.", |
+ "displayName": { |
+ "description": "The human readable name of the layout in the presentation's locale.", |
"type": "string" |
}, |
- "slides": { |
- "description": "The slides in the presentation.\nA slide inherits properties from a slide layout.", |
- "items": { |
- "$ref": "Page" |
- }, |
- "type": "array" |
- }, |
- "revisionId": { |
- "description": "The revision ID of the presentation. Can be used in update requests\nto assert that the presentation revision hasn't changed since the last\nread operation. Only populated if the user has edit access to the\npresentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across users. If the\nrevision ID is unchanged between calls, then the presentation has not\nchanged. Conversely, a changed ID (for the same presentation and user)\nusually means the presentation has been updated; however, a changed ID can\nalso be due to internal factors such as ID format changes.", |
+ "masterObjectId": { |
+ "description": "The object ID of the master that this layout is based on.", |
"type": "string" |
- }, |
- "notesMaster": { |
- "$ref": "Page", |
- "description": "The notes master in the presentation. It serves three purposes:\n\n- Placeholder shapes on a notes master contain the default text styles and\n shape properties of all placeholder shapes on notes pages. Specifically,\n a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a\n `BODY` placeholder shape contains the speaker notes.\n- The notes master page properties define the common page properties\n inherited by all notes pages.\n- Any other shapes on the notes master will appear on all notes pages.\n\nThe notes master is read-only." |
} |
}, |
"type": "object" |
@@ -2054,34 +2324,8 @@ |
"description": "The properties of the Line.\n\nWhen unset, these fields default to values that match the appearance of\nnew lines created in the Slides editor.", |
"id": "LineProperties", |
"properties": { |
- "dashStyle": { |
- "description": "The dash style of the line.", |
- "enum": [ |
- "DASH_STYLE_UNSPECIFIED", |
- "SOLID", |
- "DOT", |
- "DASH", |
- "DASH_DOT", |
- "LONG_DASH", |
- "LONG_DASH_DOT" |
- ], |
- "enumDescriptions": [ |
- "Unspecified dash style.", |
- "Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'.\nThis is the default dash style.", |
- "Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'.", |
- "Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'.", |
- "Alternating dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal\nvalue 'dashDot'.", |
- "Line with large dashes. Corresponds to ECMA-376 ST_PresetLineDashVal\nvalue 'lgDash'.", |
- "Alternating large dashes and dots. Corresponds to ECMA-376\nST_PresetLineDashVal value 'lgDashDot'." |
- ], |
- "type": "string" |
- }, |
- "link": { |
- "$ref": "Link", |
- "description": "The hyperlink destination of the line. If unset, there is no link." |
- }, |
- "endArrow": { |
- "description": "The style of the arrow at the end of the line.", |
+ "startArrow": { |
+ "description": "The style of the arrow at the beginning of the line.", |
"enum": [ |
"ARROW_STYLE_UNSPECIFIED", |
"NONE", |
@@ -2110,8 +2354,8 @@ |
], |
"type": "string" |
}, |
- "startArrow": { |
- "description": "The style of the arrow at the beginning of the line.", |
+ "endArrow": { |
+ "description": "The style of the arrow at the end of the line.", |
"enum": [ |
"ARROW_STYLE_UNSPECIFIED", |
"NONE", |
@@ -2147,6 +2391,84 @@ |
"lineFill": { |
"$ref": "LineFill", |
"description": "The fill of the line. The default line fill matches the defaults for new\nlines created in the Slides editor." |
+ }, |
+ "link": { |
+ "$ref": "Link", |
+ "description": "The hyperlink destination of the line. If unset, there is no link." |
+ }, |
+ "dashStyle": { |
+ "description": "The dash style of the line.", |
+ "enum": [ |
+ "DASH_STYLE_UNSPECIFIED", |
+ "SOLID", |
+ "DOT", |
+ "DASH", |
+ "DASH_DOT", |
+ "LONG_DASH", |
+ "LONG_DASH_DOT" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified dash style.", |
+ "Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'solid'.\nThis is the default dash style.", |
+ "Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dot'.", |
+ "Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value 'dash'.", |
+ "Alternating dashes and dots. Corresponds to ECMA-376 ST_PresetLineDashVal\nvalue 'dashDot'.", |
+ "Line with large dashes. Corresponds to ECMA-376 ST_PresetLineDashVal\nvalue 'lgDash'.", |
+ "Alternating large dashes and dots. Corresponds to ECMA-376\nST_PresetLineDashVal value 'lgDashDot'." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Presentation": { |
+ "description": "A Google Slides presentation.", |
+ "id": "Presentation", |
+ "properties": { |
+ "pageSize": { |
+ "$ref": "Size", |
+ "description": "The size of pages in the presentation." |
+ }, |
+ "presentationId": { |
+ "description": "The ID of the presentation.", |
+ "type": "string" |
+ }, |
+ "slides": { |
+ "description": "The slides in the presentation.\nA slide inherits properties from a slide layout.", |
+ "items": { |
+ "$ref": "Page" |
+ }, |
+ "type": "array" |
+ }, |
+ "revisionId": { |
+ "description": "The revision ID of the presentation. Can be used in update requests\nto assert that the presentation revision hasn't changed since the last\nread operation. Only populated if the user has edit access to the\npresentation.\n\nThe format of the revision ID may change over time, so it should be treated\nopaquely. A returned revision ID is only guaranteed to be valid for 24\nhours after it has been returned and cannot be shared across users. If the\nrevision ID is unchanged between calls, then the presentation has not\nchanged. Conversely, a changed ID (for the same presentation and user)\nusually means the presentation has been updated; however, a changed ID can\nalso be due to internal factors such as ID format changes.", |
+ "type": "string" |
+ }, |
+ "notesMaster": { |
+ "$ref": "Page", |
+ "description": "The notes master in the presentation. It serves three purposes:\n\n- Placeholder shapes on a notes master contain the default text styles and\n shape properties of all placeholder shapes on notes pages. Specifically,\n a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a\n `BODY` placeholder shape contains the speaker notes.\n- The notes master page properties define the common page properties\n inherited by all notes pages.\n- Any other shapes on the notes master will appear on all notes pages.\n\nThe notes master is read-only." |
+ }, |
+ "title": { |
+ "description": "The title of the presentation.", |
+ "type": "string" |
+ }, |
+ "layouts": { |
+ "description": "The layouts in the presentation. A layout is a template that determines\nhow content is arranged and styled on the slides that inherit from that\nlayout.", |
+ "items": { |
+ "$ref": "Page" |
+ }, |
+ "type": "array" |
+ }, |
+ "locale": { |
+ "description": "The locale of the presentation, as an IETF BCP 47 language tag.", |
+ "type": "string" |
+ }, |
+ "masters": { |
+ "description": "The slide masters in the presentation. A slide master contains all common\npage elements and the common properties for a set of layouts. They serve\nthree purposes:\n\n- Placeholder shapes on a master contain the default text styles and shape\n properties of all placeholder shapes on pages that use that master.\n- The master page properties define the common page properties inherited by\n its layouts.\n- Any other shapes on the master slide will appear on all slides using that\n master, regardless of their layout.", |
+ "items": { |
+ "$ref": "Page" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -2208,27 +2530,14 @@ |
"description": "The properties of the Image.", |
"id": "ImageProperties", |
"properties": { |
- "shadow": { |
- "$ref": "Shadow", |
- "description": "The shadow of the image. If not set, the image has no shadow. This property\nis read-only." |
- }, |
- "contrast": { |
- "description": "The contrast effect of the image. The value should be in the interval\n[-1.0, 1.0], where 0 means no effect. This property is read-only.", |
- "format": "float", |
- "type": "number" |
- }, |
- "link": { |
- "$ref": "Link", |
- "description": "The hyperlink destination of the image. If unset, there is no link." |
+ "recolor": { |
+ "$ref": "Recolor", |
+ "description": "The recolor effect of the image. If not set, the image is not recolored.\nThis property is read-only." |
}, |
"cropProperties": { |
"$ref": "CropProperties", |
"description": "The crop properties of the image. If not set, the image is not cropped.\nThis property is read-only." |
}, |
- "recolor": { |
- "$ref": "Recolor", |
- "description": "The recolor effect of the image. If not set, the image is not recolored.\nThis property is read-only." |
- }, |
"outline": { |
"$ref": "Outline", |
"description": "The outline of the image. If not set, the the image has no outline." |
@@ -2242,15 +2551,28 @@ |
"description": "The transparency effect of the image. The value should be in the interval\n[0.0, 1.0], where 0 means no effect and 1 means completely transparent.\nThis property is read-only.", |
"format": "float", |
"type": "number" |
- } |
- }, |
- "type": "object" |
- }, |
- "ReplaceAllShapesWithImageResponse": { |
- "description": "The result of replacing shapes with an image.", |
- "id": "ReplaceAllShapesWithImageResponse", |
- "properties": { |
- "occurrencesChanged": { |
+ }, |
+ "shadow": { |
+ "$ref": "Shadow", |
+ "description": "The shadow of the image. If not set, the image has no shadow. This property\nis read-only." |
+ }, |
+ "link": { |
+ "$ref": "Link", |
+ "description": "The hyperlink destination of the image. If unset, there is no link." |
+ }, |
+ "contrast": { |
+ "description": "The contrast effect of the image. The value should be in the interval\n[-1.0, 1.0], where 0 means no effect. This property is read-only.", |
+ "format": "float", |
+ "type": "number" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ReplaceAllShapesWithImageResponse": { |
+ "description": "The result of replacing shapes with an image.", |
+ "id": "ReplaceAllShapesWithImageResponse", |
+ "properties": { |
+ "occurrencesChanged": { |
"description": "The number of shapes replaced with images.", |
"format": "int32", |
"type": "integer" |
@@ -2262,10 +2584,6 @@ |
"description": "A PageElement kind representing a\nline, curved connector, or bent connector.", |
"id": "Line", |
"properties": { |
- "lineProperties": { |
- "$ref": "LineProperties", |
- "description": "The properties of the line." |
- }, |
"lineType": { |
"description": "The type of the line.", |
"enum": [ |
@@ -2293,6 +2611,10 @@ |
"Curved connector 5 form. Corresponds to ECMA-376 ST_ShapeType\n'curvedConnector5'." |
], |
"type": "string" |
+ }, |
+ "lineProperties": { |
+ "$ref": "LineProperties", |
+ "description": "The properties of the line." |
} |
}, |
"type": "object" |
@@ -2337,16 +2659,16 @@ |
"description": "Response message from a batch update.", |
"id": "BatchUpdatePresentationResponse", |
"properties": { |
- "presentationId": { |
- "description": "The presentation the updates were applied to.", |
- "type": "string" |
- }, |
"replies": { |
"description": "The reply of the updates. This maps 1:1 with the updates, although\nreplies to some requests may be empty.", |
"items": { |
"$ref": "Response" |
}, |
"type": "array" |
+ }, |
+ "presentationId": { |
+ "description": "The presentation the updates were applied to.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -2366,6 +2688,10 @@ |
"description": "The properties of Page that are only\nrelevant for pages with page_type SLIDE.", |
"id": "SlideProperties", |
"properties": { |
+ "notesPage": { |
+ "$ref": "Page", |
+ "description": "The notes page that this slide is associated with. It defines the visual\nappearance of a notes page when printing or exporting slides with speaker\nnotes. A notes page inherits properties from the\nnotes master.\nThe placeholder shape with type BODY on the notes page contains the speaker\nnotes for this slide. The ID of this shape is identified by the\nspeakerNotesObjectId field.\nThe notes page is read-only except for the text content and styles of the\nspeaker notes shape." |
+ }, |
"layoutObjectId": { |
"description": "The object ID of the layout that this slide is based on.", |
"type": "string" |
@@ -2373,10 +2699,6 @@ |
"masterObjectId": { |
"description": "The object ID of the master that this slide is based on.", |
"type": "string" |
- }, |
- "notesPage": { |
- "$ref": "Page", |
- "description": "The notes page that this slide is associated with. It defines the visual\nappearance of a notes page when printing or exporting slides with speaker\nnotes. A notes page inherits properties from the\nnotes master.\nThe placeholder shape with type BODY on the notes page contains the speaker\nnotes for this slide. The ID of this shape is identified by the\nspeakerNotesObjectId field.\nThe notes page is read-only except for the text content and styles of the\nspeaker notes shape." |
} |
}, |
"type": "object" |
@@ -2385,6 +2707,18 @@ |
"description": "A single response from an update.", |
"id": "Response", |
"properties": { |
+ "createSlide": { |
+ "$ref": "CreateSlideResponse", |
+ "description": "The result of creating a slide." |
+ }, |
+ "duplicateObject": { |
+ "$ref": "DuplicateObjectResponse", |
+ "description": "The result of duplicating an object." |
+ }, |
+ "createShape": { |
+ "$ref": "CreateShapeResponse", |
+ "description": "The result of creating a shape." |
+ }, |
"createLine": { |
"$ref": "CreateLineResponse", |
"description": "The result of creating a line." |
@@ -2416,18 +2750,6 @@ |
"replaceAllText": { |
"$ref": "ReplaceAllTextResponse", |
"description": "The result of replacing text." |
- }, |
- "createSlide": { |
- "$ref": "CreateSlideResponse", |
- "description": "The result of creating a slide." |
- }, |
- "duplicateObject": { |
- "$ref": "DuplicateObjectResponse", |
- "description": "The result of duplicating an object." |
- }, |
- "createShape": { |
- "$ref": "CreateShapeResponse", |
- "description": "The result of creating a shape." |
} |
}, |
"type": "object" |
@@ -2451,10 +2773,6 @@ |
"description": "Slide layout reference. This may reference either:\n\n- A predefined layout\n- One of the layouts in the presentation.", |
"id": "LayoutReference", |
"properties": { |
- "layoutId": { |
- "description": "Layout ID: the object ID of one of the layouts in the presentation.", |
- "type": "string" |
- }, |
"predefinedLayout": { |
"description": "Predefined layout.", |
"enum": [ |
@@ -2486,6 +2804,10 @@ |
"Layout with a big number heading." |
], |
"type": "string" |
+ }, |
+ "layoutId": { |
+ "description": "Layout ID: the object ID of one of the layouts in the presentation.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -2566,11 +2888,6 @@ |
"description": "A PageElement kind representing a\ntable.", |
"id": "Table", |
"properties": { |
- "rows": { |
- "description": "Number of rows in the table.", |
- "format": "int32", |
- "type": "integer" |
- }, |
"tableColumns": { |
"description": "Properties of each column.", |
"items": { |
@@ -2589,6 +2906,11 @@ |
"$ref": "TableRow" |
}, |
"type": "array" |
+ }, |
+ "rows": { |
+ "description": "Number of rows in the table.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -2626,11 +2948,6 @@ |
"description": "A PageElement kind representing\na linked chart embedded from Google Sheets.", |
"id": "SheetsChart", |
"properties": { |
- "chartId": { |
- "description": "The ID of the specific chart in the Google Sheets spreadsheet that is\nembedded.", |
- "format": "int32", |
- "type": "integer" |
- }, |
"sheetsChartProperties": { |
"$ref": "SheetsChartProperties", |
"description": "The properties of the Sheets chart." |
@@ -2642,6 +2959,11 @@ |
"spreadsheetId": { |
"description": "The ID of the Google Sheets spreadsheet that contains the source chart.", |
"type": "string" |
+ }, |
+ "chartId": { |
+ "description": "The ID of the specific chart in the Google Sheets spreadsheet that is\nembedded.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -2771,10 +3093,33 @@ |
}, |
"type": "object" |
}, |
+ "DeleteTableColumnRequest": { |
+ "description": "Deletes a column from a table.", |
+ "id": "DeleteTableColumnRequest", |
+ "properties": { |
+ "cellLocation": { |
+ "$ref": "TableCellLocation", |
+ "description": "The reference table cell location from which a column will be deleted.\n\nThe column this cell spans will be deleted. If this is a merged cell,\nmultiple columns will be deleted. If no columns remain in the table after\nthis deletion, the whole table is deleted." |
+ }, |
+ "tableObjectId": { |
+ "description": "The table to delete columns from.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"UpdateTextStyleRequest": { |
"description": "Update the styling of text in a Shape or\nTable.", |
"id": "UpdateTextStyleRequest", |
"properties": { |
+ "cellLocation": { |
+ "$ref": "TableCellLocation", |
+ "description": "The location of the cell in the table containing the text to style. If\n`object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not." |
+ }, |
+ "style": { |
+ "$ref": "TextStyle", |
+ "description": "The style(s) to set on the text.\n\nIf the value for a particular style matches that of the parent, that style\nwill be set to inherit.\n\nCertain text style changes may cause other changes meant to mirror the\nbehavior of the Slides editor. See the documentation of\nTextStyle for more information." |
+ }, |
"fields": { |
"description": "The fields that should be updated.\n\nAt least one field must be specified. The root `style` is implied and\nshould not be specified. A single `\"*\"` can be used as short-hand for\nlisting every field.\n\nFor example, to update the text style to bold, set `fields` to `\"bold\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", |
"format": "google-fieldmask", |
@@ -2787,29 +3132,6 @@ |
"textRange": { |
"$ref": "Range", |
"description": "The range of text to style.\n\nThe range may be extended to include adjacent newlines.\n\nIf the range fully contains a paragraph belonging to a list, the\nparagraph's bullet is also updated with the matching text style." |
- }, |
- "cellLocation": { |
- "$ref": "TableCellLocation", |
- "description": "The location of the cell in the table containing the text to style. If\n`object_id` refers to a table, `cell_location` must have a value.\nOtherwise, it must not." |
- }, |
- "style": { |
- "$ref": "TextStyle", |
- "description": "The style(s) to set on the text.\n\nIf the value for a particular style matches that of the parent, that style\nwill be set to inherit.\n\nCertain text style changes may cause other changes meant to mirror the\nbehavior of the Slides editor. See the documentation of\nTextStyle for more information." |
- } |
- }, |
- "type": "object" |
- }, |
- "DeleteTableColumnRequest": { |
- "description": "Deletes a column from a table.", |
- "id": "DeleteTableColumnRequest", |
- "properties": { |
- "cellLocation": { |
- "$ref": "TableCellLocation", |
- "description": "The reference table cell location from which a column will be deleted.\n\nThe column this cell spans will be deleted. If this is a merged cell,\nmultiple columns will be deleted. If no columns remain in the table after\nthis deletion, the whole table is deleted." |
- }, |
- "tableObjectId": { |
- "description": "The table to delete columns from.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -2818,16 +3140,16 @@ |
"description": "A List describes the look and feel of bullets belonging to paragraphs\nassociated with a list. A paragraph that is part of a list has an implicit\nreference to that list's ID.", |
"id": "List", |
"properties": { |
- "listId": { |
- "description": "The ID of the list.", |
- "type": "string" |
- }, |
"nestingLevel": { |
"additionalProperties": { |
"$ref": "NestingLevel" |
}, |
"description": "A map of nesting levels to the properties of bullets at the associated\nlevel. A list has at most nine levels of nesting, so the possible values\nfor the keys of this map are 0 through 8, inclusive.", |
"type": "object" |
+ }, |
+ "listId": { |
+ "description": "The ID of the list.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -2852,14 +3174,6 @@ |
"description": "A visual element rendered on a page.", |
"id": "PageElement", |
"properties": { |
- "elementGroup": { |
- "$ref": "Group", |
- "description": "A collection of page elements joined as a single unit." |
- }, |
- "image": { |
- "$ref": "Image", |
- "description": "An image page element." |
- }, |
"size": { |
"$ref": "Size", |
"description": "The size of the page element." |
@@ -2884,14 +3198,14 @@ |
"$ref": "Table", |
"description": "A table page element." |
}, |
- "transform": { |
- "$ref": "AffineTransform", |
- "description": "The transform of the page element." |
- }, |
"objectId": { |
"description": "The object ID for this page element. Object IDs used by\ngoogle.apps.slides.v1.Page and\ngoogle.apps.slides.v1.PageElement share the same namespace.", |
"type": "string" |
}, |
+ "transform": { |
+ "$ref": "AffineTransform", |
+ "description": "The transform of the page element." |
+ }, |
"shape": { |
"$ref": "Shape", |
"description": "A generic shape." |
@@ -2903,6 +3217,14 @@ |
"description": { |
"description": "The description of the page element. Combined with title to display alt\ntext.", |
"type": "string" |
+ }, |
+ "elementGroup": { |
+ "$ref": "Group", |
+ "description": "A collection of page elements joined as a single unit." |
+ }, |
+ "image": { |
+ "$ref": "Image", |
+ "description": "An image page element." |
} |
}, |
"type": "object" |
@@ -2911,10 +3233,6 @@ |
"description": "Creates an image.", |
"id": "CreateImageRequest", |
"properties": { |
- "objectId": { |
- "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", |
- "type": "string" |
- }, |
"elementProperties": { |
"$ref": "PageElementProperties", |
"description": "The element properties for the image.\n\nWhen the aspect ratio of the provided size does not match the image aspect\nratio, the image is scaled and centered with respect to the size in order\nto maintain aspect ratio. The provided transform is applied after this\noperation." |
@@ -2922,6 +3240,10 @@ |
"url": { |
"description": "The image URL.\n\nThe image is fetched once at insertion time and a copy is stored for\ndisplay inside the presentation. Images must be less than 50MB in size,\ncannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF\nformat.", |
"type": "string" |
+ }, |
+ "objectId": { |
+ "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -3002,22 +3324,6 @@ |
"description": "Represents the styling that can be applied to a TextRun.\n\nIf this text is contained in a shape with a parent placeholder, then these text styles may be\ninherited from the parent. Which text styles are inherited depend on the\nnesting level of lists:\n\n* A text run in a paragraph that is not in a list will inherit its text style\n from the the newline character in the paragraph at the 0 nesting level of\n the list inside the parent placeholder.\n* A text run in a paragraph that is in a list will inherit its text style\n from the newline character in the paragraph at its corresponding nesting\n level of the list inside the parent placeholder.\n\nInherited text styles are represented as unset fields in this message. If\ntext is contained in a shape without a parent placeholder, unsetting these\nfields will revert the style to a value matching the defaults in the Slides\neditor.", |
"id": "TextStyle", |
"properties": { |
- "smallCaps": { |
- "description": "Whether or not the text is in small capital letters.", |
- "type": "boolean" |
- }, |
- "backgroundColor": { |
- "$ref": "OptionalColor", |
- "description": "The background color of the text. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set." |
- }, |
- "link": { |
- "$ref": "Link", |
- "description": "The hyperlink destination of the text. If unset, there is no link. Links\nare not inherited from parent text.\n\nChanging the link in an update request causes some other changes to the\ntext style of the range:\n\n* When setting a link, the text foreground color will be set to\n ThemeColorType.HYPERLINK and the text will\n be underlined. If these fields are modified in the same\n request, those values will be used instead of the link defaults.\n* Setting a link on a text range that overlaps with an existing link will\n also update the existing link to point to the new URL.\n* Links are not settable on newline characters. As a result, setting a link\n on a text range that crosses a paragraph boundary, such as `\"ABC\\n123\"`,\n will separate the newline character(s) into their own text runs. The\n link will be applied separately to the runs before and after the newline.\n* Removing a link will update the text style of the range to match the\n style of the preceding text (or the default text styles if the preceding\n text is another link) unless different styles are being set in the same\n request." |
- }, |
- "underline": { |
- "description": "Whether or not the text is underlined.", |
- "type": "boolean" |
- }, |
"foregroundColor": { |
"$ref": "OptionalColor", |
"description": "The color of the text itself. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set." |
@@ -3030,14 +3336,14 @@ |
"description": "The font family of the text.\n\nThe font family can be any font from the Font menu in Slides or from\n[Google Fonts] (https://fonts.google.com/). If the font name is\nunrecognized, the text is rendered in `Arial`.\n\nSome fonts can affect the weight of the text. If an update request\nspecifies values for both `font_family` and `bold`, the explicitly-set\n`bold` value is used.", |
"type": "string" |
}, |
- "italic": { |
- "description": "Whether or not the text is italicized.", |
- "type": "boolean" |
- }, |
"strikethrough": { |
"description": "Whether or not the text is struck through.", |
"type": "boolean" |
}, |
+ "italic": { |
+ "description": "Whether or not the text is italicized.", |
+ "type": "boolean" |
+ }, |
"fontSize": { |
"$ref": "Dimension", |
"description": "The size of the text's font. When read, the `font_size` will specified in\npoints." |
@@ -3061,6 +3367,22 @@ |
"weightedFontFamily": { |
"$ref": "WeightedFontFamily", |
"description": "The font family and rendered weight of the text.\n\nThis field is an extension of `font_family` meant to support explicit font\nweights without breaking backwards compatibility. As such, when reading the\nstyle of a range of text, the value of `weighted_font_family#font_family`\nwill always be equal to that of `font_family`. However, when writing, if\nboth fields are included in the field mask (either explicitly or through\nthe wildcard `\"*\"`), their values are reconciled as follows:\n\n* If `font_family` is set and `weighted_font_family` is not, the value of\n `font_family` is applied with weight `400` (\"normal\").\n* If both fields are set, the value of `font_family` must match that of\n `weighted_font_family#font_family`. If so, the font family and weight of\n `weighted_font_family` is applied. Otherwise, a 400 bad request error is\n returned.\n* If `weighted_font_family` is set and `font_family` is not, the font\n family and weight of `weighted_font_family` is applied.\n* If neither field is set, the font family and weight of the text inherit\n from the parent. Note that these properties cannot inherit separately\n from each other.\n\nIf an update request specifies values for both `weighted_font_family` and\n`bold`, the `weighted_font_family` is applied first, then `bold`.\n\nIf `weighted_font_family#weight` is not set, it defaults to `400`.\n\nIf `weighted_font_family` is set, then `weighted_font_family#font_family`\nmust also be set with a non-empty value. Otherwise, a 400 bad request error\nis returned." |
+ }, |
+ "smallCaps": { |
+ "description": "Whether or not the text is in small capital letters.", |
+ "type": "boolean" |
+ }, |
+ "backgroundColor": { |
+ "$ref": "OptionalColor", |
+ "description": "The background color of the text. If set, the color is either opaque or\ntransparent, depending on if the `opaque_color` field in it is set." |
+ }, |
+ "underline": { |
+ "description": "Whether or not the text is underlined.", |
+ "type": "boolean" |
+ }, |
+ "link": { |
+ "$ref": "Link", |
+ "description": "The hyperlink destination of the text. If unset, there is no link. Links\nare not inherited from parent text.\n\nChanging the link in an update request causes some other changes to the\ntext style of the range:\n\n* When setting a link, the text foreground color will be set to\n ThemeColorType.HYPERLINK and the text will\n be underlined. If these fields are modified in the same\n request, those values will be used instead of the link defaults.\n* Setting a link on a text range that overlaps with an existing link will\n also update the existing link to point to the new URL.\n* Links are not settable on newline characters. As a result, setting a link\n on a text range that crosses a paragraph boundary, such as `\"ABC\\n123\"`,\n will separate the newline character(s) into their own text runs. The\n link will be applied separately to the runs before and after the newline.\n* Removing a link will update the text style of the range to match the\n style of the preceding text (or the default text styles if the preceding\n text is another link) unless different styles are being set in the same\n request." |
} |
}, |
"type": "object" |
@@ -3097,14 +3419,14 @@ |
"$ref": "UpdatePagePropertiesRequest", |
"description": "Updates the properties of a Page." |
}, |
- "createShape": { |
- "$ref": "CreateShapeRequest", |
- "description": "Creates a new shape." |
- }, |
"deleteParagraphBullets": { |
"$ref": "DeleteParagraphBulletsRequest", |
"description": "Deletes bullets from paragraphs." |
}, |
+ "createShape": { |
+ "$ref": "CreateShapeRequest", |
+ "description": "Creates a new shape." |
+ }, |
"insertTableColumns": { |
"$ref": "InsertTableColumnsRequest", |
"description": "Inserts columns into a table." |
@@ -3113,14 +3435,14 @@ |
"$ref": "RefreshSheetsChartRequest", |
"description": "Refreshes a Google Sheets chart." |
}, |
- "updateTableCellProperties": { |
- "$ref": "UpdateTableCellPropertiesRequest", |
- "description": "Updates the properties of a TableCell." |
- }, |
"createTable": { |
"$ref": "CreateTableRequest", |
"description": "Creates a new table." |
}, |
+ "updateTableCellProperties": { |
+ "$ref": "UpdateTableCellPropertiesRequest", |
+ "description": "Updates the properties of a TableCell." |
+ }, |
"deleteObject": { |
"$ref": "DeleteObjectRequest", |
"description": "Deletes a page or page element from the presentation." |
@@ -3220,6 +3542,11 @@ |
"description": "Update the properties of an Image.", |
"id": "UpdateImagePropertiesRequest", |
"properties": { |
+ "fields": { |
+ "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `imageProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the image outline color, set `fields` to\n`\"outline.outlineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", |
+ "format": "google-fieldmask", |
+ "type": "string" |
+ }, |
"imageProperties": { |
"$ref": "ImageProperties", |
"description": "The image properties to update." |
@@ -3227,11 +3554,6 @@ |
"objectId": { |
"description": "The object ID of the image the updates are applied to.", |
"type": "string" |
- }, |
- "fields": { |
- "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `imageProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the image outline color, set `fields` to\n`\"outline.outlineFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", |
- "format": "google-fieldmask", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -3240,33 +3562,6 @@ |
"description": "Styles that apply to a whole paragraph.\n\nIf this text is contained in a shape with a parent placeholder, then these paragraph styles may be\ninherited from the parent. Which paragraph styles are inherited depend on the\nnesting level of lists:\n\n* A paragraph not in a list will inherit its paragraph style from the\n paragraph at the 0 nesting level of the list inside the parent placeholder.\n* A paragraph in a list will inherit its paragraph style from the paragraph\n at its corresponding nesting level of the list inside the parent\n placeholder.\n\nInherited paragraph styles are represented as unset fields in this message.", |
"id": "ParagraphStyle", |
"properties": { |
- "alignment": { |
- "description": "The text alignment for this paragraph.", |
- "enum": [ |
- "ALIGNMENT_UNSPECIFIED", |
- "START", |
- "CENTER", |
- "END", |
- "JUSTIFIED" |
- ], |
- "enumDescriptions": [ |
- "The paragraph alignment is inherited from the parent.", |
- "The paragraph is aligned to the start of the line. Left-aligned for\nLTR text, right-aligned otherwise.", |
- "The paragraph is centered.", |
- "The paragraph is aligned to the end of the line. Right-aligned for\nLTR text, left-aligned otherwise.", |
- "The paragraph is justified." |
- ], |
- "type": "string" |
- }, |
- "lineSpacing": { |
- "description": "The amount of space between lines, as a percentage of normal, where normal\nis represented as 100.0. If unset, the value is inherited from the parent.", |
- "format": "float", |
- "type": "number" |
- }, |
- "indentFirstLine": { |
- "$ref": "Dimension", |
- "description": "The amount of indentation for the start of the first line of the paragraph.\nIf unset, the value is inherited from the parent." |
- }, |
"spaceBelow": { |
"$ref": "Dimension", |
"description": "The amount of extra space above the paragraph. If unset, the value is\ninherited from the parent." |
@@ -3310,6 +3605,33 @@ |
"spaceAbove": { |
"$ref": "Dimension", |
"description": "The amount of extra space above the paragraph. If unset, the value is\ninherited from the parent." |
+ }, |
+ "alignment": { |
+ "description": "The text alignment for this paragraph.", |
+ "enum": [ |
+ "ALIGNMENT_UNSPECIFIED", |
+ "START", |
+ "CENTER", |
+ "END", |
+ "JUSTIFIED" |
+ ], |
+ "enumDescriptions": [ |
+ "The paragraph alignment is inherited from the parent.", |
+ "The paragraph is aligned to the start of the line. Left-aligned for\nLTR text, right-aligned otherwise.", |
+ "The paragraph is centered.", |
+ "The paragraph is aligned to the end of the line. Right-aligned for\nLTR text, left-aligned otherwise.", |
+ "The paragraph is justified." |
+ ], |
+ "type": "string" |
+ }, |
+ "lineSpacing": { |
+ "description": "The amount of space between lines, as a percentage of normal, where normal\nis represented as 100.0. If unset, the value is inherited from the parent.", |
+ "format": "float", |
+ "type": "number" |
+ }, |
+ "indentFirstLine": { |
+ "$ref": "Dimension", |
+ "description": "The amount of indentation for the start of the first line of the paragraph.\nIf unset, the value is inherited from the parent." |
} |
}, |
"type": "object" |
@@ -3490,6 +3812,13 @@ |
"description": "Creates a new slide.", |
"id": "CreateSlideRequest", |
"properties": { |
+ "placeholderIdMappings": { |
+ "description": "An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s)\nthat will be created on the new slide from that specified layout. Can only\nbe used when `slide_layout_reference` is specified.", |
+ "items": { |
+ "$ref": "LayoutPlaceholderIdMapping" |
+ }, |
+ "type": "array" |
+ }, |
"slideLayoutReference": { |
"$ref": "LayoutReference", |
"description": "Layout reference of the slide to be inserted, based on the *current\nmaster*, which is one of the following:\n\n- The master of the previous slide index.\n- The master of the first slide, if the insertion_index is zero.\n- The first master in the presentation, if there are no slides.\n\nIf the LayoutReference is not found in the current master, a 400 bad\nrequest error is returned.\n\nIf you don't specify a layout reference, then the new slide will use the\npredefined layout `BLANK`." |
@@ -3502,13 +3831,6 @@ |
"description": "The optional zero-based index indicating where to insert the slides.\n\nIf you don't specify an index, the new slide is created at the end.", |
"format": "int32", |
"type": "integer" |
- }, |
- "placeholderIdMappings": { |
- "description": "An optional list of object ID mappings from the placeholder(s) on the layout to the placeholder(s)\nthat will be created on the new slide from that specified layout. Can only\nbe used when `slide_layout_reference` is specified.", |
- "items": { |
- "$ref": "LayoutPlaceholderIdMapping" |
- }, |
- "type": "array" |
} |
}, |
"type": "object" |
@@ -3535,19 +3857,19 @@ |
"description": "The general text content. The text must reside in a compatible shape (e.g.\ntext box or rectangle) or a table cell in a page.", |
"id": "TextContent", |
"properties": { |
- "lists": { |
- "additionalProperties": { |
- "$ref": "List" |
- }, |
- "description": "The bulleted lists contained in this text, keyed by list ID.", |
- "type": "object" |
- }, |
"textElements": { |
"description": "The text contents broken down into its component parts, including styling\ninformation. This property is read-only.", |
"items": { |
"$ref": "TextElement" |
}, |
"type": "array" |
+ }, |
+ "lists": { |
+ "additionalProperties": { |
+ "$ref": "List" |
+ }, |
+ "description": "The bulleted lists contained in this text, keyed by list ID.", |
+ "type": "object" |
} |
}, |
"type": "object" |
@@ -3573,307 +3895,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "DeleteParagraphBulletsRequest": { |
- "description": "Deletes bullets from all of the paragraphs that overlap with the given text\nindex range.\n\nThe nesting level of each paragraph will be visually preserved by adding\nindent to the start of the corresponding paragraph.", |
- "id": "DeleteParagraphBulletsRequest", |
- "properties": { |
- "cellLocation": { |
- "$ref": "TableCellLocation", |
- "description": "The optional table cell location if the text to be modified is in a table\ncell. If present, the object_id must refer to a table." |
- }, |
- "objectId": { |
- "description": "The object ID of the shape or table containing the text to delete bullets\nfrom.", |
- "type": "string" |
- }, |
- "textRange": { |
- "$ref": "Range", |
- "description": "The range of text to delete bullets from, based on TextElement indexes." |
- } |
- }, |
- "type": "object" |
- }, |
- "ParagraphMarker": { |
- "description": "A TextElement kind that represents the beginning of a new paragraph.", |
- "id": "ParagraphMarker", |
- "properties": { |
- "bullet": { |
- "$ref": "Bullet", |
- "description": "The bullet for this paragraph. If not present, the paragraph does not\nbelong to a list." |
- }, |
- "style": { |
- "$ref": "ParagraphStyle", |
- "description": "The paragraph's style" |
- } |
- }, |
- "type": "object" |
- }, |
- "InsertTableColumnsRequest": { |
- "description": "Inserts columns into a table.\n\nOther columns in the table will be resized to fit the new column.", |
- "id": "InsertTableColumnsRequest", |
- "properties": { |
- "insertRight": { |
- "description": "Whether to insert new columns to the right of the reference cell location.\n\n- `True`: insert to the right.\n- `False`: insert to the left.", |
- "type": "boolean" |
- }, |
- "tableObjectId": { |
- "description": "The table to insert columns into.", |
- "type": "string" |
- }, |
- "number": { |
- "description": "The number of columns to be inserted. Maximum 20 per request.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "cellLocation": { |
- "$ref": "TableCellLocation", |
- "description": "The reference table cell location from which columns will be inserted.\n\nA new column will be inserted to the left (or right) of the column where\nthe reference cell is. If the reference cell is a merged cell, a new\ncolumn will be inserted to the left (or right) of the merged cell." |
- } |
- }, |
- "type": "object" |
- }, |
- "Thumbnail": { |
- "description": "The thumbnail of a page.", |
- "id": "Thumbnail", |
- "properties": { |
- "height": { |
- "description": "The positive height in pixels of the thumbnail image.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "contentUrl": { |
- "description": "The content URL of the thumbnail image.\n\nThe URL to the image has a default lifetime of 30 minutes.\nThis URL is tagged with the account of the requester. Anyone with the URL\neffectively accesses the image as the original requester. Access to the\nimage may be lost if the presentation's sharing settings change.\nThe mime type of the thumbnail image is the same as specified in the\n`GetPageThumbnailRequest`.", |
- "type": "string" |
- }, |
- "width": { |
- "description": "The positive width in pixels of the thumbnail image.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
- "LayoutPlaceholderIdMapping": { |
- "description": "The user-specified ID mapping for a placeholder that will be created on a\nslide from a specified layout.", |
- "id": "LayoutPlaceholderIdMapping", |
- "properties": { |
- "layoutPlaceholder": { |
- "$ref": "Placeholder", |
- "description": "The placeholder on a layout that will be applied to a slide. Only type and index are needed. For example, a\npredefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder\nwith index 0 and a BODY placeholder with index 0." |
- }, |
- "layoutPlaceholderObjectId": { |
- "description": "The object ID of the placeholder on a layout that will be applied\nto a slide.", |
- "type": "string" |
- }, |
- "objectId": { |
- "description": "A user-supplied object ID for the placeholder identified above that to be\ncreated onto a slide.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "UpdateShapePropertiesRequest": { |
- "description": "Update the properties of a Shape.", |
- "id": "UpdateShapePropertiesRequest", |
- "properties": { |
- "objectId": { |
- "description": "The object ID of the shape the updates are applied to.", |
- "type": "string" |
- }, |
- "shapeProperties": { |
- "$ref": "ShapeProperties", |
- "description": "The shape properties to update." |
- }, |
- "fields": { |
- "description": "The fields that should be updated.\n\nAt least one field must be specified. The root `shapeProperties` is\nimplied and should not be specified. A single `\"*\"` can be used as\nshort-hand for listing every field.\n\nFor example to update the shape background solid fill color, set `fields`\nto `\"shapeBackgroundFill.solidFill.color\"`.\n\nTo reset a property to its default value, include its field name in the\nfield mask but leave the field itself unset.", |
- "format": "google-fieldmask", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "WordArt": { |
- "description": "A PageElement kind representing\nword art.", |
- "id": "WordArt", |
- "properties": { |
- "renderedText": { |
- "description": "The text rendered as word art.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "Recolor": { |
- "description": "A recolor effect applied on an image.", |
- "id": "Recolor", |
- "properties": { |
- "recolorStops": { |
- "description": "The recolor effect is represented by a gradient, which is a list of color\nstops.\n\nThe colors in the gradient will replace the corresponding colors at\nthe same position in the color palette and apply to the image. This\nproperty is read-only.", |
- "items": { |
- "$ref": "ColorStop" |
- }, |
- "type": "array" |
- }, |
- "name": { |
- "description": "The name of the recolor effect.\n\nThe name is determined from the `recolor_stops` by matching the gradient\nagainst the colors in the page's current color scheme. This property is\nread-only.", |
- "enum": [ |
- "NONE", |
- "LIGHT1", |
- "LIGHT2", |
- "LIGHT3", |
- "LIGHT4", |
- "LIGHT5", |
- "LIGHT6", |
- "LIGHT7", |
- "LIGHT8", |
- "LIGHT9", |
- "LIGHT10", |
- "DARK1", |
- "DARK2", |
- "DARK3", |
- "DARK4", |
- "DARK5", |
- "DARK6", |
- "DARK7", |
- "DARK8", |
- "DARK9", |
- "DARK10", |
- "GRAYSCALE", |
- "NEGATIVE", |
- "SEPIA", |
- "CUSTOM" |
- ], |
- "enumDescriptions": [ |
- "No recolor effect. The default value.", |
- "A recolor effect that lightens the image using the page's first available\ncolor from its color scheme.", |
- "A recolor effect that lightens the image using the page's second\navailable color from its color scheme.", |
- "A recolor effect that lightens the image using the page's third available\ncolor from its color scheme.", |
- "A recolor effect that lightens the image using the page's forth available\ncolor from its color scheme.", |
- "A recolor effect that lightens the image using the page's fifth available\ncolor from its color scheme.", |
- "A recolor effect that lightens the image using the page's sixth available\ncolor from its color scheme.", |
- "A recolor effect that lightens the image using the page's seventh\navailable color from its color scheme.e.", |
- "A recolor effect that lightens the image using the page's eighth\navailable color from its color scheme.", |
- "A recolor effect that lightens the image using the page's ninth available\ncolor from its color scheme.", |
- "A recolor effect that lightens the image using the page's tenth available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's first available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's second available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's third available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's fourth available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's fifth available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's sixth available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's seventh\navailable color from its color scheme.", |
- "A recolor effect that darkens the image using the page's eighth available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's ninth available\ncolor from its color scheme.", |
- "A recolor effect that darkens the image using the page's tenth available\ncolor from its color scheme.", |
- "A recolor effect that recolors the image to grayscale.", |
- "A recolor effect that recolors the image to negative grayscale.", |
- "A recolor effect that recolors the image using the sepia color.", |
- "Custom recolor effect. Refer to `recolor_stops` for the concrete\ngradient." |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "Link": { |
- "description": "A hypertext link.", |
- "id": "Link", |
- "properties": { |
- "pageObjectId": { |
- "description": "If set, indicates this is a link to the specific page in this\npresentation with this ID. A page with this ID may not exist.", |
- "type": "string" |
- }, |
- "url": { |
- "description": "If set, indicates this is a link to the external web page at this URL.", |
- "type": "string" |
- }, |
- "relativeLink": { |
- "description": "If set, indicates this is a link to a slide in this presentation,\naddressed by its position.", |
- "enum": [ |
- "RELATIVE_SLIDE_LINK_UNSPECIFIED", |
- "NEXT_SLIDE", |
- "PREVIOUS_SLIDE", |
- "FIRST_SLIDE", |
- "LAST_SLIDE" |
- ], |
- "enumDescriptions": [ |
- "An unspecified relative slide link.", |
- "A link to the next slide.", |
- "A link to the previous slide.", |
- "A link to the first slide in the presentation.", |
- "A link to the last slide in the presentation." |
- ], |
- "type": "string" |
- }, |
- "slideIndex": { |
- "description": "If set, indicates this is a link to the slide at this zero-based index\nin the presentation. There may not be a slide at this index.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
- "CreateShapeResponse": { |
- "description": "The result of creating a shape.", |
- "id": "CreateShapeResponse", |
- "properties": { |
- "objectId": { |
- "description": "The object ID of the created shape.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "RgbColor": { |
- "description": "An RGB color.", |
- "id": "RgbColor", |
- "properties": { |
- "green": { |
- "description": "The green component of the color, from 0.0 to 1.0.", |
- "format": "float", |
- "type": "number" |
- }, |
- "blue": { |
- "description": "The blue component of the color, from 0.0 to 1.0.", |
- "format": "float", |
- "type": "number" |
- }, |
- "red": { |
- "description": "The red component of the color, from 0.0 to 1.0.", |
- "format": "float", |
- "type": "number" |
- } |
- }, |
- "type": "object" |
- }, |
- "CreateLineRequest": { |
- "description": "Creates a line.", |
- "id": "CreateLineRequest", |
- "properties": { |
- "elementProperties": { |
- "$ref": "PageElementProperties", |
- "description": "The element properties for the line." |
- }, |
- "lineCategory": { |
- "description": "The category of line to be created.", |
- "enum": [ |
- "STRAIGHT", |
- "BENT", |
- "CURVED" |
- ], |
- "enumDescriptions": [ |
- "Straight connectors, including straight connector 1. The is the default\ncategory when one is not specified.", |
- "Bent connectors, including bent connector 2 to 5.", |
- "Curved connectors, including curved connector 2 to 5." |
- ], |
- "type": "string" |
- }, |
- "objectId": { |
- "description": "A user-supplied object ID.\n\nIf you specify an ID, it must be unique among all pages and page elements\nin the presentation. The ID must start with an alphanumeric character or an\nunderscore (matches regex `[a-zA-Z0-9_]`); remaining characters\nmay include those as well as a hyphen or colon (matches regex\n`[a-zA-Z0-9_-:]`).\nThe length of the ID must not be less than 5 or greater than 50.\n\nIf you don't specify an ID, a unique one is generated.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |