Skip to content

Commit

Permalink
docs: [google-cloud-kms] in google.cloud.kms.v1.PublicKey, pem field …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 17, 2024
1 parent c704e63 commit 1392da5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions packages/google-cloud-kms/google/cloud/kms_v1/types/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,11 +902,9 @@ class PublicKey(proto.Message):
Attributes:
pem (str):
A public key encoded in PEM format, populated only when
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
returns one key. For more information, see the `RFC
7468 <https://tools.ietf.org/html/rfc7468>`__ sections for
`General
The public key, encoded in PEM format. For more information,
see the `RFC 7468 <https://tools.ietf.org/html/rfc7468>`__
sections for `General
Considerations <https://tools.ietf.org/html/rfc7468#section-2>`__
and [Textual Encoding of Subject Public Key Info]
(https://tools.ietf.org/html/rfc7468#section-13).
Expand All @@ -915,11 +913,9 @@ class PublicKey(proto.Message):
[Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
associated with this key.
pem_crc32c (google.protobuf.wrappers_pb2.Int64Value):
Integrity verification field: A CRC32C checksum of the
Integrity verification field. A CRC32C checksum of the
returned [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem].
It is only populated when
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
returns one key. An integrity check of
An integrity check of
[PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be
performed by computing the CRC32C checksum of
[PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and
Expand Down

0 comments on commit 1392da5

Please sign in to comment.