github.com/cloudwan/edgelq-sdk@v1.15.4/cellular-api/proto/v1/sim_card.proto (about) 1 syntax = "proto3"; 2 3 package ntt.cellular_api.v1; 4 5 import "edgelq-sdk/cellular-api/carrier/carrier.proto"; 6 import "google/api/resource.proto"; 7 import "goten-sdk/types/meta.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/cellular-api/resources/v1/sim_card;sim_card"; 10 option java_multiple_files = true; 11 option java_outer_classname = "SimCardProto"; 12 option java_package = "com.ntt.cellular_api.pb.v1"; 13 14 // SimCard Resource 15 message SimCard { 16 option (google.api.resource) = { 17 type : "cellular-api.edgelq.com/SimCard" 18 pattern : "projects/{project}/regions/{region}/simCards/{sim_card}" 19 }; 20 21 // Name of SimCard 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: \\d{19} 25 string name = 1; 26 27 // Metadata is an object with information like create, update and delete time 28 // (for async deleted resources), has user labels/annotations, sharding 29 // information, multi-region syncing information and may have non-schema 30 // owners (useful for taking ownership of resources belonging to lower level 31 // services by higher ones). 32 goten.types.Meta metadata = 2; 33 34 string contract = 3; 35 // this introduces 'import cycle not allowed' 36 // string sim_card_stock = 4 [ (goten.annotations.type).reference = { 37 // resource : "SimCardStock" 38 // target_delete_behavior : ALLOW_DANGLING 39 // } ]; 40 41 string imsi = 5; 42 43 string rate_plan = 6; 44 45 Status status = 7; 46 47 message Status { 48 ntt.cellular_api.carrier.SimState state = 1; 49 50 string error = 2; 51 } 52 }