Skip to content

Commit

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

The following keys were added:
- schemas.PageElement.properties.speakerSpotlight.$ref
- schemas.PageElement.properties.speakerSpotlight.description
- schemas.SpeakerSpotlight.description
- schemas.SpeakerSpotlight.id
- schemas.SpeakerSpotlight.properties.speakerSpotlightProperties.$ref
- schemas.SpeakerSpotlight.properties.speakerSpotlightProperties.description
- schemas.SpeakerSpotlight.type
- schemas.SpeakerSpotlightProperties.description
- schemas.SpeakerSpotlightProperties.id
- schemas.SpeakerSpotlightProperties.properties.outline.$ref
- schemas.SpeakerSpotlightProperties.properties.outline.description
- schemas.SpeakerSpotlightProperties.properties.shadow.$ref
- schemas.SpeakerSpotlightProperties.properties.shadow.description
- schemas.SpeakerSpotlightProperties.type
  • Loading branch information
yoshi-automation authored and sofisl committed Mar 14, 2024
1 parent b9c0c7c commit 2f1749c
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
32 changes: 31 additions & 1 deletion discovery/slides-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
}
}
},
"revision": "20230705",
"revision": "20240305",
"rootUrl": "https://slides.googleapis.com/",
"schemas": {
"AffineTransform": {
Expand Down Expand Up @@ -2130,6 +2130,10 @@
"$ref": "Size",
"description": "The size of the page element."
},
"speakerSpotlight": {
"$ref": "SpeakerSpotlight",
"description": "A Speaker Spotlight."
},
"table": {
"$ref": "Table",
"description": "A table page element."
Expand Down Expand Up @@ -3506,6 +3510,32 @@
},
"type": "object"
},
"SpeakerSpotlight": {
"description": "A PageElement kind representing a Speaker Spotlight.",
"id": "SpeakerSpotlight",
"properties": {
"speakerSpotlightProperties": {
"$ref": "SpeakerSpotlightProperties",
"description": "The properties of the Speaker Spotlight."
}
},
"type": "object"
},
"SpeakerSpotlightProperties": {
"description": "The properties of the SpeakerSpotlight.",
"id": "SpeakerSpotlightProperties",
"properties": {
"outline": {
"$ref": "Outline",
"description": "The outline of the Speaker Spotlight. If not set, it has no outline."
},
"shadow": {
"$ref": "Shadow",
"description": "The shadow of the Speaker Spotlight. If not set, it has no shadow."
}
},
"type": "object"
},
"StretchedPictureFill": {
"description": "The stretched picture fill. The page or page element is filled entirely with the specified picture. The picture is stretched to fit its container.",
"id": "StretchedPictureFill",
Expand Down
26 changes: 26 additions & 0 deletions src/apis/slides/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,10 @@ export namespace slides_v1 {
* The size of the page element.
*/
size?: Schema$Size;
/**
* A Speaker Spotlight.
*/
speakerSpotlight?: Schema$SpeakerSpotlight;
/**
* A table page element.
*/
Expand Down Expand Up @@ -1869,6 +1873,28 @@ export namespace slides_v1 {
*/
color?: Schema$OpaqueColor;
}
/**
* A PageElement kind representing a Speaker Spotlight.
*/
export interface Schema$SpeakerSpotlight {
/**
* The properties of the Speaker Spotlight.
*/
speakerSpotlightProperties?: Schema$SpeakerSpotlightProperties;
}
/**
* The properties of the SpeakerSpotlight.
*/
export interface Schema$SpeakerSpotlightProperties {
/**
* The outline of the Speaker Spotlight. If not set, it has no outline.
*/
outline?: Schema$Outline;
/**
* The shadow of the Speaker Spotlight. If not set, it has no shadow.
*/
shadow?: Schema$Shadow;
}
/**
* The stretched picture fill. The page or page element is filled entirely with the specified picture. The picture is stretched to fit its container.
*/
Expand Down

0 comments on commit 2f1749c

Please sign in to comment.