Skip to content

Commit 66f33a7

Browse files
chore: use gapic-generator-python 0.63.4 (#239)
* chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: googleapis/googleapis@ea58002 Source-Link: googleapis/googleapis-gen@ca893ff Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Bu Sun Kim <[email protected]>
1 parent c96016e commit 66f33a7

File tree

65 files changed

+300
-330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+300
-330
lines changed

packages/google-cloud-kms/google/cloud/kms_v1/services/ekm_service/async_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async def list_ekm_connections(
223223
) -> pagers.ListEkmConnectionsAsyncPager:
224224
r"""Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].
225225
226-
.. code-block::
226+
.. code-block:: python
227227
228228
from google.cloud import kms_v1
229229
@@ -338,7 +338,7 @@ async def get_ekm_connection(
338338
[EkmConnection][google.cloud.kms.v1.EkmConnection].
339339
340340
341-
.. code-block::
341+
.. code-block:: python
342342
343343
from google.cloud import kms_v1
344344
@@ -455,7 +455,7 @@ async def create_ekm_connection(
455455
in a given Project and Location.
456456
457457
458-
.. code-block::
458+
.. code-block:: python
459459
460460
from google.cloud import kms_v1
461461
@@ -591,7 +591,7 @@ async def update_ekm_connection(
591591
metadata.
592592
593593
594-
.. code-block::
594+
.. code-block:: python
595595
596596
from google.cloud import kms_v1
597597

packages/google-cloud-kms/google/cloud/kms_v1/services/ekm_service/client.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,7 @@ def list_ekm_connections(
440440
) -> pagers.ListEkmConnectionsPager:
441441
r"""Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].
442442
443-
444-
.. code-block::
443+
.. code-block:: python
445444
446445
from google.cloud import kms_v1
447446
@@ -546,8 +545,7 @@ def get_ekm_connection(
546545
[EkmConnection][google.cloud.kms.v1.EkmConnection].
547546
548547
549-
550-
.. code-block::
548+
.. code-block:: python
551549
552550
from google.cloud import kms_v1
553551
@@ -654,8 +652,7 @@ def create_ekm_connection(
654652
in a given Project and Location.
655653
656654
657-
658-
.. code-block::
655+
.. code-block:: python
659656
660657
from google.cloud import kms_v1
661658
@@ -781,8 +778,7 @@ def update_ekm_connection(
781778
metadata.
782779
783780
784-
785-
.. code-block::
781+
.. code-block:: python
786782
787783
from google.cloud import kms_v1
788784

packages/google-cloud-kms/google/cloud/kms_v1/services/key_management_service/async_client.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ async def list_key_rings(
255255
) -> pagers.ListKeyRingsAsyncPager:
256256
r"""Lists [KeyRings][google.cloud.kms.v1.KeyRing].
257257
258-
.. code-block::
258+
.. code-block:: python
259259
260260
from google.cloud import kms_v1
261261
@@ -367,7 +367,7 @@ async def list_crypto_keys(
367367
) -> pagers.ListCryptoKeysAsyncPager:
368368
r"""Lists [CryptoKeys][google.cloud.kms.v1.CryptoKey].
369369
370-
.. code-block::
370+
.. code-block:: python
371371
372372
from google.cloud import kms_v1
373373
@@ -479,7 +479,7 @@ async def list_crypto_key_versions(
479479
) -> pagers.ListCryptoKeyVersionsAsyncPager:
480480
r"""Lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
481481
482-
.. code-block::
482+
.. code-block:: python
483483
484484
from google.cloud import kms_v1
485485
@@ -592,7 +592,7 @@ async def list_import_jobs(
592592
) -> pagers.ListImportJobsAsyncPager:
593593
r"""Lists [ImportJobs][google.cloud.kms.v1.ImportJob].
594594
595-
.. code-block::
595+
.. code-block:: python
596596
597597
from google.cloud import kms_v1
598598
@@ -706,7 +706,7 @@ async def get_key_ring(
706706
[KeyRing][google.cloud.kms.v1.KeyRing].
707707
708708
709-
.. code-block::
709+
.. code-block:: python
710710
711711
from google.cloud import kms_v1
712712
@@ -811,7 +811,7 @@ async def get_crypto_key(
811811
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
812812
813813
814-
.. code-block::
814+
.. code-block:: python
815815
816816
from google.cloud import kms_v1
817817
@@ -921,7 +921,7 @@ async def get_crypto_key_version(
921921
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
922922
923923
924-
.. code-block::
924+
.. code-block:: python
925925
926926
from google.cloud import kms_v1
927927
@@ -1043,7 +1043,7 @@ async def get_public_key(
10431043
[ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
10441044
10451045
1046-
.. code-block::
1046+
.. code-block:: python
10471047
10481048
from google.cloud import kms_v1
10491049
@@ -1150,7 +1150,7 @@ async def get_import_job(
11501150
[ImportJob][google.cloud.kms.v1.ImportJob].
11511151
11521152
1153-
.. code-block::
1153+
.. code-block:: python
11541154
11551155
from google.cloud import kms_v1
11561156
@@ -1300,7 +1300,7 @@ async def create_key_ring(
13001300
Project and Location.
13011301
13021302
1303-
.. code-block::
1303+
.. code-block:: python
13041304
13051305
from google.cloud import kms_v1
13061306
@@ -1429,7 +1429,7 @@ async def create_crypto_key(
14291429
are required.
14301430
14311431
1432-
.. code-block::
1432+
.. code-block:: python
14331433
14341434
from google.cloud import kms_v1
14351435
@@ -1565,7 +1565,7 @@ async def create_crypto_key_version(
15651565
[ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].
15661566
15671567
1568-
.. code-block::
1568+
.. code-block:: python
15691569
15701570
from google.cloud import kms_v1
15711571
@@ -1689,7 +1689,7 @@ async def import_crypto_key_version(
16891689
[CryptoKey][google.cloud.kms.v1.CryptoKey].
16901690
16911691
1692-
.. code-block::
1692+
.. code-block:: python
16931693
16941694
from google.cloud import kms_v1
16951695
@@ -1781,7 +1781,7 @@ async def create_import_job(
17811781
is required.
17821782
17831783
1784-
.. code-block::
1784+
.. code-block:: python
17851785
17861786
from google.cloud import kms_v1
17871787
@@ -1952,7 +1952,7 @@ async def update_crypto_key(
19521952
) -> resources.CryptoKey:
19531953
r"""Update a [CryptoKey][google.cloud.kms.v1.CryptoKey].
19541954
1955-
.. code-block::
1955+
.. code-block:: python
19561956
19571957
from google.cloud import kms_v1
19581958
@@ -2084,7 +2084,7 @@ async def update_crypto_key_version(
20842084
to move between other states.
20852085
20862086
2087-
.. code-block::
2087+
.. code-block:: python
20882088
20892089
from google.cloud import kms_v1
20902090
@@ -2215,7 +2215,7 @@ async def update_crypto_key_primary_version(
22152215
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
22162216
22172217
2218-
.. code-block::
2218+
.. code-block:: python
22192219
22202220
from google.cloud import kms_v1
22212221
@@ -2356,7 +2356,7 @@ async def destroy_crypto_key_version(
23562356
may be called to reverse the process.
23572357
23582358
2359-
.. code-block::
2359+
.. code-block:: python
23602360
23612361
from google.cloud import kms_v1
23622362
@@ -2482,7 +2482,7 @@ async def restore_crypto_key_version(
24822482
will be cleared.
24832483
24842484
2485-
.. code-block::
2485+
.. code-block:: python
24862486
24872487
from google.cloud import kms_v1
24882488
@@ -2602,7 +2602,7 @@ async def encrypt(
26022602
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
26032603
26042604
2605-
.. code-block::
2605+
.. code-block:: python
26062606
26072607
from google.cloud import kms_v1
26082608
@@ -2735,7 +2735,7 @@ async def decrypt(
27352735
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
27362736
27372737
2738-
.. code-block::
2738+
.. code-block:: python
27392739
27402740
from google.cloud import kms_v1
27412741
@@ -2855,7 +2855,7 @@ async def asymmetric_sign(
28552855
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
28562856
28572857
2858-
.. code-block::
2858+
.. code-block:: python
28592859
28602860
from google.cloud import kms_v1
28612861
@@ -2980,7 +2980,7 @@ async def asymmetric_decrypt(
29802980
ASYMMETRIC_DECRYPT.
29812981
29822982
2983-
.. code-block::
2983+
.. code-block:: python
29842984
29852985
from google.cloud import kms_v1
29862986
@@ -3099,7 +3099,7 @@ async def mac_sign(
30993099
same key.
31003100
31013101
3102-
.. code-block::
3102+
.. code-block:: python
31033103
31043104
from google.cloud import kms_v1
31053105
@@ -3219,7 +3219,7 @@ async def mac_verify(
32193219
verification was successful.
32203220
32213221
3222-
.. code-block::
3222+
.. code-block:: python
32233223
32243224
from google.cloud import kms_v1
32253225
@@ -3344,7 +3344,7 @@ async def generate_random_bytes(
33443344
source in the provided location.
33453345
33463346
3347-
.. code-block::
3347+
.. code-block:: python
33483348
33493349
from google.cloud import kms_v1
33503350

0 commit comments

Comments
 (0)