github.com/cloudwan/edgelq-sdk@v1.15.4/secrets/proto/v1/project.proto (about) 1 syntax = "proto3"; 2 3 package ntt.secrets.v1; 4 5 import "google/api/resource.proto"; 6 import "goten-sdk/types/meta.proto"; 7 import "goten-sdk/types/multi_region_policy.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/secrets/resources/v1/project;project"; 10 option java_multiple_files = true; 11 option java_outer_classname = "ProjectProto"; 12 option java_package = "com.ntt.secrets.pb.v1"; 13 14 // Project Resource 15 message Project { 16 option (google.api.resource) = { 17 type : "secrets.edgelq.com/Project" 18 pattern : "projects/{project}" 19 }; 20 21 // Name of Project 22 // When creating a new instance, this field is optional and if not provided, 23 // it will be generated automatically. Last ID segment must conform to the 24 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 25 string name = 1; 26 27 // Metadata is an object with information like create, update and delete time 28 // (for async deleted resources), has user labels/annotations, sharding 29 // information, multi-region syncing information and may have non-schema 30 // owners (useful for taking ownership of resources belonging to lower level 31 // services by higher ones). 32 goten.types.Meta metadata = 2; 33 34 // Multi region policy defines in which region all kid resources (and their 35 // kids) will by default belong and cross-region syncing policies. 36 goten.types.MultiRegionPolicy multi_region_policy = 3; 37 }