github.com/cloudwan/edgelq-sdk@v1.15.4/cellular-api/proto/v1/sim_card_stock.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.cellular_api.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/cellular-api/resources/v1/sim_card_stock;sim_card_stock";
     9  option java_multiple_files = true;
    10  option java_outer_classname = "SimCardStockProto";
    11  option java_package = "com.ntt.cellular_api.pb.v1";
    12  
    13  // SimCardStock Resource
    14  message SimCardStock {
    15    option (google.api.resource) = {
    16      type : "cellular-api.edgelq.com/SimCardStock"
    17      pattern : "simCardStocks/{sim_card_stock}"
    18    };
    19  
    20    // Name of SimCardStock
    21    // When creating a new instance, this field is optional and if not provided,
    22    // it will be generated automatically. Last ID segment must conform to the
    23    // following regex: \\d{19}
    24    string name = 1;
    25  
    26    // Metadata is an object with information like create, update and delete time
    27    // (for async deleted resources), has user labels/annotations, sharding
    28    // information, multi-region syncing information and may have non-schema
    29    // owners (useful for taking ownership of resources belonging to lower level
    30    // services by higher ones).
    31    goten.types.Meta metadata = 2;
    32  
    33    string contract = 3;
    34  
    35    State state = 4;
    36  
    37    string sim_card = 5;
    38  
    39    enum State {
    40      STATE_UNSPECIFIED = 0;
    41  
    42      AVAILABLE = 1;
    43  
    44      IN_USE = 2;
    45    }
    46  }