Skip to content

Commit

Permalink
feat(games)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### games:v1
The following keys were deleted:
- 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 bcoe committed Nov 17, 2020
1 parent b213fcb commit 53dde6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
11 changes: 4 additions & 7 deletions discovery/games-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@
}
}
},
"revision": "20201015",
"revision": "20201112",
"rootUrl": "https://games.googleapis.com/",
"schemas": {
"AchievementDefinition": {
Expand Down Expand Up @@ -3062,24 +3062,21 @@
"type": "string"
},
"height": {
"description": "Output only. The height of the image in pixels.",
"description": "The height of the image in pixels.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"mimeType": {
"description": "Output only. The MIME type of the image.",
"readOnly": true,
"description": "The MIME type of the image.",
"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": "Output only. The width of the image in pixels.",
"description": "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;
/**
* Output only. The height of the image in pixels.
* The height of the image in pixels.
*/
height?: number | null;
/**
* Output only. The MIME type of the image.
* 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;
/**
* Output only. The width of the image in pixels.
* The width of the image in pixels.
*/
width?: number | null;
}
Expand Down

0 comments on commit 53dde6a

Please sign in to comment.