Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.62.1 (#232)
Browse files Browse the repository at this point in the history
- [ ] 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: googleapis/googleapis-gen@4fb761b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGZiNzYxYmJkODUwNmFjMTU2ZjQ5YmFjNWYxODMwNmFhOGViM2FhOCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Feb 3, 2022
1 parent 5069409 commit bc3e067
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ async def list_key_rings(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -376,7 +376,7 @@ async def list_crypto_keys(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -469,7 +469,7 @@ async def list_crypto_key_versions(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -561,7 +561,7 @@ async def list_import_jobs(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -651,7 +651,7 @@ async def get_key_ring(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -743,7 +743,7 @@ async def get_crypto_key(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -839,7 +839,7 @@ async def get_crypto_key_version(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -929,7 +929,7 @@ async def get_public_key(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1056,7 +1056,7 @@ async def get_import_job(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1157,7 +1157,7 @@ async def create_key_ring(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent, key_ring_id, key_ring])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1271,7 +1271,7 @@ async def create_crypto_key(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent, crypto_key_id, crypto_key])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1386,7 +1386,7 @@ async def create_crypto_key_version(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent, crypto_key_version])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1594,7 +1594,7 @@ async def create_import_job(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent, import_job_id, import_job])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1694,7 +1694,7 @@ async def update_crypto_key(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([crypto_key, update_mask])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1813,7 +1813,7 @@ async def update_crypto_key_version(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([crypto_key_version, update_mask])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1919,7 +1919,7 @@ async def update_crypto_key_primary_version(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name, crypto_key_version_id])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2037,7 +2037,7 @@ async def destroy_crypto_key_version(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2142,7 +2142,7 @@ async def restore_crypto_key_version(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2252,7 +2252,7 @@ async def encrypt(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name, plaintext])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2350,7 +2350,7 @@ async def decrypt(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name, ciphertext])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2450,7 +2450,7 @@ async def asymmetric_sign(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name, digest])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2550,7 +2550,7 @@ async def asymmetric_decrypt(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name, ciphertext])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2648,7 +2648,7 @@ async def mac_sign(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name, data])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2752,7 +2752,7 @@ async def mac_verify(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name, data, mac])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2824,8 +2824,8 @@ async def generate_random_bytes(
location (:class:`str`):
The project-specific location in
which to generate random bytes. For
example, "projects/my-
project/locations/us-central1".
example,
"projects/my-project/locations/us-central1".
This corresponds to the ``location`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -2860,7 +2860,7 @@ async def generate_random_bytes(
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# Quick check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([location, length_bytes, protection_level])
if request is not None and has_flattened_params:
Expand Down
Loading

0 comments on commit bc3e067

Please sign in to comment.