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

     1  syntax = "proto3";
     2  
     3  package ntt.iam.v1;
     4  
     5  import "google/api/resource.proto";
     6  import "goten-sdk/types/meta.proto";
     7  
     8  option go_package = "github.com/cloudwan/edgelq-sdk/iam/resources/v1/group;group";
     9  option java_multiple_files = true;
    10  option java_outer_classname = "GroupProto";
    11  option java_package = "com.ntt.iam.pb.v1";
    12  
    13  // Group Resource
    14  message Group {
    15    option (google.api.resource) = {
    16      type : "iam.edgelq.com/Group"
    17      pattern : "groups/{group}"
    18      pattern : "projects/{project}/groups/{group}"
    19      pattern : "organizations/{organization}/groups/{group}"
    20      pattern : "services/{service}/groups/{group}"
    21    };
    22  
    23    // Name of Group
    24    // When creating a new instance, this field is optional and if not provided,
    25    // it will be generated automatically. Last ID segment must conform to the
    26    // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
    27    string name = 1;
    28  
    29    // Metadata is an object with information like create, update and delete time
    30    // (for async deleted resources), has user labels/annotations, sharding
    31    // information, multi-region syncing information and may have non-schema
    32    // owners (useful for taking ownership of resources belonging to lower level
    33    // services by higher ones).
    34    goten.types.Meta metadata = 5;
    35  
    36    // Display Name
    37    string display_name = 2;
    38  
    39    // Optional. Description of the Group
    40    string description = 6;
    41  
    42    // Unique email address for this [Group]. Generated based on its
    43    // [name][ntt.iam.v1alpha2.Group.name] with following rules:
    44    //
    45    // 1. System group: `{group_id}@groups.iam.edgelq.com`
    46    // 2. Organization group: `{group_id}@{organization_id}.groups.iam.edgelq.com`
    47    // 3. Project group: `{group_id}@{project_id}.groups.iam.edgelq.com`
    48    //
    49    // This email can be used in
    50    // [RoleBindings][ntt.iam.v1alpha2.RoleBinding.member] field.
    51    //
    52    // Note: Currently there is way to assign custom domain for [Organization] or
    53    // [Project].
    54    string email = 4;
    55  }