Skip to content

Update AdjustmentOptions and related fields to use google.proto… #575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2025
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
9 changes: 5 additions & 4 deletions proto/spaceone/api/cost_analysis/v1/cost_report_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package spaceone.api.cost_analysis.v1;
option go_package = "github.com/cloudforet-io/api/dist/go/spaceone/api/cost_analysis/v1";

import "google/api/annotations.proto";
import "google/protobuf/wrappers.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/struct.proto";
import "spaceone/api/core/v2/query.proto";
Expand Down Expand Up @@ -83,7 +84,7 @@ service CostReportConfig {
}

message AdjustmentOptions {
bool enabled = 1;
google.protobuf.BoolValue enabled = 1;
int32 period = 2;
}

Expand All @@ -97,7 +98,7 @@ message CreateCostReportConfigRequest {
// +optional
int32 issue_day = 2;
// +optional
bool is_last_day = 3;
google.protobuf.BoolValue is_last_day = 3;
// +optional
AdjustmentOptions adjustment_options = 4;
// +optional
Expand All @@ -116,7 +117,7 @@ message UpdateCostReportConfigRequest {
// +optional
int32 issue_day = 2;
// +optional
bool is_last_day = 3;
google.protobuf.BoolValue is_last_day = 3;
// +optional
AdjustmentOptions adjustment_options = 4;
// +optional
Expand Down Expand Up @@ -181,7 +182,7 @@ message CostReportConfigInfo {
State state = 2;
Scope scope = 3;
int32 issue_day = 4;
bool is_last_day = 5;
google.protobuf.BoolValue is_last_day = 5;
AdjustmentOptions adjustment_options = 6;
string currency = 8;
google.protobuf.Struct recipients = 9;
Expand Down
Loading