Skip to content

Commit

Permalink
Merge pull request #441 from stat-kwon/master
Browse files Browse the repository at this point in the history
Add state and error_message fields in DataTable resources
  • Loading branch information
stat-kwon authored Nov 4, 2024
2 parents dbc78d7 + 73ae0ac commit 542f613
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
22 changes: 15 additions & 7 deletions proto/spaceone/api/dashboard/v1/private_data_table.proto
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,23 @@ message PrivateDataTableInfo {
PROJECT = 3;
}

enum State {
STATE_NONE = 0;
AVAILABLE = 1;
UNAVAILABLE = 2;
}

string data_table_id = 1;
string name = 2;
spaceone.api.dashboard.v1.DataType data_type = 3;
spaceone.api.dashboard.v1.SourceType source_type = 4;
spaceone.api.dashboard.v1.Operator operator = 5;
google.protobuf.Struct options = 6;
google.protobuf.Struct tags = 7;
google.protobuf.Struct labels_info = 8;
google.protobuf.Struct data_info = 9;
State state = 3;
spaceone.api.dashboard.v1.DataType data_type = 4;
spaceone.api.dashboard.v1.SourceType source_type = 5;
spaceone.api.dashboard.v1.Operator operator = 6;
google.protobuf.Struct options = 7;
google.protobuf.Struct tags = 8;
google.protobuf.Struct labels_info = 9;
google.protobuf.Struct data_info = 10;
string error_message = 11;

string domain_id = 21;
string user_id = 22;
Expand Down
22 changes: 15 additions & 7 deletions proto/spaceone/api/dashboard/v1/public_data_table.proto
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,23 @@ message PublicDataTableInfo {
PROJECT = 3;
}

enum State {
STATE_NONE = 0;
AVAILABLE = 1;
UNAVAILABLE = 2;
}

string data_table_id = 1;
string name = 2;
DataType data_type = 3;
SourceType source_type = 4;
Operator operator = 5;
google.protobuf.Struct options = 6;
google.protobuf.Struct tags = 7;
google.protobuf.Struct labels_info = 8;
google.protobuf.Struct data_info = 9;
State state = 3;
DataType data_type = 4;
SourceType source_type = 5;
Operator operator = 6;
google.protobuf.Struct options = 7;
google.protobuf.Struct tags = 8;
google.protobuf.Struct labels_info = 9;
google.protobuf.Struct data_info = 10;
string error_message = 11;

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

0 comments on commit 542f613

Please sign in to comment.