Skip to content

Commit e4ae19d

Browse files
feat(slides): update the API
#### slides:v1 The following keys were added: - schemas.SubstringMatchCriteria.properties.searchByRegex.description - schemas.SubstringMatchCriteria.properties.searchByRegex.type The following keys were changed: - documentationLink - resources.presentations.resources.pages.methods.getThumbnail.description - schemas.Shape.description
1 parent b88652e commit e4ae19d

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

‎discovery/slides-v1.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"canonicalName": "Slides",
3333
"description": "Reads and writes Google Slides presentations.",
3434
"discoveryVersion": "v1",
35-
"documentationLink": "https://developers.google.com/slides/",
35+
"documentationLink": "https://developers.google.com/workspace/slides/",
3636
"fullyEncodeReservedExpansion": true,
3737
"icons": {
3838
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -246,7 +246,7 @@
246246
]
247247
},
248248
"getThumbnail": {
249-
"description": "Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](/slides/limits) for quota purposes.",
249+
"description": "Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](https://developers.google.com/workspace/slides/limits) for quota purposes.",
250250
"flatPath": "v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail",
251251
"httpMethod": "GET",
252252
"id": "slides.presentations.pages.getThumbnail",
@@ -313,7 +313,7 @@
313313
}
314314
}
315315
},
316-
"revision": "20250218",
316+
"revision": "20250401",
317317
"rootUrl": "https://slides.googleapis.com/",
318318
"schemas": {
319319
"AffineTransform": {
@@ -3039,7 +3039,7 @@
30393039
"type": "object"
30403040
},
30413041
"Shape": {
3042-
"description": "A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/slides/api/guides/transform).",
3042+
"description": "A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/workspace/slides/api/guides/transform).",
30433043
"id": "Shape",
30443044
"properties": {
30453045
"placeholder": {
@@ -3559,6 +3559,10 @@
35593559
"description": "Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.",
35603560
"type": "boolean"
35613561
},
3562+
"searchByRegex": {
3563+
"description": "Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.",
3564+
"type": "boolean"
3565+
},
35623566
"text": {
35633567
"description": "The text to search for in the shape or table.",
35643568
"type": "string"

‎src/apis/slides/v1.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ export namespace slides_v1 {
17341734
type?: string | null;
17351735
}
17361736
/**
1737-
* A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/slides/api/guides/transform).
1737+
* A PageElement kind representing a generic shape that doesn't have a more specific classification. For more information, see [Size and position page elements](https://developers.google.com/workspace/slides/api/guides/transform).
17381738
*/
17391739
export interface Schema$Shape {
17401740
/**
@@ -1916,6 +1916,10 @@ export namespace slides_v1 {
19161916
* Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.
19171917
*/
19181918
matchCase?: boolean | null;
1919+
/**
1920+
* Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.
1921+
*/
1922+
searchByRegex?: boolean | null;
19191923
/**
19201924
* The text to search for in the shape or table.
19211925
*/
@@ -3061,7 +3065,7 @@ export namespace slides_v1 {
30613065
}
30623066

30633067
/**
3064-
* Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](/slides/limits) for quota purposes.
3068+
* Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an [expensive read request](https://developers.google.com/workspace/slides/limits) for quota purposes.
30653069
*
30663070
* @param params - Parameters for request
30673071
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)