Skip to content

Commit

Permalink
feat(games): update the API
Browse files Browse the repository at this point in the history
#### games:v1
The following keys were added:
- schemas.SnapshotCoverImageResource.properties.height.readOnly
- schemas.SnapshotCoverImageResource.properties.mimeType.readOnly
- schemas.SnapshotCoverImageResource.properties.width.readOnly

The following keys were changed:
- schemas.SnapshotCoverImageResource.properties.height.description
- schemas.SnapshotCoverImageResource.properties.mimeType.description
- schemas.SnapshotCoverImageResource.properties.width.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent 6340d03 commit 3f60e6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions discovery/games-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3062,21 +3062,24 @@
"type": "string"
},
"height": {
"description": "The height of the image in pixels.",
"description": "Output only. The height of the image in pixels.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"mimeType": {
"description": "The MIME type of the image.",
"description": "Output only. The MIME type of the image.",
"readOnly": true,
"type": "string"
},
"resourceId": {
"description": "The ID of the image resource. It's guaranteed that if two IDs are equal then the contents are equal as well. It's not guaranteed that two identical blobs coming from separate uploads have the same ID. The resource ID can only be used within the application, user and resource type it was originally returned for. For example, it's not possible to use SnapshotDataResource's resource ID as the resource_id of a SnapshotCoverImageResource, even if the blob is a valid image file.",
"type": "string"
},
"width": {
"description": "The width of the image in pixels.",
"description": "Output only. The width of the image in pixels.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
Expand Down
6 changes: 3 additions & 3 deletions src/apis/games/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1495,19 +1495,19 @@ export namespace games_v1 {
*/
downloadUrl?: string | null;
/**
* The height of the image in pixels.
* Output only. The height of the image in pixels.
*/
height?: number | null;
/**
* The MIME type of the image.
* Output only. The MIME type of the image.
*/
mimeType?: string | null;
/**
* The ID of the image resource. It's guaranteed that if two IDs are equal then the contents are equal as well. It's not guaranteed that two identical blobs coming from separate uploads have the same ID. The resource ID can only be used within the application, user and resource type it was originally returned for. For example, it's not possible to use SnapshotDataResource's resource ID as the resource_id of a SnapshotCoverImageResource, even if the blob is a valid image file.
*/
resourceId?: string | null;
/**
* The width of the image in pixels.
* Output only. The width of the image in pixels.
*/
width?: number | null;
}
Expand Down

0 comments on commit 3f60e6b

Please sign in to comment.