Skip to content

Commit

Permalink
fix: protos: removed extra resource annotations, no code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and alexander-fenster committed Jan 9, 2020
1 parent 1bdf10f commit 7a1e354
Show file tree
Hide file tree
Showing 3 changed files with 728 additions and 703 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -679,10 +679,7 @@ message CreateImportJobRequest {
message UpdateCryptoKeyRequest {
// Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values.
CryptoKey crypto_key = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "cloudkms.googleapis.com/CryptoKey"
}
(google.api.field_behavior) = REQUIRED
];

// Required. List of fields to be updated in this request.
Expand All @@ -693,10 +690,7 @@ message UpdateCryptoKeyRequest {
message UpdateCryptoKeyVersionRequest {
// Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values.
CryptoKeyVersion crypto_key_version = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
type: "cloudkms.googleapis.com/CryptoKeyVersion"
}
(google.api.field_behavior) = REQUIRED
];

// Required. List of fields to be updated in this request.
Expand Down
6 changes: 2 additions & 4 deletions packages/google-cloud-kms/protos/protos.json
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,7 @@
"type": "CryptoKey",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKey"
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
Expand All @@ -677,8 +676,7 @@
"type": "CryptoKeyVersion",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKeyVersion"
"(google.api.field_behavior)": "REQUIRED"
}
},
"updateMask": {
Expand Down
Loading

0 comments on commit 7a1e354

Please sign in to comment.