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

     1  syntax = "proto3";
     2  
     3  package ntt.iam.v1alpha2;
     4  
     5  import "google/api/field_behavior.proto";
     6  import "google/api/resource.proto";
     7  import "goten-sdk/types/meta.proto";
     8  
     9  option go_package = "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/service_account;service_account";
    10  option java_multiple_files = true;
    11  option java_outer_classname = "ServiceAccountProto";
    12  option java_package = "com.ntt.iam.pb.v1alpha2";
    13  
    14  // ServiceAccount Resource
    15  message ServiceAccount {
    16    option (google.api.resource) = {
    17      type : "iam.edgelq.com/ServiceAccount"
    18      pattern : "projects/{project}/regions/{region}/serviceAccounts/"
    19                "{service_account}"
    20    };
    21  
    22    // Name of ServiceAccount
    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,55}[a-z0-9]
    26    string name = 1;
    27  
    28    // Display Name
    29    string display_name = 2;
    30  
    31    // Email
    32    string email = 4 [ (google.api.field_behavior) = OUTPUT_ONLY ];
    33  
    34    // Additional meta information about service account
    35    goten.types.Meta metadata = 3;
    36  }