diff --git a/proto/spaceone/api/opsflow/v1/comment.proto b/proto/spaceone/api/opsflow/v1/comment.proto index 0a26fe7e0..3fd110bfc 100644 --- a/proto/spaceone/api/opsflow/v1/comment.proto +++ b/proto/spaceone/api/opsflow/v1/comment.proto @@ -115,7 +115,6 @@ message CommentInfo { Mentions mentions = 5; google.protobuf.Struct source = 7; string reference_id = 8; - ResourceGroup resource_group = 9; string domain_id = 21; string workspace_id = 22; diff --git a/proto/spaceone/api/opsflow/v1/task.proto b/proto/spaceone/api/opsflow/v1/task.proto index 8d8ffd3e7..49bf561c7 100644 --- a/proto/spaceone/api/opsflow/v1/task.proto +++ b/proto/spaceone/api/opsflow/v1/task.proto @@ -77,12 +77,6 @@ enum TaskPriority { } message TaskCreateRequest { - enum ResourceGroup { - RESOURCE_GROUP_NONE = 0; - WORKSPACE = 1; - PROJECT = 2; - } - string name = 1; string status_id = 2; // +optional @@ -99,9 +93,7 @@ message TaskCreateRequest { google.protobuf.Struct data = 8; // +optional string reference_id = 9; - ResourceGroup resource_group = 10; - // +optional string project_id = 21; string task_type_id = 22; } @@ -169,12 +161,6 @@ message TaskSearchQuery { } message TaskInfo { - enum ResourceGroup { - RESOURCE_GROUP_NONE = 0; - WORKSPACE = 1; - PROJECT = 2; - } - string task_id = 1; string name = 2; string status_id = 3; @@ -186,7 +172,7 @@ message TaskInfo { string assignee = 9; string created_by = 10; string reference_id = 11; - ResourceGroup resource_group = 12; + repeated string related_assets = 13; string domain_id = 21; diff --git a/proto/spaceone/api/opsflow/v1/task_type.proto b/proto/spaceone/api/opsflow/v1/task_type.proto index 7bb5dc71a..31298b031 100644 --- a/proto/spaceone/api/opsflow/v1/task_type.proto +++ b/proto/spaceone/api/opsflow/v1/task_type.proto @@ -57,24 +57,19 @@ service TaskType { } message TaskTypeCreateRequest { - enum Scope { - SCOPE_NONE = 0; - WORKSPACE = 1; - PROJECT = 2; - } - string name = 1; // +optional string description = 2; // +optional repeated TaskField fields = 3; - // +optional - Scope scope = 4; + // +optional repeated string assignee_pool = 5; // +optional google.protobuf.Struct vars = 6; // +optional + bool require_project = 7; + // +optional google.protobuf.Struct tags = 11; string category_id = 21; } @@ -123,19 +118,14 @@ message TaskTypeSearchQuery { } message TaskTypeInfo { - enum Scope { - SCOPE_NONE = 0; - WORKSPACE = 1; - PROJECT = 2; - } - string task_type_id = 1; string name = 2; string description = 3; repeated TaskField fields = 4; - Scope scope = 5; + repeated string assignee_pool = 6; google.protobuf.Struct vars = 7; + bool require_project = 8; google.protobuf.Struct tags = 11; string domain_id = 21;