File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
google/cloud/parametermanager/v1 Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ option java_outer_classname = "V1mainProto";
3333option java_package = "com.google.cloud.parametermanager.v1" ;
3434option php_namespace = "Google\\Cloud\\ParameterManager\\V1" ;
3535option ruby_package = "Google::Cloud::ParameterManager::V1" ;
36+ option (google.api.resource_definition ) = {
37+ type : "cloudkms.googleapis.com/CryptoKey"
38+ pattern : "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}"
39+ };
3640
3741// Service describing handlers for resources
3842service ParameterManager {
@@ -210,7 +214,12 @@ message Parameter {
210214 // will be used. Cloud KMS CryptoKeys must reside in the same location as the
211215 // Parameter. The expected format is
212216 // `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
213- optional string kms_key = 7 [(google.api.field_behavior ) = OPTIONAL ];
217+ optional string kms_key = 7 [
218+ (google.api.field_behavior ) = OPTIONAL ,
219+ (google.api.resource_reference ) = {
220+ type : "cloudkms.googleapis.com/CryptoKey"
221+ }
222+ ];
214223}
215224
216225// Message for requesting list of Parameters
You can’t perform that action at this time.
0 commit comments