Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit ea4717c

Browse files
docs: Minor formatting (#411)
* docs: Minor formatting PiperOrigin-RevId: 553100418 Source-Link: googleapis/googleapis@09b5fc6 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8441eb3ec2acb464b346fa73719063f7b2c82adf Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODQ0MWViM2VjMmFjYjQ2NGIzNDZmYTczNzE5MDYzZjdiMmM4MmFkZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 4df5691 commit ea4717c

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

google/cloud/kms_v1/types/resources.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -553,40 +553,40 @@ class CryptoKeyVersionAlgorithm(proto.Enum):
553553
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
554554
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
555555
556-
Algorithms beginning with "RSA_SIGN\_" are usable with
556+
Algorithms beginning with ``RSA_SIGN_`` are usable with
557557
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
558558
[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
559559
560-
The fields in the name after "RSA_SIGN\_" correspond to the following
561-
parameters: padding algorithm, modulus bit length, and digest
562-
algorithm.
560+
The fields in the name after ``RSA_SIGN_`` correspond to the
561+
following parameters: padding algorithm, modulus bit length, and
562+
digest algorithm.
563563
564564
For PSS, the salt length used is equal to the length of digest
565565
algorithm. For example,
566566
[RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256]
567567
will use PSS with a salt length of 256 bits or 32 bytes.
568568
569-
Algorithms beginning with "RSA_DECRYPT\_" are usable with
569+
Algorithms beginning with ``RSA_DECRYPT_`` are usable with
570570
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
571571
[ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
572572
573-
The fields in the name after "RSA_DECRYPT\_" correspond to the
573+
The fields in the name after ``RSA_DECRYPT_`` correspond to the
574574
following parameters: padding algorithm, modulus bit length, and
575575
digest algorithm.
576576
577-
Algorithms beginning with "EC_SIGN\_" are usable with
577+
Algorithms beginning with ``EC_SIGN_`` are usable with
578578
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
579579
[ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN].
580580
581-
The fields in the name after "EC_SIGN\_" correspond to the following
582-
parameters: elliptic curve, digest algorithm.
581+
The fields in the name after ``EC_SIGN_`` correspond to the
582+
following parameters: elliptic curve, digest algorithm.
583583
584-
Algorithms beginning with "HMAC\_" are usable with
584+
Algorithms beginning with ``HMAC_`` are usable with
585585
[CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose]
586586
[MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC].
587587
588-
The suffix following "HMAC\_" corresponds to the hash algorithm being
589-
used (eg. SHA256).
588+
The suffix following ``HMAC_`` corresponds to the hash algorithm
589+
being used (eg. SHA256).
590590
591591
For more information, see [Key purposes and algorithms]
592592
(https://cloud.google.com/kms/docs/algorithms).

samples/generated_samples/snippet_metadata_google.cloud.kms.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-kms",
11-
"version": "2.19.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)