Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
chore: use gapic-generator-python 0.62.1 (#188)
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

Release-As: 2.10.2
  • Loading branch information
gcf-owl-bot[bot] committed Feb 4, 2022
1 parent f545e29 commit 07fbf3c
Show file tree
Hide file tree
Showing 12 changed files with 331 additions and 188 deletions.
48 changes: 24 additions & 24 deletions google/cloud/container_v1/services/cluster_manager/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ async def list_clusters(
"""
# 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([project_id, zone, parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -378,7 +378,7 @@ async def get_cluster(
A Google Kubernetes Engine cluster.
"""
# 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([project_id, zone, cluster_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -509,7 +509,7 @@ async def create_cluster(
"""
# 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([project_id, zone, cluster, parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -628,7 +628,7 @@ async def update_cluster(
"""
# 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([project_id, zone, cluster_id, update, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -865,7 +865,7 @@ async def set_logging_service(
"""
# 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(
[project_id, zone, cluster_id, logging_service, name]
Expand Down Expand Up @@ -1002,7 +1002,7 @@ async def set_monitoring_service(
"""
# 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(
[project_id, zone, cluster_id, monitoring_service, name]
Expand Down Expand Up @@ -1126,7 +1126,7 @@ async def set_addons_config(
"""
# 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([project_id, zone, cluster_id, addons_config, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1260,7 +1260,7 @@ async def set_locations(
)

# 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([project_id, zone, cluster_id, locations, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1393,7 +1393,7 @@ async def update_master(
"""
# 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([project_id, zone, cluster_id, master_version, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1569,7 +1569,7 @@ async def delete_cluster(
"""
# 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([project_id, zone, cluster_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1671,7 +1671,7 @@ async def list_operations(
"""
# 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([project_id, zone])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1787,7 +1787,7 @@ async def get_operation(
"""
# 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([project_id, zone, operation_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1899,7 +1899,7 @@ async def cancel_operation(
sent along with the request as metadata.
"""
# 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([project_id, zone, operation_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -1997,7 +1997,7 @@ async def get_server_config(
"""
# 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([project_id, zone, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2169,7 +2169,7 @@ async def list_node_pools(
"""
# 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([project_id, zone, cluster_id, parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2304,7 +2304,7 @@ async def get_node_pool(
"""
# 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([project_id, zone, cluster_id, node_pool_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2432,7 +2432,7 @@ async def create_node_pool(
"""
# 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([project_id, zone, cluster_id, node_pool, parent])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2554,7 +2554,7 @@ async def delete_node_pool(
"""
# 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([project_id, zone, cluster_id, node_pool_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2692,7 +2692,7 @@ async def rollback_node_pool_upgrade(
"""
# 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([project_id, zone, cluster_id, node_pool_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -2918,7 +2918,7 @@ async def set_legacy_abac(
"""
# 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([project_id, zone, cluster_id, enabled, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -3031,7 +3031,7 @@ async def start_ip_rotation(
"""
# 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([project_id, zone, cluster_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -3141,7 +3141,7 @@ async def complete_ip_rotation(
"""
# 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([project_id, zone, cluster_id, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -3313,7 +3313,7 @@ async def set_network_policy(
"""
# 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([project_id, zone, cluster_id, network_policy, name])
if request is not None and has_flattened_params:
Expand Down Expand Up @@ -3430,7 +3430,7 @@ async def set_maintenance_policy(
"""
# 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(
[project_id, zone, cluster_id, maintenance_policy, name]
Expand Down
Loading

0 comments on commit 07fbf3c

Please sign in to comment.