|
112 | 112 | "protocol": "rest",
|
113 | 113 | "resources": {
|
114 | 114 | "projects": {
|
| 115 | + "methods": { |
| 116 | + "enrollDataSources": { |
| 117 | + "description": "Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI 'https://bigquery.cloud.google.com' (and the documents can be found at https://cloud.google.com/bigquery/bigquery-web-ui and https://cloud.google.com/bigquery/docs/working-with-transfers).", |
| 118 | + "flatPath": "v1/projects/{projectsId}:enrollDataSources", |
| 119 | + "httpMethod": "POST", |
| 120 | + "id": "bigquerydatatransfer.projects.enrollDataSources", |
| 121 | + "parameterOrder": [ |
| 122 | + "name" |
| 123 | + ], |
| 124 | + "parameters": { |
| 125 | + "name": { |
| 126 | + "description": "The name of the project resource in the form: `projects/{project_id}`", |
| 127 | + "location": "path", |
| 128 | + "pattern": "^projects/[^/]+$", |
| 129 | + "required": true, |
| 130 | + "type": "string" |
| 131 | + } |
| 132 | + }, |
| 133 | + "path": "v1/{+name}:enrollDataSources", |
| 134 | + "request": { |
| 135 | + "$ref": "EnrollDataSourcesRequest" |
| 136 | + }, |
| 137 | + "response": { |
| 138 | + "$ref": "Empty" |
| 139 | + }, |
| 140 | + "scopes": [ |
| 141 | + "https://www.googleapis.com/auth/bigquery", |
| 142 | + "https://www.googleapis.com/auth/cloud-platform" |
| 143 | + ] |
| 144 | + } |
| 145 | + }, |
115 | 146 | "resources": {
|
116 | 147 | "dataSources": {
|
117 | 148 | "methods": {
|
|
214 | 245 | },
|
215 | 246 | "locations": {
|
216 | 247 | "methods": {
|
| 248 | + "enrollDataSources": { |
| 249 | + "description": "Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI 'https://bigquery.cloud.google.com' (and the documents can be found at https://cloud.google.com/bigquery/bigquery-web-ui and https://cloud.google.com/bigquery/docs/working-with-transfers).", |
| 250 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:enrollDataSources", |
| 251 | + "httpMethod": "POST", |
| 252 | + "id": "bigquerydatatransfer.projects.locations.enrollDataSources", |
| 253 | + "parameterOrder": [ |
| 254 | + "name" |
| 255 | + ], |
| 256 | + "parameters": { |
| 257 | + "name": { |
| 258 | + "description": "The name of the project resource in the form: `projects/{project_id}`", |
| 259 | + "location": "path", |
| 260 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 261 | + "required": true, |
| 262 | + "type": "string" |
| 263 | + } |
| 264 | + }, |
| 265 | + "path": "v1/{+name}:enrollDataSources", |
| 266 | + "request": { |
| 267 | + "$ref": "EnrollDataSourcesRequest" |
| 268 | + }, |
| 269 | + "response": { |
| 270 | + "$ref": "Empty" |
| 271 | + }, |
| 272 | + "scopes": [ |
| 273 | + "https://www.googleapis.com/auth/bigquery", |
| 274 | + "https://www.googleapis.com/auth/cloud-platform" |
| 275 | + ] |
| 276 | + }, |
217 | 277 | "get": {
|
218 | 278 | "description": "Gets information about a location.",
|
219 | 279 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
|
|
1280 | 1340 | }
|
1281 | 1341 | }
|
1282 | 1342 | },
|
1283 |
| - "revision": "20210814", |
| 1343 | + "revision": "20210822", |
1284 | 1344 | "rootUrl": "https://bigquerydatatransfer.googleapis.com/",
|
1285 | 1345 | "schemas": {
|
1286 | 1346 | "CheckValidCredsRequest": {
|
|
1535 | 1595 | "properties": {},
|
1536 | 1596 | "type": "object"
|
1537 | 1597 | },
|
| 1598 | + "EnrollDataSourcesRequest": { |
| 1599 | + "description": "A request to enroll a set of data sources so they are visible in the BigQuery UI's `Transfer` tab.", |
| 1600 | + "id": "EnrollDataSourcesRequest", |
| 1601 | + "properties": { |
| 1602 | + "dataSourceIds": { |
| 1603 | + "description": "Data sources that are enrolled. It is required to provide at least one data source id.", |
| 1604 | + "items": { |
| 1605 | + "type": "string" |
| 1606 | + }, |
| 1607 | + "type": "array" |
| 1608 | + } |
| 1609 | + }, |
| 1610 | + "type": "object" |
| 1611 | + }, |
1538 | 1612 | "ListDataSourcesResponse": {
|
1539 | 1613 | "description": "Returns list of supported data sources and their metadata.",
|
1540 | 1614 | "id": "ListDataSourcesResponse",
|
|
0 commit comments