@@ -130,6 +130,14 @@ message PluginInfo {
130
130
UpgradeMode upgrade_mode = 8 ;
131
131
}
132
132
133
+ message WarehouseInfo {
134
+ enum WarehouseType {
135
+ NONE = 0 ;
136
+ DATABRICKS = 1 ;
137
+ }
138
+ WarehouseType type = 1 ;
139
+ }
140
+
133
141
message Schedule {
134
142
enum ScheduleState {
135
143
NONE = 0 ;
@@ -208,9 +216,11 @@ message RegisterDataSourceRequest {
208
216
google.protobuf.Struct template = 6 ;
209
217
// +optional
210
218
PluginInfo plugin_info = 7 ;
211
- Schedule schedule = 8 ;
219
+ // +optoinal
220
+ WarehouseInfo warehouse_info = 8 ;
221
+ Schedule schedule = 9 ;
212
222
// +optional
213
- google.protobuf.Struct tags = 9 ;
223
+ google.protobuf.Struct tags = 10 ;
214
224
ResourceGroup resource_group = 20 ;
215
225
// +optional
216
226
string workspace_id = 21 ;
@@ -422,14 +432,15 @@ message DataSourceInfo {
422
432
SecretType secret_type = 6 ;
423
433
SecretFilter secret_filter = 7 ;
424
434
PluginInfo plugin_info = 8 ;
425
- Schedule schedule = 9 ;
426
- google.protobuf.Struct template = 10 ;
427
- google.protobuf.Struct tags = 11 ;
428
- repeated string cost_tag_keys = 12 ;
429
- repeated string cost_additional_info_keys = 13 ;
430
- repeated string cost_data_keys = 14 ;
431
- int32 data_source_account_count = 15 ;
432
- int32 connected_workspace_count = 16 ;
435
+ WarehouseInfo warehouse_info = 9 ;
436
+ Schedule schedule = 10 ;
437
+ google.protobuf.Struct template = 11 ;
438
+ google.protobuf.Struct tags = 12 ;
439
+ repeated string cost_tag_keys = 13 ;
440
+ repeated string cost_additional_info_keys = 14 ;
441
+ repeated string cost_data_keys = 15 ;
442
+ int32 data_source_account_count = 16 ;
443
+ int32 connected_workspace_count = 17 ;
433
444
434
445
ResourceGroup resource_group = 20 ;
435
446
string domain_id = 21 ;
0 commit comments