Skip to content

Commit

Permalink
feat(file): update the API
Browse files Browse the repository at this point in the history
#### file:v1
The following keys were added:
- parameters.access_token.description
- parameters.access_token.location
- parameters.access_token.type
- parameters.oauth_token.description
- parameters.oauth_token.location
- parameters.oauth_token.type

#### file:v1beta1
The following keys were added:
- parameters.access_token.description
- parameters.access_token.location
- parameters.access_token.type
- parameters.oauth_token.description
- parameters.oauth_token.location
- parameters.oauth_token.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 14, 2020
1 parent b746e24 commit 7c126f7
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
12 changes: 11 additions & 1 deletion discovery/file-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -467,7 +477,7 @@
}
}
},
"revision": "20200613",
"revision": "20200707",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
Expand Down
12 changes: 11 additions & 1 deletion discovery/file-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -467,7 +477,7 @@
}
}
},
"revision": "20200608",
"revision": "20200707",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
Expand Down
8 changes: 8 additions & 0 deletions src/apis/file/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ export namespace file_v1 {
* V1 error format.
*/
'$.xgafv'?: string;
/**
* OAuth access token.
*/
access_token?: string;
/**
* Data format for response.
*/
Expand All @@ -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.
*/
Expand Down
8 changes: 8 additions & 0 deletions src/apis/file/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ export namespace file_v1beta1 {
* V1 error format.
*/
'$.xgafv'?: string;
/**
* OAuth access token.
*/
access_token?: string;
/**
* Data format for response.
*/
Expand All @@ -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.
*/
Expand Down

0 comments on commit 7c126f7

Please # to comment.