From fc8360badaba90a800da41e0f97d8457929dccd5 Mon Sep 17 00:00:00 2001 From: jinyoungmoonDEV Date: Fri, 13 Jun 2025 14:06:01 +0900 Subject: [PATCH] fix: enum error from CostReport Signed-off-by: jinyoungmoonDEV --- .../api/cost_analysis/v1/cost_report.proto | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/proto/spaceone/api/cost_analysis/v1/cost_report.proto b/proto/spaceone/api/cost_analysis/v1/cost_report.proto index 535ae59d..f3e23bf2 100644 --- a/proto/spaceone/api/cost_analysis/v1/cost_report.proto +++ b/proto/spaceone/api/cost_analysis/v1/cost_report.proto @@ -48,13 +48,6 @@ service CostReport { } } -enum Status { - NONE = 0; - IN_PROGRESS = 1; - ADJUSTING = 2; - DONE = 3; - EXPIRED = 4; -} message CostReportRequest { // The ID of cost report in the Protocol. @@ -67,6 +60,13 @@ message GetUrlCostReportRequest { } message CostReportQuery { + enum Status { + NONE = 0; + IN_PROGRESS = 1; + ADJUSTING = 2; + DONE = 3; + EXPIRED = 4; + } // +optional spaceone.api.core.v2.Query query = 1; // +optional @@ -85,6 +85,13 @@ message CostReportQuery { message CostReportInfo { + enum Status { + NONE = 0; + IN_PROGRESS = 1; + ADJUSTING = 2; + DONE = 3; + EXPIRED = 4; + } string cost_report_id = 1; google.protobuf.Struct cost = 2; Status status = 3;