diff --git a/discovery/drive-v2.json b/discovery/drive-v2.json index 719c35c04e..adff6426c8 100644 --- a/discovery/drive-v2.json +++ b/discovery/drive-v2.json @@ -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/k81JIsvIDw2LTJ3j42QtbITrIiM\"", + "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/Y8vbFl0i1r1N0KsawuiIYIt6icM\"", "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" @@ -3442,7 +3442,7 @@ } } }, - "revision": "20200706", + "revision": "20200719", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -4311,7 +4311,7 @@ "id": "ContentRestriction", "properties": { "readOnly": { - "description": "Whether the content of the file is read-only.", + "description": "Whether the content of the file is read-only. If a file is read-only, a new revision of the file may not be added, comments may not be added or modified, and the title of the file may not be modified.", "type": "boolean" }, "reason": { diff --git a/discovery/drive-v3.json b/discovery/drive-v3.json index 403dbc32b4..c47981af7d 100644 --- a/discovery/drive-v3.json +++ b/discovery/drive-v3.json @@ -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/9EfNrGrWjA9UfyKATju_Xd_tlwU\"", + "etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/5xWpo5tIrmAJSGI9aUUKlxei4EI\"", "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" @@ -2126,7 +2126,7 @@ } } }, - "revision": "20200706", + "revision": "20200719", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -2503,7 +2503,7 @@ "id": "ContentRestriction", "properties": { "readOnly": { - "description": "Whether the content of the file is read-only.", + "description": "Whether the content of the file is read-only. If a file is read-only, a new revision of the file may not be added, comments may not be added or modified, and the title of the file may not be modified.", "type": "boolean" }, "reason": { @@ -3602,6 +3602,10 @@ "description": "Whether this revision is published. This is only applicable to Google Docs.", "type": "boolean" }, + "publishedLink": { + "description": "A link to the published revision.", + "type": "string" + }, "publishedOutsideDomain": { "description": "Whether this revision is published outside the domain. This is only applicable to Google Docs.", "type": "boolean" diff --git a/src/apis/drive/v2.ts b/src/apis/drive/v2.ts index 909d49e7e2..7f1a99eed6 100644 --- a/src/apis/drive/v2.ts +++ b/src/apis/drive/v2.ts @@ -744,7 +744,7 @@ export namespace drive_v2 { */ export interface Schema$ContentRestriction { /** - * Whether the content of the file is read-only. + * Whether the content of the file is read-only. If a file is read-only, a new revision of the file may not be added, comments may not be added or modified, and the title of the file may not be modified. */ readOnly?: boolean | null; /** diff --git a/src/apis/drive/v3.ts b/src/apis/drive/v3.ts index 340d1e222f..cc9305761d 100644 --- a/src/apis/drive/v3.ts +++ b/src/apis/drive/v3.ts @@ -389,7 +389,7 @@ export namespace drive_v3 { */ export interface Schema$ContentRestriction { /** - * Whether the content of the file is read-only. + * Whether the content of the file is read-only. If a file is read-only, a new revision of the file may not be added, comments may not be added or modified, and the title of the file may not be modified. */ readOnly?: boolean | null; /** @@ -1029,6 +1029,10 @@ export namespace drive_v3 { * Whether this revision is published. This is only applicable to Google Docs. */ published?: boolean | null; + /** + * A link to the published revision. + */ + publishedLink?: string | null; /** * Whether this revision is published outside the domain. This is only applicable to Google Docs. */ @@ -8305,6 +8309,7 @@ export namespace drive_v3 { * // "originalFilename": "my_originalFilename", * // "publishAuto": false, * // "published": false, + * // "publishedLink": "my_publishedLink", * // "publishedOutsideDomain": false, * // "size": "my_size" * // } @@ -8600,6 +8605,7 @@ export namespace drive_v3 { * // "originalFilename": "my_originalFilename", * // "publishAuto": false, * // "published": false, + * // "publishedLink": "my_publishedLink", * // "publishedOutsideDomain": false, * // "size": "my_size" * // } @@ -8620,6 +8626,7 @@ export namespace drive_v3 { * // "originalFilename": "my_originalFilename", * // "publishAuto": false, * // "published": false, + * // "publishedLink": "my_publishedLink", * // "publishedOutsideDomain": false, * // "size": "my_size" * // }