Skip to content

Commit

Permalink
feat(bigquerydatatransfer): update the api
Browse files Browse the repository at this point in the history
#### bigquerydatatransfer:v1

The following keys were added:
- resources.projects.resources.locations.methods.unenrollDataSources (Total Keys: 12)
- schemas.UnenrollDataSourcesRequest (Total Keys: 4)
  • Loading branch information
yoshi-automation committed Feb 6, 2024
1 parent 5dc1275 commit 3e1cb30
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 1 deletion.
30 changes: 30 additions & 0 deletions docs/dyn/bigquerydatatransfer_v1.projects.locations.html
Expand Up @@ -99,6 +99,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#unenrollDataSources">unenrollDataSources(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the [BigQuery UI](https://console.cloud.google.com/bigquery).</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -208,4 +211,31 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="unenrollDataSources">unenrollDataSources(name, body=None, x__xgafv=None)</code>
<pre>Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the [BigQuery UI](https://console.cloud.google.com/bigquery).

Args:
name: string, The name of the project resource in the form: `projects/{project_id}` (required)
body: object, The request body.
The object takes the form of:

{ # A request to unenroll a set of data sources so they are no longer visible in the BigQuery UI&#x27;s `Transfer` tab.
&quot;dataSourceIds&quot;: [ # Data sources that are unenrolled. It is required to provide at least one data source id.
&quot;A String&quot;,
],
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # 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); }
}</pre>
</div>

</body></html>
Expand Up @@ -343,6 +343,35 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"unenrollDataSources": {
"description": "Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the [BigQuery UI](https://console.cloud.google.com/bigquery).",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}:unenrollDataSources",
"httpMethod": "POST",
"id": "bigquerydatatransfer.projects.locations.unenrollDataSources",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the project resource in the form: `projects/{project_id}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:unenrollDataSources",
"request": {
"$ref": "UnenrollDataSourcesRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/bigquery",
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
Expand Down Expand Up @@ -1342,7 +1371,7 @@
}
}
},
"revision": "20240120",
"revision": "20240130",
"rootUrl": "https://bigquerydatatransfer.googleapis.com/",
"schemas": {
"CheckValidCredsRequest": {
Expand Down Expand Up @@ -2125,6 +2154,20 @@
},
"type": "object"
},
"UnenrollDataSourcesRequest": {
"description": "A request to unenroll a set of data sources so they are no longer visible in the BigQuery UI's `Transfer` tab.",
"id": "UnenrollDataSourcesRequest",
"properties": {
"dataSourceIds": {
"description": "Data sources that are unenrolled. It is required to provide at least one data source id.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"UserInfo": {
"description": "Information about a user.",
"id": "UserInfo",
Expand Down

0 comments on commit 3e1cb30

Please sign in to comment.