mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-15 12:50:26 +02:00
feat: Add UnenrollDataSources API which gives users a programmatic way to unenroll data sources
PiperOrigin-RevId: 606248188
This commit is contained in:
parent
e183baf166
commit
fa4f91acab
1 changed files with 23 additions and 0 deletions
|
|
@ -236,6 +236,18 @@ service DataTransferService {
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
// 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).
|
||||
rpc UnenrollDataSources(UnenrollDataSourcesRequest)
|
||||
returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/{name=projects/*/locations/*}:unenrollDataSources"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// A parameter used to define custom fields in a data source definition.
|
||||
|
|
@ -894,3 +906,14 @@ message EnrollDataSourcesRequest {
|
|||
// data source id.
|
||||
repeated string data_source_ids = 2;
|
||||
}
|
||||
|
||||
// A request to unenroll a set of data sources so they are no longer visible in
|
||||
// the BigQuery UI's `Transfer` tab.
|
||||
message UnenrollDataSourcesRequest {
|
||||
// The name of the project resource in the form: `projects/{project_id}`
|
||||
string name = 1;
|
||||
|
||||
// Data sources that are unenrolled. It is required to provide at least one
|
||||
// data source id.
|
||||
repeated string data_source_ids = 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue