Skip to content

Commit 72169ba

Browse files
committed
feat: add task_changed field at job task info
Signed-off-by: ImMin5 <[email protected]>
1 parent 021ac77 commit 72169ba

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

proto/spaceone/api/cost_analysis/plugin/job.proto

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ message GetTasksRequest {
2929

3030
message TaskInfo {
3131
google.protobuf.Struct task_options = 1;
32+
// +optional
33+
ChangedInfo changed = 2;
3234
}
3335

3436
message ChangedInfo {

proto/spaceone/api/cost_analysis/v1/job_task.proto

+10-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ option go_package = "github.com/cloudforet-io/api/dist/go/spaceone/api/cost_anal
88
import "google/protobuf/struct.proto";
99
import "google/api/annotations.proto";
1010
import "spaceone/api/core/v2/query.proto";
11-
11+
import "spaceone/api/cost_analysis/v1/job.proto";
1212

1313
service JobTask {
1414

@@ -80,6 +80,11 @@ message JobTaskQuery {
8080
// "month": "202207",
8181
// "platform": "gcp"
8282
// },
83+
// "changed": {
84+
// "start": "2024-12",
85+
// "end": "2025-01",
86+
// "filter
87+
// },
8388
// "created_count": 1,
8489
// "job_id": "job-85cf2c385252",
8590
// "data_source_id": "ds-c96609f5afeb",
@@ -109,9 +114,10 @@ message JobTaskInfo {
109114
string job_task_id = 1;
110115
Status status = 2;
111116
google.protobuf.Struct options = 3;
112-
int32 created_count = 4;
113-
string error_code = 5;
114-
string error_message = 6;
117+
ChangedInfo changed = 4;
118+
int32 created_count = 5;
119+
string error_code = 6;
120+
string error_message = 7;
115121

116122
ResourceGroup resource_group = 20;
117123
string domain_id = 21;

0 commit comments

Comments
 (0)