Skip to content

Commit

Permalink
feat: add query_options field to Metric.test API
Browse files Browse the repository at this point in the history
Signed-off-by: Jongmin Kim <[email protected]>
  • Loading branch information
whdalsrnt committed Apr 15, 2024
1 parent 4286c3a commit 96c7f4b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion proto/spaceone/api/inventory/v1/metric.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ service Metric {
};
}

rpc test (MetricRequest) returns (google.protobuf.Struct) {
rpc test (MetricTestRequest) returns (google.protobuf.Struct) {
option (google.api.http) = {
post: "/inventory/v1/metric/test"
body: "*"
Expand Down Expand Up @@ -112,6 +112,14 @@ message MetricRequest {
string metric_id = 1;
}

//{
//
//}
message MetricTestRequest {
string metric_id = 1;
spaceone.api.core.v2.AnalyzeQuery query_options = 2;
}

//{
//
//}
Expand Down

0 comments on commit 96c7f4b

Please sign in to comment.