github.com/cloudwan/edgelq-sdk@v1.15.4/secrets/proto/v1/crypto_key.proto (about) 1 syntax = "proto3"; 2 3 package ntt.secrets.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/secrets/resources/v1/crypto_key;crypto_key"; 9 option java_multiple_files = true; 10 option java_outer_classname = "CryptoKeyProto"; 11 option java_package = "com.ntt.secrets.pb.v1"; 12 13 // CryptoKey Resource 14 message CryptoKey { 15 option (google.api.resource) = { 16 type : "secrets.edgelq.com/CryptoKey" 17 pattern : "projects/{project}/regions/{region}/cryptoKeys/{crypto_key}" 18 }; 19 20 // Name of CryptoKey 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: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 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 key = 3; 34 }