Skip to content

Commit

Permalink
fix(slides): update the API
Browse files Browse the repository at this point in the history
#### slides:v1

The following keys were changed:
- auth.oauth2.scopes.https://www.googleapis.com/auth/presentations.description
- auth.oauth2.scopes.https://www.googleapis.com/auth/presentations.readonly.description
- auth.oauth2.scopes.https://www.googleapis.com/auth/spreadsheets.description
- auth.oauth2.scopes.https://www.googleapis.com/auth/spreadsheets.readonly.description
- schemas.CreateSheetsChartRequest.properties.spreadsheetId.description
- schemas.CreateVideoRequest.properties.id.description
- schemas.DeleteObjectRequest.properties.objectId.description
- schemas.GroupObjectsRequest.properties.childrenObjectIds.description
- schemas.Shape.properties.placeholder.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 8, 2021
1 parent fdbffee commit 77594fa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions discovery/slides-v1.json
Expand Up @@ -12,16 +12,16 @@
"description": "See and download all your Google Drive files"
},
"https://www.googleapis.com/auth/presentations": {
"description": "View and manage your Google Slides presentations"
"description": "See, edit, create, and delete all your Google Slides presentations"
},
"https://www.googleapis.com/auth/presentations.readonly": {
"description": "View your Google Slides presentations"
"description": "See all your Google Slides presentations"
},
"https://www.googleapis.com/auth/spreadsheets": {
"description": "See, edit, create, and delete your spreadsheets in Google Drive"
"description": "See, edit, create, and delete all your Google Sheets spreadsheets"
},
"https://www.googleapis.com/auth/spreadsheets.readonly": {
"description": "View your Google Spreadsheets"
"description": "See all your Google Sheets spreadsheets"
}
}
}
Expand Down Expand Up @@ -313,7 +313,7 @@
}
}
},
"revision": "20210622",
"revision": "20210629",
"rootUrl": "https://slides.googleapis.com/",
"schemas": {
"AffineTransform": {
Expand Down Expand Up @@ -1019,7 +1019,7 @@
"type": "string"
},
"spreadsheetId": {
"description": "The ID of the Google Sheets spreadsheet that contains the chart.",
"description": "The ID of the Google Sheets spreadsheet that contains the chart. You might need to add a resource key to the HTTP header for a subset of old files. For more information, see [Access link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).",
"type": "string"
}
},
Expand Down Expand Up @@ -1119,7 +1119,7 @@
"description": "The element properties for the video. The PageElementProperties.size property is optional. If you don't specify a size, a default size is chosen by the server. The PageElementProperties.transform property is optional. The transform must not have shear components. If you don't specify a transform, the video will be placed at the top left corner of the page."
},
"id": {
"description": "The video source's unique identifier for this video. e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, the ID is 7U3axjORYZ0. For a Google Drive video https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q.",
"description": "The video source's unique identifier for this video. e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, the ID is 7U3axjORYZ0. For a Google Drive video https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q. To access a Google Drive video file, you might need to add a resource key to the HTTP header for a subset of old files. For more information, see [Access link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).",
"type": "string"
},
"objectId": {
Expand Down Expand Up @@ -1191,7 +1191,7 @@
"id": "DeleteObjectRequest",
"properties": {
"objectId": {
"description": "The object ID of the page or page element to delete. If after a delete operation a group contains only 1 or no page elements, the group is also deleted. If a placeholder is deleted on a layout, any empty inheriting shapes are also deleted.",
"description": "The object ID of the page or page element to delete. If after a delete operation a group contains only 1 or no page elements, the group is also deleted. If a placeholder is deleted on a layout, any empty inheriting placeholders are also deleted.",
"type": "string"
}
},
Expand Down Expand Up @@ -1339,7 +1339,7 @@
"id": "GroupObjectsRequest",
"properties": {
"childrenObjectIds": {
"description": "The object IDs of the objects to group. Only page elements can be grouped. There should be at least two page elements on the same page that are not already in another group. Some page elements, such as videos, tables and placeholder shapes cannot be grouped.",
"description": "The object IDs of the objects to group. Only page elements can be grouped. There should be at least two page elements on the same page that are not already in another group. Some page elements, such as videos, tables and placeholders cannot be grouped.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -3030,7 +3030,7 @@
"properties": {
"placeholder": {
"$ref": "Placeholder",
"description": "Placeholders are shapes that are inherit from corresponding placeholders on layouts and masters. If set, the shape is a placeholder shape and any inherited properties can be resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field."
"description": "Placeholders are page elements that inherit from corresponding placeholders on layouts and masters. If set, the shape is a placeholder shape and any inherited properties can be resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field."
},
"shapeProperties": {
"$ref": "ShapeProperties",
Expand Down
10 changes: 5 additions & 5 deletions src/apis/slides/v1.ts
Expand Up @@ -393,7 +393,7 @@ export namespace slides_v1 {
*/
objectId?: string | null;
/**
* The ID of the Google Sheets spreadsheet that contains the chart.
* The ID of the Google Sheets spreadsheet that contains the chart. You might need to add a resource key to the HTTP header for a subset of old files. For more information, see [Access link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).
*/
spreadsheetId?: string | null;
}
Expand Down Expand Up @@ -475,7 +475,7 @@ export namespace slides_v1 {
*/
elementProperties?: Schema$PageElementProperties;
/**
* The video source's unique identifier for this video. e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, the ID is 7U3axjORYZ0. For a Google Drive video https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q.
* The video source's unique identifier for this video. e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, the ID is 7U3axjORYZ0. For a Google Drive video https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q. To access a Google Drive video file, you might need to add a resource key to the HTTP header for a subset of old files. For more information, see [Access link-shared files using resource keys](https://developers.google.com/drive/api/v3/resource-keys).
*/
id?: string | null;
/**
Expand Down Expand Up @@ -526,7 +526,7 @@ export namespace slides_v1 {
*/
export interface Schema$DeleteObjectRequest {
/**
* The object ID of the page or page element to delete. If after a delete operation a group contains only 1 or no page elements, the group is also deleted. If a placeholder is deleted on a layout, any empty inheriting shapes are also deleted.
* The object ID of the page or page element to delete. If after a delete operation a group contains only 1 or no page elements, the group is also deleted. If a placeholder is deleted on a layout, any empty inheriting placeholders are also deleted.
*/
objectId?: string | null;
}
Expand Down Expand Up @@ -639,7 +639,7 @@ export namespace slides_v1 {
*/
export interface Schema$GroupObjectsRequest {
/**
* The object IDs of the objects to group. Only page elements can be grouped. There should be at least two page elements on the same page that are not already in another group. Some page elements, such as videos, tables and placeholder shapes cannot be grouped.
* The object IDs of the objects to group. Only page elements can be grouped. There should be at least two page elements on the same page that are not already in another group. Some page elements, such as videos, tables and placeholders cannot be grouped.
*/
childrenObjectIds?: string[] | null;
/**
Expand Down Expand Up @@ -1727,7 +1727,7 @@ export namespace slides_v1 {
*/
export interface Schema$Shape {
/**
* Placeholders are shapes that are inherit from corresponding placeholders on layouts and masters. If set, the shape is a placeholder shape and any inherited properties can be resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
* Placeholders are page elements that inherit from corresponding placeholders on layouts and masters. If set, the shape is a placeholder shape and any inherited properties can be resolved by looking at the parent placeholder identified by the Placeholder.parent_object_id field.
*/
placeholder?: Schema$Placeholder;
/**
Expand Down

0 comments on commit 77594fa

Please sign in to comment.