File tree Expand file tree Collapse file tree
google/cloud/bigquery/datatransfer/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,6 +236,18 @@ service DataTransferService {
236236 }
237237 };
238238 }
239+
240+ // Unenroll data sources in a user project. This allows users to remove
241+ // transfer configurations for these data sources. They will no longer appear
242+ // in the ListDataSources RPC and will also no longer appear in the [BigQuery
243+ // UI](https://console.cloud.google.com/bigquery).
244+ rpc UnenrollDataSources (UnenrollDataSourcesRequest )
245+ returns (google.protobuf.Empty ) {
246+ option (google.api.http ) = {
247+ post : "/v1/{name=projects/*/locations/*}:unenrollDataSources"
248+ body : "*"
249+ };
250+ }
239251}
240252
241253// A parameter used to define custom fields in a data source definition.
@@ -894,3 +906,14 @@ message EnrollDataSourcesRequest {
894906 // data source id.
895907 repeated string data_source_ids = 2 ;
896908}
909+
910+ // A request to unenroll a set of data sources so they are no longer visible in
911+ // the BigQuery UI's `Transfer` tab.
912+ message UnenrollDataSourcesRequest {
913+ // The name of the project resource in the form: `projects/{project_id}`
914+ string name = 1 ;
915+
916+ // Data sources that are unenrolled. It is required to provide at least one
917+ // data source id.
918+ repeated string data_source_ids = 2 ;
919+ }
You can’t perform that action at this time.
0 commit comments