Skip to content

Commit

Permalink
fix(drive): update the API
Browse files Browse the repository at this point in the history
#### drive:v2
The following keys were changed:
- schemas.File.properties.thumbnailLink.description
- schemas.Revision.properties.publishedLink.description

#### drive:v3
The following keys were changed:
- schemas.File.properties.thumbnailLink.description
- schemas.Revision.properties.publishedLink.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 20, 2020
1 parent ef6f866 commit a79448d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions discovery/drive-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/GB_1RM82OKxTSfzeb_5bvCbmQ40\"",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/6fuP5JDS7CDwzVsd3cAc59pg_GE\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
Expand Down Expand Up @@ -3521,7 +3521,7 @@
}
}
},
"revision": "20200922",
"revision": "20201012",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -5192,7 +5192,7 @@
"type": "object"
},
"thumbnailLink": {
"description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.",
"description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content. If the file isn't shared publicly, the URL returned in Files.thumbnailLink must be fetched using a credentialed request.",
"type": "string"
},
"thumbnailVersion": {
Expand Down Expand Up @@ -5716,7 +5716,7 @@
"type": "boolean"
},
"publishedLink": {
"description": "A link to the published revision.",
"description": "A link to the published revision. This is only populated for Google Sites files.",
"type": "string"
},
"publishedOutsideDomain": {
Expand Down
8 changes: 4 additions & 4 deletions discovery/drive-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/lYzeVghRp2AhwBoE0RMEl0_BZkA\"",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/_4ojy4QxfvTPR9kgosczqy5b6UE\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
Expand Down Expand Up @@ -2185,7 +2185,7 @@
}
}
},
"revision": "20200922",
"revision": "20201012",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -3272,7 +3272,7 @@
"type": "string"
},
"thumbnailLink": {
"description": "A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.",
"description": "A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content. If the file isn't shared publicly, the URL returned in Files.thumbnailLink must be fetched using a credentialed request.",
"type": "string"
},
"thumbnailVersion": {
Expand Down Expand Up @@ -3666,7 +3666,7 @@
"type": "boolean"
},
"publishedLink": {
"description": "A link to the published revision.",
"description": "A link to the published revision. This is only populated for Google Sites files.",
"type": "string"
},
"publishedOutsideDomain": {
Expand Down
4 changes: 2 additions & 2 deletions src/apis/drive/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ export namespace drive_v2 {
*/
thumbnail?: {image?: string; mimeType?: string} | null;
/**
* A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.
* A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content. If the file isn't shared publicly, the URL returned in Files.thumbnailLink must be fetched using a credentialed request.
*/
thumbnailLink?: string | null;
/**
Expand Down Expand Up @@ -1551,7 +1551,7 @@ export namespace drive_v2 {
*/
published?: boolean | null;
/**
* A link to the published revision.
* A link to the published revision. This is only populated for Google Sites files.
*/
publishedLink?: string | null;
/**
Expand Down
4 changes: 2 additions & 2 deletions src/apis/drive/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ export namespace drive_v3 {
*/
teamDriveId?: string | null;
/**
* A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.
* A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content. If the file isn't shared publicly, the URL returned in Files.thumbnailLink must be fetched using a credentialed request.
*/
thumbnailLink?: string | null;
/**
Expand Down Expand Up @@ -1034,7 +1034,7 @@ export namespace drive_v3 {
*/
published?: boolean | null;
/**
* A link to the published revision.
* A link to the published revision. This is only populated for Google Sites files.
*/
publishedLink?: string | null;
/**
Expand Down

0 comments on commit a79448d

Please sign in to comment.