Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 21 additions & 10 deletions proto/spaceone/api/cost_analysis/v1/data_source.proto
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ message PluginInfo {
UpgradeMode upgrade_mode = 8;
}

message WarehouseInfo {
enum WarehouseType {
NONE = 0;
DATABRICKS = 1;
}
WarehouseType type = 1;
}

message Schedule {
enum ScheduleState {
NONE = 0;
Expand Down Expand Up @@ -208,9 +216,11 @@ message RegisterDataSourceRequest {
google.protobuf.Struct template = 6;
// +optional
PluginInfo plugin_info = 7;
Schedule schedule = 8;
// +optoinal
Copy link

Copilot AI May 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo in the comment: 'optoinal'. Please correct it to 'optional'.

Suggested change
// +optoinal
// +optional

Copilot uses AI. Check for mistakes.
WarehouseInfo warehouse_info = 8;
Schedule schedule = 9;
// +optional
google.protobuf.Struct tags = 9;
google.protobuf.Struct tags = 10;
ResourceGroup resource_group = 20;
// +optional
string workspace_id = 21;
Expand Down Expand Up @@ -422,14 +432,15 @@ message DataSourceInfo {
SecretType secret_type = 6;
SecretFilter secret_filter = 7;
PluginInfo plugin_info = 8;
Schedule schedule = 9;
google.protobuf.Struct template = 10;
google.protobuf.Struct tags = 11;
repeated string cost_tag_keys = 12;
repeated string cost_additional_info_keys = 13;
repeated string cost_data_keys = 14;
int32 data_source_account_count = 15;
int32 connected_workspace_count = 16;
WarehouseInfo warehouse_info = 9;
Schedule schedule = 10;
google.protobuf.Struct template = 11;
google.protobuf.Struct tags = 12;
repeated string cost_tag_keys = 13;
repeated string cost_additional_info_keys = 14;
repeated string cost_data_keys = 15;
int32 data_source_account_count = 16;
int32 connected_workspace_count = 17;

ResourceGroup resource_group = 20;
string domain_id = 21;
Expand Down
Loading