123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333 |
- syntax = "proto3";
- package google.cloud.support.common;
- import "google/api/annotations.proto";
- import "google/protobuf/timestamp.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/support/common;common";
- option java_outer_classname = "CloudSupportProto";
- option java_package = "com.google.cloud.support.common";
- message SupportAccount {
-
- enum State {
-
- STATE_UNSPECIFIED = 0;
-
- ACTIVE = 1;
-
- PENDING = 2;
-
- PENDING_DELETION = 3;
- }
-
- enum PricingModel {
-
- PRICING_MODEL_UNKNOWN = 0;
-
- PACKAGES = 1;
-
-
- USER_ROLES = 2;
- }
-
-
-
- string name = 1;
-
-
-
- string account_id = 2;
-
- string cloud_resource = 3;
-
- string display_name = 4;
-
- State state = 5;
-
-
- google.protobuf.Timestamp create_time = 6;
-
-
- string billing_account_name = 7;
- string unify_account_id = 8;
-
- PricingModel pricing_model = 9;
- }
- message Case {
-
- enum Priority {
-
- PRIORITY_UNSPECIFIED = 0;
-
- P0 = 1;
-
- P1 = 2;
-
-
- P2 = 3;
-
-
- P3 = 4;
-
-
- P4 = 5;
- }
-
- enum State {
-
- STATE_UNSPECIFIED = 0;
-
- NEW = 1;
-
- ASSIGNED = 2;
-
- IN_PROGRESS_GOOGLE_SUPPORT = 3;
-
- IN_PROGRESS_GOOGLE_ENG = 4;
-
- IN_PROGRESS_KNOWN_ISSUE = 5;
-
- WAITING_FOR_CUSTOMER_RESPONSE = 6;
-
- SOLUTION_OFFERED = 7;
-
- CLOSED = 8;
- }
-
-
- string name = 1;
-
- string display_name = 2;
-
- string description = 3;
-
- string component = 4;
-
- string subcomponent = 5;
-
-
-
- string client_timezone = 6;
-
-
- repeated string cc_addresses = 7;
-
- string project_id = 8;
-
- repeated CustomerIssue issues = 10;
-
- Priority priority = 11;
-
- State state = 12;
-
-
- google.protobuf.Timestamp create_time = 13;
-
-
- google.protobuf.Timestamp update_time = 14;
-
-
- string creator_email = 15;
-
- string category = 16;
- }
- message CustomerIssue {
-
- enum IssueState {
-
- ISSUE_STATE_UNSPECIFIED = 0;
-
- OPEN = 1;
-
- IN_PROGRESS = 2;
-
- FIXED = 3;
-
- WONT_FIX = 4;
-
- VERIFIED = 5;
- }
-
-
- string issue_id = 1;
-
-
- IssueState state = 2;
-
-
- google.protobuf.Timestamp create_time = 3;
-
-
- google.protobuf.Timestamp resolve_time = 4;
-
-
- google.protobuf.Timestamp update_time = 5;
- }
- message SupportRole {
-
-
- enum Role {
-
- ROLE_UNSPECIFIED = 0;
-
- BASIC = 1;
-
- DEVELOPER = 2;
-
- OPERATION = 3;
-
- SITE_RELIABILITY = 4;
- }
-
- string email = 1;
-
- Role role = 2;
- }
- message Comment {
-
- string text = 1;
-
-
- google.protobuf.Timestamp create_time = 2;
-
-
- string author = 3;
-
-
-
- string name = 4;
- }
- message IssueTaxonomy {
-
-
-
-
-
-
-
- message Component {
-
- string display_name = 1;
-
-
- repeated string languages = 2;
-
- string template = 3;
-
- repeated Component subcomponents = 4;
- }
-
-
- message Category {
-
- string display_name = 1;
-
- map<string, Component> components = 2;
- }
-
- map<string, Category> categories = 1;
- }
|