diff --git a/discovery/file-v1.json b/discovery/file-v1.json index 3b68d07958..fa6384877d 100644 --- a/discovery/file-v1.json +++ b/discovery/file-v1.json @@ -40,6 +40,11 @@ "location": "query", "type": "string" }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, "alt": { "default": "json", "description": "Data format for response.", @@ -71,6 +76,11 @@ "location": "query", "type": "string" }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, "prettyPrint": { "default": "true", "description": "Returns response with indentations and line breaks.", @@ -467,7 +477,7 @@ } } }, - "revision": "20200613", + "revision": "20200707", "rootUrl": "https://file.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/file-v1beta1.json b/discovery/file-v1beta1.json index a6f085eb9c..d53af0b0b2 100644 --- a/discovery/file-v1beta1.json +++ b/discovery/file-v1beta1.json @@ -40,6 +40,11 @@ "location": "query", "type": "string" }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, "alt": { "default": "json", "description": "Data format for response.", @@ -71,6 +76,11 @@ "location": "query", "type": "string" }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, "prettyPrint": { "default": "true", "description": "Returns response with indentations and line breaks.", @@ -467,7 +477,7 @@ } } }, - "revision": "20200608", + "revision": "20200707", "rootUrl": "https://file.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/src/apis/file/v1.ts b/src/apis/file/v1.ts index 5ddb20ca87..b68e81c480 100644 --- a/src/apis/file/v1.ts +++ b/src/apis/file/v1.ts @@ -56,6 +56,10 @@ export namespace file_v1 { * V1 error format. */ '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; /** * Data format for response. */ @@ -72,6 +76,10 @@ export namespace file_v1 { * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; /** * Returns response with indentations and line breaks. */ diff --git a/src/apis/file/v1beta1.ts b/src/apis/file/v1beta1.ts index 14f4d77658..6b55de9fc2 100644 --- a/src/apis/file/v1beta1.ts +++ b/src/apis/file/v1beta1.ts @@ -56,6 +56,10 @@ export namespace file_v1beta1 { * V1 error format. */ '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; /** * Data format for response. */ @@ -72,6 +76,10 @@ export namespace file_v1beta1 { * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; /** * Returns response with indentations and line breaks. */