Skip to content

Commit 29b2bad

Browse files
Google APIscopybara-github
authored andcommitted
feat: Adding eTag field to AutokeyConfig
docs: Updating docs for total_size field in KMS List APIs PiperOrigin-RevId: 758946748
1 parent f319bbc commit 29b2bad

4 files changed

Lines changed: 28 additions & 1 deletion

File tree

google/cloud/kms/v1/autokey_admin.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ message AutokeyConfig {
147147

148148
// Output only. The state for the AutokeyConfig.
149149
State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
150+
151+
// Optional. A checksum computed by the server based on the value of other
152+
// fields. This may be sent on update requests to ensure that the client has
153+
// an up-to-date value before proceeding. The request will be rejected with an
154+
// ABORTED error on a mismatched etag.
155+
string etag = 6 [(google.api.field_behavior) = OPTIONAL];
150156
}
151157

152158
// Request message for

google/cloud/kms/v1/ekm_service.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ message ListEkmConnectionsResponse {
168168

169169
// The total number of [EkmConnections][google.cloud.kms.v1.EkmConnection]
170170
// that matched the query.
171+
//
172+
// This field is not populated if
173+
// [ListEkmConnectionsRequest.filter][google.cloud.kms.v1.ListEkmConnectionsRequest.filter]
174+
// is applied.
171175
int32 total_size = 3;
172176
}
173177

google/cloud/kms/v1/resources.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ message CryptoKeyVersion {
349349
// The suffix following `HMAC_` corresponds to the hash algorithm being used
350350
// (eg. SHA256).
351351
//
352+
// Algorithms beginning with `PQ_` are post-quantum.
352353
//
353354
// For more information, see [Key purposes and algorithms]
354355
// (https://cloud.google.com/kms/docs/algorithms).
@@ -499,7 +500,7 @@ message CryptoKeyVersion {
499500
// state.
500501
DISABLED = 2;
501502

502-
// This version is destroyed, and the key material is no longer stored.
503+
// This key material of this version is destroyed and no longer stored.
503504
// This version may only become
504505
// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED]
505506
// again if this version is

google/cloud/kms/v1/service.proto

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,10 @@ message ListKeyRingsResponse {
576576

577577
// The total number of [KeyRings][google.cloud.kms.v1.KeyRing] that matched
578578
// the query.
579+
//
580+
// This field is not populated if
581+
// [ListKeyRingsRequest.filter][google.cloud.kms.v1.ListKeyRingsRequest.filter]
582+
// is applied.
579583
int32 total_size = 3;
580584
}
581585

@@ -592,6 +596,10 @@ message ListCryptoKeysResponse {
592596

593597
// The total number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] that
594598
// matched the query.
599+
//
600+
// This field is not populated if
601+
// [ListCryptoKeysRequest.filter][google.cloud.kms.v1.ListCryptoKeysRequest.filter]
602+
// is applied.
595603
int32 total_size = 3;
596604
}
597605

@@ -609,6 +617,10 @@ message ListCryptoKeyVersionsResponse {
609617
// The total number of
610618
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] that matched the
611619
// query.
620+
//
621+
// This field is not populated if
622+
// [ListCryptoKeyVersionsRequest.filter][google.cloud.kms.v1.ListCryptoKeyVersionsRequest.filter]
623+
// is applied.
612624
int32 total_size = 3;
613625
}
614626

@@ -625,6 +637,10 @@ message ListImportJobsResponse {
625637

626638
// The total number of [ImportJobs][google.cloud.kms.v1.ImportJob] that
627639
// matched the query.
640+
//
641+
// This field is not populated if
642+
// [ListImportJobsRequest.filter][google.cloud.kms.v1.ListImportJobsRequest.filter]
643+
// is applied.
628644
int32 total_size = 3;
629645
}
630646

0 commit comments

Comments
 (0)