github.com/cloudwan/edgelq-sdk@v1.15.4/iam/proto/v1alpha2/organization.proto (about) 1 syntax = "proto3"; 2 3 package ntt.iam.v1alpha2; 4 5 import "edgelq-sdk/iam/proto/v1alpha2/common.proto"; 6 import "google/api/resource.proto"; 7 import "goten-sdk/types/meta.proto"; 8 import "goten-sdk/types/multi_region_policy.proto"; 9 10 option go_package = "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization;organization"; 11 option java_multiple_files = true; 12 option java_outer_classname = "OrganizationProto"; 13 option java_package = "com.ntt.iam.pb.v1alpha2"; 14 15 // Organization represents higher-level organizational unit, like Company, 16 // University or Division 17 // 18 // Organizations supports managing hierarchies with 19 // [Organization.parent_organization] field. All [Permission] grants through 20 // [RoleBinding]s are propagated from organization ancestors to their 21 // descendants. 22 message Organization { 23 option (google.api.resource) = { 24 type : "iam.edgelq.com/Organization" 25 pattern : "organizations/{organization}" 26 }; 27 28 // Name of Organization 29 // When creating a new instance, this field is optional and if not provided, 30 // it will be generated automatically. Last ID segment must conform to the 31 // following regex: [a-z][a-z0-9\-]{0,28}[a-z0-9] 32 string name = 1; 33 34 // Official Name of Organization 35 string title = 2; 36 37 // Parent organization 38 string parent_organization = 3 39 [ (google.api.resource_reference) = {type : "Organization"} ]; 40 41 // Top parent (internal) 42 string root_organization = 4 43 [ (google.api.resource_reference) = {type : "Organization"} ]; 44 45 // Full ancestry path (internal) 46 repeated string ancestry_path = 5 47 [ (google.api.resource_reference) = {type : "Organization"} ]; 48 49 // Metadata 50 goten.types.Meta metadata = 6; 51 52 // Multi region policy for child resources 53 goten.types.MultiRegionPolicy multi_region_policy = 7; 54 55 // Allowed services for child organizations and projects. This field is 56 // checked only for non-core edgelq services. 57 repeated string allowed_services = 8; 58 59 // Business tier applicable for all allowed services. 60 // This value defines: 61 // * Default business tier for child projects (if not defined on creation) 62 // * Default business tier to this organization. 63 BusinessTier business_tier = 9; 64 65 // Overwrites business_tier for each service. 66 repeated ServiceBusinessTier service_tiers = 10; 67 68 // Service errors reported for this organization by category 69 map<string, ServiceErrors> service_errors = 12; 70 }