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

     1  syntax = "proto3";
     2  
     3  package ntt.secrets.v1alpha2;
     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/v1alpha2/project;project";
    10  option java_multiple_files = true;
    11  option java_outer_classname = "ProjectProto";
    12  option java_package = "com.ntt.secrets.pb.v1alpha2";
    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
    28    goten.types.Meta metadata = 2;
    29  
    30    // Multi region policy
    31    goten.types.MultiRegionPolicy multi_region_policy = 3;
    32  }