@@ -255,7 +255,7 @@ async def list_key_rings(
255
255
) -> pagers .ListKeyRingsAsyncPager :
256
256
r"""Lists [KeyRings][google.cloud.kms.v1.KeyRing].
257
257
258
- .. code-block::
258
+ .. code-block:: python
259
259
260
260
from google.cloud import kms_v1
261
261
@@ -367,7 +367,7 @@ async def list_crypto_keys(
367
367
) -> pagers .ListCryptoKeysAsyncPager :
368
368
r"""Lists [CryptoKeys][google.cloud.kms.v1.CryptoKey].
369
369
370
- .. code-block::
370
+ .. code-block:: python
371
371
372
372
from google.cloud import kms_v1
373
373
@@ -479,7 +479,7 @@ async def list_crypto_key_versions(
479
479
) -> pagers .ListCryptoKeyVersionsAsyncPager :
480
480
r"""Lists [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
481
481
482
- .. code-block::
482
+ .. code-block:: python
483
483
484
484
from google.cloud import kms_v1
485
485
@@ -592,7 +592,7 @@ async def list_import_jobs(
592
592
) -> pagers .ListImportJobsAsyncPager :
593
593
r"""Lists [ImportJobs][google.cloud.kms.v1.ImportJob].
594
594
595
- .. code-block::
595
+ .. code-block:: python
596
596
597
597
from google.cloud import kms_v1
598
598
@@ -706,7 +706,7 @@ async def get_key_ring(
706
706
[KeyRing][google.cloud.kms.v1.KeyRing].
707
707
708
708
709
- .. code-block::
709
+ .. code-block:: python
710
710
711
711
from google.cloud import kms_v1
712
712
@@ -811,7 +811,7 @@ async def get_crypto_key(
811
811
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
812
812
813
813
814
- .. code-block::
814
+ .. code-block:: python
815
815
816
816
from google.cloud import kms_v1
817
817
@@ -921,7 +921,7 @@ async def get_crypto_key_version(
921
921
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion].
922
922
923
923
924
- .. code-block::
924
+ .. code-block:: python
925
925
926
926
from google.cloud import kms_v1
927
927
@@ -1043,7 +1043,7 @@ async def get_public_key(
1043
1043
[ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT].
1044
1044
1045
1045
1046
- .. code-block::
1046
+ .. code-block:: python
1047
1047
1048
1048
from google.cloud import kms_v1
1049
1049
@@ -1150,7 +1150,7 @@ async def get_import_job(
1150
1150
[ImportJob][google.cloud.kms.v1.ImportJob].
1151
1151
1152
1152
1153
- .. code-block::
1153
+ .. code-block:: python
1154
1154
1155
1155
from google.cloud import kms_v1
1156
1156
@@ -1300,7 +1300,7 @@ async def create_key_ring(
1300
1300
Project and Location.
1301
1301
1302
1302
1303
- .. code-block::
1303
+ .. code-block:: python
1304
1304
1305
1305
from google.cloud import kms_v1
1306
1306
@@ -1429,7 +1429,7 @@ async def create_crypto_key(
1429
1429
are required.
1430
1430
1431
1431
1432
- .. code-block::
1432
+ .. code-block:: python
1433
1433
1434
1434
from google.cloud import kms_v1
1435
1435
@@ -1565,7 +1565,7 @@ async def create_crypto_key_version(
1565
1565
[ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED].
1566
1566
1567
1567
1568
- .. code-block::
1568
+ .. code-block:: python
1569
1569
1570
1570
from google.cloud import kms_v1
1571
1571
@@ -1689,7 +1689,7 @@ async def import_crypto_key_version(
1689
1689
[CryptoKey][google.cloud.kms.v1.CryptoKey].
1690
1690
1691
1691
1692
- .. code-block::
1692
+ .. code-block:: python
1693
1693
1694
1694
from google.cloud import kms_v1
1695
1695
@@ -1781,7 +1781,7 @@ async def create_import_job(
1781
1781
is required.
1782
1782
1783
1783
1784
- .. code-block::
1784
+ .. code-block:: python
1785
1785
1786
1786
from google.cloud import kms_v1
1787
1787
@@ -1952,7 +1952,7 @@ async def update_crypto_key(
1952
1952
) -> resources .CryptoKey :
1953
1953
r"""Update a [CryptoKey][google.cloud.kms.v1.CryptoKey].
1954
1954
1955
- .. code-block::
1955
+ .. code-block:: python
1956
1956
1957
1957
from google.cloud import kms_v1
1958
1958
@@ -2084,7 +2084,7 @@ async def update_crypto_key_version(
2084
2084
to move between other states.
2085
2085
2086
2086
2087
- .. code-block::
2087
+ .. code-block:: python
2088
2088
2089
2089
from google.cloud import kms_v1
2090
2090
@@ -2215,7 +2215,7 @@ async def update_crypto_key_primary_version(
2215
2215
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
2216
2216
2217
2217
2218
- .. code-block::
2218
+ .. code-block:: python
2219
2219
2220
2220
from google.cloud import kms_v1
2221
2221
@@ -2356,7 +2356,7 @@ async def destroy_crypto_key_version(
2356
2356
may be called to reverse the process.
2357
2357
2358
2358
2359
- .. code-block::
2359
+ .. code-block:: python
2360
2360
2361
2361
from google.cloud import kms_v1
2362
2362
@@ -2482,7 +2482,7 @@ async def restore_crypto_key_version(
2482
2482
will be cleared.
2483
2483
2484
2484
2485
- .. code-block::
2485
+ .. code-block:: python
2486
2486
2487
2487
from google.cloud import kms_v1
2488
2488
@@ -2602,7 +2602,7 @@ async def encrypt(
2602
2602
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
2603
2603
2604
2604
2605
- .. code-block::
2605
+ .. code-block:: python
2606
2606
2607
2607
from google.cloud import kms_v1
2608
2608
@@ -2735,7 +2735,7 @@ async def decrypt(
2735
2735
[ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].
2736
2736
2737
2737
2738
- .. code-block::
2738
+ .. code-block:: python
2739
2739
2740
2740
from google.cloud import kms_v1
2741
2741
@@ -2855,7 +2855,7 @@ async def asymmetric_sign(
2855
2855
[GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
2856
2856
2857
2857
2858
- .. code-block::
2858
+ .. code-block:: python
2859
2859
2860
2860
from google.cloud import kms_v1
2861
2861
@@ -2980,7 +2980,7 @@ async def asymmetric_decrypt(
2980
2980
ASYMMETRIC_DECRYPT.
2981
2981
2982
2982
2983
- .. code-block::
2983
+ .. code-block:: python
2984
2984
2985
2985
from google.cloud import kms_v1
2986
2986
@@ -3099,7 +3099,7 @@ async def mac_sign(
3099
3099
same key.
3100
3100
3101
3101
3102
- .. code-block::
3102
+ .. code-block:: python
3103
3103
3104
3104
from google.cloud import kms_v1
3105
3105
@@ -3219,7 +3219,7 @@ async def mac_verify(
3219
3219
verification was successful.
3220
3220
3221
3221
3222
- .. code-block::
3222
+ .. code-block:: python
3223
3223
3224
3224
from google.cloud import kms_v1
3225
3225
@@ -3344,7 +3344,7 @@ async def generate_random_bytes(
3344
3344
source in the provided location.
3345
3345
3346
3346
3347
- .. code-block::
3347
+ .. code-block:: python
3348
3348
3349
3349
from google.cloud import kms_v1
3350
3350
0 commit comments