Skip to content

Commit 9044b19

Browse files
feat(bigquerydatatransfer): update the api
#### bigquerydatatransfer:v1 The following keys were added: - resources.projects.methods.enrollDataSources (Total Keys: 12) - resources.projects.resources.locations.methods.enrollDataSources (Total Keys: 12) - schemas.EnrollDataSourcesRequest (Total Keys: 4)
1 parent fdb4cdc commit 9044b19

File tree

3 files changed

+135
-1
lines changed

3 files changed

+135
-1
lines changed

docs/dyn/bigquerydatatransfer_v1.projects.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,40 @@ <h2>Instance Methods</h2>
9292
<p class="toc_element">
9393
<code><a href="#close">close()</a></code></p>
9494
<p class="firstline">Close httplib2 connections.</p>
95+
<p class="toc_element">
96+
<code><a href="#enrollDataSources">enrollDataSources(name, body=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">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).</p>
9598
<h3>Method Details</h3>
9699
<div class="method">
97100
<code class="details" id="close">close()</code>
98101
<pre>Close httplib2 connections.</pre>
99102
</div>
100103

104+
<div class="method">
105+
<code class="details" id="enrollDataSources">enrollDataSources(name, body=None, x__xgafv=None)</code>
106+
<pre>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 &#x27;https://bigquery.cloud.google.com&#x27; (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).
107+
108+
Args:
109+
name: string, The name of the project resource in the form: `projects/{project_id}` (required)
110+
body: object, The request body.
111+
The object takes the form of:
112+
113+
{ # A request to enroll a set of data sources so they are visible in the BigQuery UI&#x27;s `Transfer` tab.
114+
&quot;dataSourceIds&quot;: [ # Data sources that are enrolled. It is required to provide at least one data source id.
115+
&quot;A String&quot;,
116+
],
117+
}
118+
119+
x__xgafv: string, V1 error format.
120+
Allowed values
121+
1 - v1 error format
122+
2 - v2 error format
123+
124+
Returns:
125+
An object of the form:
126+
127+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
128+
}</pre>
129+
</div>
130+
101131
</body></html>

docs/dyn/bigquerydatatransfer_v1.projects.locations.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#close">close()</a></code></p>
8989
<p class="firstline">Close httplib2 connections.</p>
90+
<p class="toc_element">
91+
<code><a href="#enrollDataSources">enrollDataSources(name, body=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">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).</p>
9093
<p class="toc_element">
9194
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9295
<p class="firstline">Gets information about a location.</p>
@@ -102,6 +105,33 @@ <h3>Method Details</h3>
102105
<pre>Close httplib2 connections.</pre>
103106
</div>
104107

108+
<div class="method">
109+
<code class="details" id="enrollDataSources">enrollDataSources(name, body=None, x__xgafv=None)</code>
110+
<pre>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 &#x27;https://bigquery.cloud.google.com&#x27; (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).
111+
112+
Args:
113+
name: string, The name of the project resource in the form: `projects/{project_id}` (required)
114+
body: object, The request body.
115+
The object takes the form of:
116+
117+
{ # A request to enroll a set of data sources so they are visible in the BigQuery UI&#x27;s `Transfer` tab.
118+
&quot;dataSourceIds&quot;: [ # Data sources that are enrolled. It is required to provide at least one data source id.
119+
&quot;A String&quot;,
120+
],
121+
}
122+
123+
x__xgafv: string, V1 error format.
124+
Allowed values
125+
1 - v1 error format
126+
2 - v2 error format
127+
128+
Returns:
129+
An object of the form:
130+
131+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
132+
}</pre>
133+
</div>
134+
105135
<div class="method">
106136
<code class="details" id="get">get(name, x__xgafv=None)</code>
107137
<pre>Gets information about a location.

googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,37 @@
112112
"protocol": "rest",
113113
"resources": {
114114
"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+
},
115146
"resources": {
116147
"dataSources": {
117148
"methods": {
@@ -214,6 +245,35 @@
214245
},
215246
"locations": {
216247
"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+
},
217277
"get": {
218278
"description": "Gets information about a location.",
219279
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
@@ -1280,7 +1340,7 @@
12801340
}
12811341
}
12821342
},
1283-
"revision": "20210814",
1343+
"revision": "20210822",
12841344
"rootUrl": "https://bigquerydatatransfer.googleapis.com/",
12851345
"schemas": {
12861346
"CheckValidCredsRequest": {
@@ -1535,6 +1595,20 @@
15351595
"properties": {},
15361596
"type": "object"
15371597
},
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+
},
15381612
"ListDataSourcesResponse": {
15391613
"description": "Returns list of supported data sources and their metadata.",
15401614
"id": "ListDataSourcesResponse",

0 commit comments

Comments
 (0)