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.Request.properties.updateSlideProperties.$ref
- schemas.Request.properties.updateSlideProperties.description
- schemas.UpdateSlidePropertiesRequest.description
- schemas.UpdateSlidePropertiesRequest.id
- schemas.UpdateSlidePropertiesRequest.properties.fields.description
- schemas.UpdateSlidePropertiesRequest.properties.fields.format
- schemas.UpdateSlidePropertiesRequest.properties.fields.type
- schemas.UpdateSlidePropertiesRequest.properties.objectId.description
- schemas.UpdateSlidePropertiesRequest.properties.objectId.type
- schemas.UpdateSlidePropertiesRequest.properties.slideProperties.$ref
- schemas.UpdateSlidePropertiesRequest.properties.slideProperties.description
- schemas.UpdateSlidePropertiesRequest.type
  • Loading branch information
yoshi-automation authored and bcoe committed Jul 23, 2021
1 parent ac9bfdc commit e942819
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
26 changes: 25 additions & 1 deletion discovery/slides-v1.json
Expand Up @@ -313,7 +313,7 @@
}
}
},
"revision": "20210629",
"revision": "20210715",
"rootUrl": "https://slides.googleapis.com/",
"schemas": {
"AffineTransform": {
Expand Down Expand Up @@ -2823,6 +2823,10 @@
"$ref": "UpdateShapePropertiesRequest",
"description": "Updates the properties of a Shape."
},
"updateSlideProperties": {
"$ref": "UpdateSlidePropertiesRequest",
"description": "Updates the properties of a Slide"
},
"updateSlidesPosition": {
"$ref": "UpdateSlidesPositionRequest",
"description": "Updates the position of a set of slides in the presentation."
Expand Down Expand Up @@ -4263,6 +4267,26 @@
},
"type": "object"
},
"UpdateSlidePropertiesRequest": {
"description": "Updates the properties of a Slide.",
"id": "UpdateSlidePropertiesRequest",
"properties": {
"fields": {
"description": "The fields that should be updated. At least one field must be specified. The root 'slideProperties' is implied and should not be specified. A single `\"*\"` can be used as short-hand for listing every field. For example to update whether a slide is skipped, set `fields` to `\"isSkipped\"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.",
"format": "google-fieldmask",
"type": "string"
},
"objectId": {
"description": "The object ID of the slide the update is applied to.",
"type": "string"
},
"slideProperties": {
"$ref": "SlideProperties",
"description": "The slide properties to update."
}
},
"type": "object"
},
"UpdateSlidesPositionRequest": {
"description": "Updates the position of slides in the presentation.",
"id": "UpdateSlidesPositionRequest",
Expand Down
21 changes: 21 additions & 0 deletions src/apis/slides/v1.ts
Expand Up @@ -1577,6 +1577,10 @@ export namespace slides_v1 {
* Updates the properties of a Shape.
*/
updateShapeProperties?: Schema$UpdateShapePropertiesRequest;
/**
* Updates the properties of a Slide
*/
updateSlideProperties?: Schema$UpdateSlidePropertiesRequest;
/**
* Updates the position of a set of slides in the presentation.
*/
Expand Down Expand Up @@ -2390,6 +2394,23 @@ export namespace slides_v1 {
*/
shapeProperties?: Schema$ShapeProperties;
}
/**
* Updates the properties of a Slide.
*/
export interface Schema$UpdateSlidePropertiesRequest {
/**
* The fields that should be updated. At least one field must be specified. The root 'slideProperties' is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example to update whether a slide is skipped, set `fields` to `"isSkipped"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.
*/
fields?: string | null;
/**
* The object ID of the slide the update is applied to.
*/
objectId?: string | null;
/**
* The slide properties to update.
*/
slideProperties?: Schema$SlideProperties;
}
/**
* Updates the position of slides in the presentation.
*/
Expand Down

0 comments on commit e942819

Please sign in to comment.