Skip to content

Commit 1392da5

Browse files
docs: [google-cloud-kms] in google.cloud.kms.v1.PublicKey, pem field is always populated (#12584)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 625414261 Source-Link: googleapis/googleapis@1c2d027 Source-Link: googleapis/googleapis-gen@79eaf4e Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWttcy8uT3dsQm90LnlhbWwiLCJoIjoiNzllYWY0ZTUyZTAwODZiNTRmMmRlOGZlZTY2YTU4YjVhMWI3NjI3MyJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c704e63 commit 1392da5

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

  • packages/google-cloud-kms/google/cloud/kms_v1/types

packages/google-cloud-kms/google/cloud/kms_v1/types/resources.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -902,11 +902,9 @@ class PublicKey(proto.Message):
902902
903903
Attributes:
904904
pem (str):
905-
A public key encoded in PEM format, populated only when
906-
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
907-
returns one key. For more information, see the `RFC
908-
7468 <https://tools.ietf.org/html/rfc7468>`__ sections for
909-
`General
905+
The public key, encoded in PEM format. For more information,
906+
see the `RFC 7468 <https://tools.ietf.org/html/rfc7468>`__
907+
sections for `General
910908
Considerations <https://tools.ietf.org/html/rfc7468#section-2>`__
911909
and [Textual Encoding of Subject Public Key Info]
912910
(https://tools.ietf.org/html/rfc7468#section-13).
@@ -915,11 +913,9 @@ class PublicKey(proto.Message):
915913
[Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
916914
associated with this key.
917915
pem_crc32c (google.protobuf.wrappers_pb2.Int64Value):
918-
Integrity verification field: A CRC32C checksum of the
916+
Integrity verification field. A CRC32C checksum of the
919917
returned [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem].
920-
It is only populated when
921-
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
922-
returns one key. An integrity check of
918+
An integrity check of
923919
[PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be
924920
performed by computing the CRC32C checksum of
925921
[PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and

0 commit comments

Comments
 (0)