github.com/cloudwan/edgelq-sdk@v1.15.4/iam/proto/v1/organization.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.iam.v1;
     4  
     5  import "edgelq-sdk/iam/proto/v1/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/v1/organization;organization";
    11  option java_multiple_files = true;
    12  option java_outer_classname = "OrganizationProto";
    13  option java_package = "com.ntt.iam.pb.v1";
    14  
    15  // Organization Resource
    16  message Organization {
    17    option (google.api.resource) = {
    18      type : "iam.edgelq.com/Organization"
    19      pattern : "organizations/{organization}"
    20    };
    21  
    22    // Name of Organization
    23    // When creating a new instance, this field is optional and if not provided,
    24    // it will be generated automatically. Last ID segment must conform to the
    25    // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
    26    string name = 1;
    27  
    28    // Metadata is an object with information like create, update and delete time
    29    // (for async deleted resources), has user labels/annotations, sharding
    30    // information, multi-region syncing information and may have non-schema
    31    // owners (useful for taking ownership of resources belonging to lower level
    32    // services by higher ones).
    33    goten.types.Meta metadata = 6;
    34  
    35    // Official Name of Organization
    36    string title = 2;
    37  
    38    // Optional. Description of Organization.
    39    string description = 14;
    40  
    41    // Parent organization
    42    string parent_organization = 3;
    43  
    44    // Multi region policy for child resources
    45    goten.types.MultiRegionPolicy multi_region_policy = 7;
    46  
    47    // Allowed services for child organizations and projects. This field is
    48    // checked only for non-core edgelq services.
    49    repeated string allowed_services = 8;
    50  
    51    // Business tier applicable for all allowed services.
    52    // This value defines:
    53    // * Default business tier for child projects (if not defined on creation)
    54    // * Default business tier to this organization.
    55    BusinessTier business_tier = 9;
    56  
    57    // Overwrites business_tier for each service - it may also override value
    58    // for a core EdgeLQ service.
    59    repeated ServiceBusinessTier service_tiers = 10;
    60  
    61    // Top parent (internal)
    62    string root_organization = 4;
    63  
    64    // Full ancestry path (internal)
    65    repeated string ancestry_path = 5;
    66  
    67    // Service errors reported for this organization by category
    68    map<string, ServiceErrors> service_errors = 12;
    69  
    70    // Internal field for services meta information synchronization
    71    int64 services_generation = 13;
    72  }