Content-Length: 774527 | pFad | https://github.com/googleapis/python-kms/commit/97f7ea50a30d1dc1133d7703e6bd90ad209f75a1

77 chore: use gapic-generator-python 0.62.1 (#232) · googleapis/python-kms@97f7ea5 · GitHub
Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 97f7ea5

Browse files
chore: use gapic-generator-python 0.62.1 (#232)
- [ ] Regenerate this pull request now. fix: resolve DuplicateCredentialArgs error when using credentials_file committer: parthea PiperOrigin-RevId: 425964861 Source-Link: googleapis/googleapis@84b1a5a Source-Link: https://github.com/googleapis/googleapis-gen/commit/4fb761bbd8506ac156f49bac5f18306aa8eb3aa8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGZiNzYxYmJkODUwNmFjMTU2ZjQ5YmFjNWYxODMwNmFhOGViM2FhOCJ9
1 parent fdf62ae commit 97f7ea5

File tree

5 files changed

+136
-58
lines changed

5 files changed

+136
-58
lines changed

google/cloud/kms_v1/services/key_management_service/async_client.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ async def list_key_rings(
284284
285285
"""
286286
# Create or coerce a protobuf request object.
287-
# Sanity check: If we got a request object, we should *not* have
287+
# Quick check: If we got a request object, we should *not* have
288288
# gotten any keyword arguments that map to the request.
289289
has_flattened_params = any([parent])
290290
if request is not None and has_flattened_params:
@@ -376,7 +376,7 @@ async def list_crypto_keys(
376376
377377
"""
378378
# Create or coerce a protobuf request object.
379-
# Sanity check: If we got a request object, we should *not* have
379+
# Quick check: If we got a request object, we should *not* have
380380
# gotten any keyword arguments that map to the request.
381381
has_flattened_params = any([parent])
382382
if request is not None and has_flattened_params:
@@ -469,7 +469,7 @@ async def list_crypto_key_versions(
469469
470470
"""
471471
# Create or coerce a protobuf request object.
472-
# Sanity check: If we got a request object, we should *not* have
472+
# Quick check: If we got a request object, we should *not* have
473473
# gotten any keyword arguments that map to the request.
474474
has_flattened_params = any([parent])
475475
if request is not None and has_flattened_params:
@@ -561,7 +561,7 @@ async def list_import_jobs(
561561
562562
"""
563563
# Create or coerce a protobuf request object.
564-
# Sanity check: If we got a request object, we should *not* have
564+
# Quick check: If we got a request object, we should *not* have
565565
# gotten any keyword arguments that map to the request.
566566
has_flattened_params = any([parent])
567567
if request is not None and has_flattened_params:
@@ -651,7 +651,7 @@ async def get_key_ring(
651651
652652
"""
653653
# Create or coerce a protobuf request object.
654-
# Sanity check: If we got a request object, we should *not* have
654+
# Quick check: If we got a request object, we should *not* have
655655
# gotten any keyword arguments that map to the request.
656656
has_flattened_params = any([name])
657657
if request is not None and has_flattened_params:
@@ -743,7 +743,7 @@ async def get_crypto_key(
743743
744744
"""
745745
# Create or coerce a protobuf request object.
746-
# Sanity check: If we got a request object, we should *not* have
746+
# Quick check: If we got a request object, we should *not* have
747747
# gotten any keyword arguments that map to the request.
748748
has_flattened_params = any([name])
749749
if request is not None and has_flattened_params:
@@ -839,7 +839,7 @@ async def get_crypto_key_version(
839839
840840
"""
841841
# Create or coerce a protobuf request object.
842-
# Sanity check: If we got a request object, we should *not* have
842+
# Quick check: If we got a request object, we should *not* have
843843
# gotten any keyword arguments that map to the request.
844844
has_flattened_params = any([name])
845845
if request is not None and has_flattened_params:
@@ -929,7 +929,7 @@ async def get_public_key(
929929
930930
"""
931931
# Create or coerce a protobuf request object.
932-
# Sanity check: If we got a request object, we should *not* have
932+
# Quick check: If we got a request object, we should *not* have
933933
# gotten any keyword arguments that map to the request.
934934
has_flattened_params = any([name])
935935
if request is not None and has_flattened_params:
@@ -1056,7 +1056,7 @@ async def get_import_job(
10561056
10571057
"""
10581058
# Create or coerce a protobuf request object.
1059-
# Sanity check: If we got a request object, we should *not* have
1059+
# Quick check: If we got a request object, we should *not* have
10601060
# gotten any keyword arguments that map to the request.
10611061
has_flattened_params = any([name])
10621062
if request is not None and has_flattened_params:
@@ -1157,7 +1157,7 @@ async def create_key_ring(
11571157
11581158
"""
11591159
# Create or coerce a protobuf request object.
1160-
# Sanity check: If we got a request object, we should *not* have
1160+
# Quick check: If we got a request object, we should *not* have
11611161
# gotten any keyword arguments that map to the request.
11621162
has_flattened_params = any([parent, key_ring_id, key_ring])
11631163
if request is not None and has_flattened_params:
@@ -1271,7 +1271,7 @@ async def create_crypto_key(
12711271
12721272
"""
12731273
# Create or coerce a protobuf request object.
1274-
# Sanity check: If we got a request object, we should *not* have
1274+
# Quick check: If we got a request object, we should *not* have
12751275
# gotten any keyword arguments that map to the request.
12761276
has_flattened_params = any([parent, crypto_key_id, crypto_key])
12771277
if request is not None and has_flattened_params:
@@ -1386,7 +1386,7 @@ async def create_crypto_key_version(
13861386
13871387
"""
13881388
# Create or coerce a protobuf request object.
1389-
# Sanity check: If we got a request object, we should *not* have
1389+
# Quick check: If we got a request object, we should *not* have
13901390
# gotten any keyword arguments that map to the request.
13911391
has_flattened_params = any([parent, crypto_key_version])
13921392
if request is not None and has_flattened_params:
@@ -1594,7 +1594,7 @@ async def create_import_job(
15941594
15951595
"""
15961596
# Create or coerce a protobuf request object.
1597-
# Sanity check: If we got a request object, we should *not* have
1597+
# Quick check: If we got a request object, we should *not* have
15981598
# gotten any keyword arguments that map to the request.
15991599
has_flattened_params = any([parent, import_job_id, import_job])
16001600
if request is not None and has_flattened_params:
@@ -1694,7 +1694,7 @@ async def update_crypto_key(
16941694
16951695
"""
16961696
# Create or coerce a protobuf request object.
1697-
# Sanity check: If we got a request object, we should *not* have
1697+
# Quick check: If we got a request object, we should *not* have
16981698
# gotten any keyword arguments that map to the request.
16991699
has_flattened_params = any([crypto_key, update_mask])
17001700
if request is not None and has_flattened_params:
@@ -1813,7 +1813,7 @@ async def update_crypto_key_version(
18131813
18141814
"""
18151815
# Create or coerce a protobuf request object.
1816-
# Sanity check: If we got a request object, we should *not* have
1816+
# Quick check: If we got a request object, we should *not* have
18171817
# gotten any keyword arguments that map to the request.
18181818
has_flattened_params = any([crypto_key_version, update_mask])
18191819
if request is not None and has_flattened_params:
@@ -1919,7 +1919,7 @@ async def update_crypto_key_primary_version(
19191919
19201920
"""
19211921
# Create or coerce a protobuf request object.
1922-
# Sanity check: If we got a request object, we should *not* have
1922+
# Quick check: If we got a request object, we should *not* have
19231923
# gotten any keyword arguments that map to the request.
19241924
has_flattened_params = any([name, crypto_key_version_id])
19251925
if request is not None and has_flattened_params:
@@ -2037,7 +2037,7 @@ async def destroy_crypto_key_version(
20372037
20382038
"""
20392039
# Create or coerce a protobuf request object.
2040-
# Sanity check: If we got a request object, we should *not* have
2040+
# Quick check: If we got a request object, we should *not* have
20412041
# gotten any keyword arguments that map to the request.
20422042
has_flattened_params = any([name])
20432043
if request is not None and has_flattened_params:
@@ -2142,7 +2142,7 @@ async def restore_crypto_key_version(
21422142
21432143
"""
21442144
# Create or coerce a protobuf request object.
2145-
# Sanity check: If we got a request object, we should *not* have
2145+
# Quick check: If we got a request object, we should *not* have
21462146
# gotten any keyword arguments that map to the request.
21472147
has_flattened_params = any([name])
21482148
if request is not None and has_flattened_params:
@@ -2252,7 +2252,7 @@ async def encrypt(
22522252
22532253
"""
22542254
# Create or coerce a protobuf request object.
2255-
# Sanity check: If we got a request object, we should *not* have
2255+
# Quick check: If we got a request object, we should *not* have
22562256
# gotten any keyword arguments that map to the request.
22572257
has_flattened_params = any([name, plaintext])
22582258
if request is not None and has_flattened_params:
@@ -2350,7 +2350,7 @@ async def decrypt(
23502350
23512351
"""
23522352
# Create or coerce a protobuf request object.
2353-
# Sanity check: If we got a request object, we should *not* have
2353+
# Quick check: If we got a request object, we should *not* have
23542354
# gotten any keyword arguments that map to the request.
23552355
has_flattened_params = any([name, ciphertext])
23562356
if request is not None and has_flattened_params:
@@ -2450,7 +2450,7 @@ async def asymmetric_sign(
24502450
24512451
"""
24522452
# Create or coerce a protobuf request object.
2453-
# Sanity check: If we got a request object, we should *not* have
2453+
# Quick check: If we got a request object, we should *not* have
24542454
# gotten any keyword arguments that map to the request.
24552455
has_flattened_params = any([name, digest])
24562456
if request is not None and has_flattened_params:
@@ -2550,7 +2550,7 @@ async def asymmetric_decrypt(
25502550
25512551
"""
25522552
# Create or coerce a protobuf request object.
2553-
# Sanity check: If we got a request object, we should *not* have
2553+
# Quick check: If we got a request object, we should *not* have
25542554
# gotten any keyword arguments that map to the request.
25552555
has_flattened_params = any([name, ciphertext])
25562556
if request is not None and has_flattened_params:
@@ -2648,7 +2648,7 @@ async def mac_sign(
26482648
26492649
"""
26502650
# Create or coerce a protobuf request object.
2651-
# Sanity check: If we got a request object, we should *not* have
2651+
# Quick check: If we got a request object, we should *not* have
26522652
# gotten any keyword arguments that map to the request.
26532653
has_flattened_params = any([name, data])
26542654
if request is not None and has_flattened_params:
@@ -2752,7 +2752,7 @@ async def mac_verify(
27522752
27532753
"""
27542754
# Create or coerce a protobuf request object.
2755-
# Sanity check: If we got a request object, we should *not* have
2755+
# Quick check: If we got a request object, we should *not* have
27562756
# gotten any keyword arguments that map to the request.
27572757
has_flattened_params = any([name, data, mac])
27582758
if request is not None and has_flattened_params:
@@ -2824,8 +2824,8 @@ async def generate_random_bytes(
28242824
location (:class:`str`):
28252825
The project-specific location in
28262826
which to generate random bytes. For
2827-
example, "projects/my-
2828-
project/locations/us-central1".
2827+
example,
2828+
"projects/my-project/locations/us-central1".
28292829
28302830
This corresponds to the ``location`` field
28312831
on the ``request`` instance; if ``request`` is provided, this
@@ -2860,7 +2860,7 @@ async def generate_random_bytes(
28602860
28612861
"""
28622862
# Create or coerce a protobuf request object.
2863-
# Sanity check: If we got a request object, we should *not* have
2863+
# Quick check: If we got a request object, we should *not* have
28642864
# gotten any keyword arguments that map to the request.
28652865
has_flattened_params = any([location, length_bytes, protection_level])
28662866
if request is not None and has_flattened_params:

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/python-kms/commit/97f7ea50a30d1dc1133d7703e6bd90ad209f75a1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy