Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit a6ec7ac

Browse files
chore: use gapic-generator-python 0.62.1 (#103)
- [ ] 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 70edb2c commit a6ec7ac

File tree

26 files changed

+694
-58
lines changed

26 files changed

+694
-58
lines changed

google/cloud/appengine_admin_v1/services/applications/transports/grpc.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,11 @@ def __init__(
162162
if not self._grpc_channel:
163163
self._grpc_channel = type(self).create_channel(
164164
self._host,
165+
# use the credentials which are saved
165166
credentials=self._credentials,
166-
credentials_file=credentials_file,
167+
# Set ``credentials_file`` to ``None`` here as
168+
# the credentials that we saved earlier should be used.
169+
credentials_file=None,
167170
scopes=self._scopes,
168171
ssl_credentials=self._ssl_channel_credentials,
169172
quota_project_id=quota_project_id,
@@ -236,7 +239,7 @@ def operations_client(self) -> operations_v1.OperationsClient:
236239
This property caches on the instance; repeated calls return the same
237240
client.
238241
"""
239-
# Sanity check: Only create a new client if we do not already have one.
242+
# Quick check: Only create a new client if we do not already have one.
240243
if self._operations_client is None:
241244
self._operations_client = operations_v1.OperationsClient(self.grpc_channel)
242245

google/cloud/appengine_admin_v1/services/applications/transports/grpc_asyncio.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,11 @@ def __init__(
207207
if not self._grpc_channel:
208208
self._grpc_channel = type(self).create_channel(
209209
self._host,
210+
# use the credentials which are saved
210211
credentials=self._credentials,
211-
credentials_file=credentials_file,
212+
# Set ``credentials_file`` to ``None`` here as
213+
# the credentials that we saved earlier should be used.
214+
credentials_file=None,
212215
scopes=self._scopes,
213216
ssl_credentials=self._ssl_channel_credentials,
214217
quota_project_id=quota_project_id,
@@ -238,7 +241,7 @@ def operations_client(self) -> operations_v1.OperationsAsyncClient:
238241
This property caches on the instance; repeated calls return the same
239242
client.
240243
"""
241-
# Sanity check: Only create a new client if we do not already have one.
244+
# Quick check: Only create a new client if we do not already have one.
242245
if self._operations_client is None:
243246
self._operations_client = operations_v1.OperationsAsyncClient(
244247
self.grpc_channel

google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,11 @@ def __init__(
162162
if not self._grpc_channel:
163163
self._grpc_channel = type(self).create_channel(
164164
self._host,
165+
# use the credentials which are saved
165166
credentials=self._credentials,
166-
credentials_file=credentials_file,
167+
# Set ``credentials_file`` to ``None`` here as
168+
# the credentials that we saved earlier should be used.
169+
credentials_file=None,
167170
scopes=self._scopes,
168171
ssl_credentials=self._ssl_channel_credentials,
169172
quota_project_id=quota_project_id,

google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc_asyncio.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,11 @@ def __init__(
207207
if not self._grpc_channel:
208208
self._grpc_channel = type(self).create_channel(
209209
self._host,
210+
# use the credentials which are saved
210211
credentials=self._credentials,
211-
credentials_file=credentials_file,
212+
# Set ``credentials_file`` to ``None`` here as
213+
# the credentials that we saved earlier should be used.
214+
credentials_file=None,
212215
scopes=self._scopes,
213216
ssl_credentials=self._ssl_channel_credentials,
214217
quota_project_id=quota_project_id,

google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,11 @@ def __init__(
160160
if not self._grpc_channel:
161161
self._grpc_channel = type(self).create_channel(
162162
self._host,
163+
# use the credentials which are saved
163164
credentials=self._credentials,
164-
credentials_file=credentials_file,
165+
# Set ``credentials_file`` to ``None`` here as
166+
# the credentials that we saved earlier should be used.
167+
credentials_file=None,
165168
scopes=self._scopes,
166169
ssl_credentials=self._ssl_channel_credentials,
167170
quota_project_id=quota_project_id,

google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc_asyncio.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,11 @@ def __init__(
205205
if not self._grpc_channel:
206206
self._grpc_channel = type(self).create_channel(
207207
self._host,
208+
# use the credentials which are saved
208209
credentials=self._credentials,
209-
credentials_file=credentials_file,
210+
# Set ``credentials_file`` to ``None`` here as
211+
# the credentials that we saved earlier should be used.
212+
credentials_file=None,
210213
scopes=self._scopes,
211214
ssl_credentials=self._ssl_channel_credentials,
212215
quota_project_id=quota_project_id,

google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,11 @@ def __init__(
162162
if not self._grpc_channel:
163163
self._grpc_channel = type(self).create_channel(
164164
self._host,
165+
# use the credentials which are saved
165166
credentials=self._credentials,
166-
credentials_file=credentials_file,
167+
# Set ``credentials_file`` to ``None`` here as
168+
# the credentials that we saved earlier should be used.
169+
credentials_file=None,
167170
scopes=self._scopes,
168171
ssl_credentials=self._ssl_channel_credentials,
169172
quota_project_id=quota_project_id,
@@ -236,7 +239,7 @@ def operations_client(self) -> operations_v1.OperationsClient:
236239
This property caches on the instance; repeated calls return the same
237240
client.
238241
"""
239-
# Sanity check: Only create a new client if we do not already have one.
242+
# Quick check: Only create a new client if we do not already have one.
240243
if self._operations_client is None:
241244
self._operations_client = operations_v1.OperationsClient(self.grpc_channel)
242245

google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc_asyncio.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,11 @@ def __init__(
207207
if not self._grpc_channel:
208208
self._grpc_channel = type(self).create_channel(
209209
self._host,
210+
# use the credentials which are saved
210211
credentials=self._credentials,
211-
credentials_file=credentials_file,
212+
# Set ``credentials_file`` to ``None`` here as
213+
# the credentials that we saved earlier should be used.
214+
credentials_file=None,
212215
scopes=self._scopes,
213216
ssl_credentials=self._ssl_channel_credentials,
214217
quota_project_id=quota_project_id,
@@ -238,7 +241,7 @@ def operations_client(self) -> operations_v1.OperationsAsyncClient:
238241
This property caches on the instance; repeated calls return the same
239242
client.
240243
"""
241-
# Sanity check: Only create a new client if we do not already have one.
244+
# Quick check: Only create a new client if we do not already have one.
242245
if self._operations_client is None:
243246
self._operations_client = operations_v1.OperationsAsyncClient(
244247
self.grpc_channel

google/cloud/appengine_admin_v1/services/firewall/transports/grpc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,11 @@ def __init__(
170170
if not self._grpc_channel:
171171
self._grpc_channel = type(self).create_channel(
172172
self._host,
173+
# use the credentials which are saved
173174
credentials=self._credentials,
174-
credentials_file=credentials_file,
175+
# Set ``credentials_file`` to ``None`` here as
176+
# the credentials that we saved earlier should be used.
177+
credentials_file=None,
175178
scopes=self._scopes,
176179
ssl_credentials=self._ssl_channel_credentials,
177180
quota_project_id=quota_project_id,

google/cloud/appengine_admin_v1/services/firewall/transports/grpc_asyncio.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,11 @@ def __init__(
215215
if not self._grpc_channel:
216216
self._grpc_channel = type(self).create_channel(
217217
self._host,
218+
# use the credentials which are saved
218219
credentials=self._credentials,
219-
credentials_file=credentials_file,
220+
# Set ``credentials_file`` to ``None`` here as
221+
# the credentials that we saved earlier should be used.
222+
credentials_file=None,
220223
scopes=self._scopes,
221224
ssl_credentials=self._ssl_channel_credentials,
222225
quota_project_id=quota_project_id,

0 commit comments

Comments
 (0)