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

Commit 2854ac3

Browse files
1 parent a4268c9 commit 2854ac3

File tree

317 files changed

+62
-134793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+62
-134793
lines changed

google/cloud/spanner_admin_database_v1/services/database_admin/transports/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ def __init__(
8181
credentials identify the application to the service; if none
8282
are specified, the client will attempt to ascertain the
8383
credentials from the environment.
84-
credentials_file (Optional[str]): A file with credentials that can
84+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
8585
be loaded with :func:`google.auth.load_credentials_from_file`.
86-
This argument is mutually exclusive with credentials.
86+
This argument is mutually exclusive with credentials. This argument will be
87+
removed in the next major version of this library.
8788
scopes (Optional[Sequence[str]]): A list of scopes.
8889
quota_project_id (Optional[str]): An optional project to use for billing
8990
and quota.

google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,10 @@ def __init__(
169169
are specified, the client will attempt to ascertain the
170170
credentials from the environment.
171171
This argument is ignored if a ``channel`` instance is provided.
172-
credentials_file (Optional[str]): A file with credentials that can
172+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
173173
be loaded with :func:`google.auth.load_credentials_from_file`.
174174
This argument is ignored if a ``channel`` instance is provided.
175+
This argument will be removed in the next major version of this library.
175176
scopes (Optional(Sequence[str])): A list of scopes. This argument is
176177
ignored if a ``channel`` instance is provided.
177178
channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -305,9 +306,10 @@ def create_channel(
305306
credentials identify this application to the service. If
306307
none are specified, the client will attempt to ascertain
307308
the credentials from the environment.
308-
credentials_file (Optional[str]): A file with credentials that can
309+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
309310
be loaded with :func:`google.auth.load_credentials_from_file`.
310-
This argument is mutually exclusive with credentials.
311+
This argument is mutually exclusive with credentials. This argument will be
312+
removed in the next major version of this library.
311313
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
312314
service. These are only used when credentials are not specified and
313315
are passed to :func:`google.auth.default`.

google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc_asyncio.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@ def create_channel(
166166
credentials identify this application to the service. If
167167
none are specified, the client will attempt to ascertain
168168
the credentials from the environment.
169-
credentials_file (Optional[str]): A file with credentials that can
170-
be loaded with :func:`google.auth.load_credentials_from_file`.
169+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
170+
be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be
171+
removed in the next major version of this library.
171172
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
172173
service. These are only used when credentials are not specified and
173174
are passed to :func:`google.auth.default`.
@@ -218,9 +219,10 @@ def __init__(
218219
are specified, the client will attempt to ascertain the
219220
credentials from the environment.
220221
This argument is ignored if a ``channel`` instance is provided.
221-
credentials_file (Optional[str]): A file with credentials that can
222+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
222223
be loaded with :func:`google.auth.load_credentials_from_file`.
223224
This argument is ignored if a ``channel`` instance is provided.
225+
This argument will be removed in the next major version of this library.
224226
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
225227
service. These are only used when credentials are not specified and
226228
are passed to :func:`google.auth.default`.

google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,9 +1622,10 @@ def __init__(
16221622
are specified, the client will attempt to ascertain the
16231623
credentials from the environment.
16241624
1625-
credentials_file (Optional[str]): A file with credentials that can
1625+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
16261626
be loaded with :func:`google.auth.load_credentials_from_file`.
1627-
This argument is ignored if ``channel`` is provided.
1627+
This argument is ignored if ``channel`` is provided. This argument will be
1628+
removed in the next major version of this library.
16281629
scopes (Optional(Sequence[str])): A list of scopes. This argument is
16291630
ignored if ``channel`` is provided.
16301631
client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client

google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ def __init__(
7575
credentials identify the application to the service; if none
7676
are specified, the client will attempt to ascertain the
7777
credentials from the environment.
78-
credentials_file (Optional[str]): A file with credentials that can
78+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
7979
be loaded with :func:`google.auth.load_credentials_from_file`.
80-
This argument is mutually exclusive with credentials.
80+
This argument is mutually exclusive with credentials. This argument will be
81+
removed in the next major version of this library.
8182
scopes (Optional[Sequence[str]]): A list of scopes.
8283
quota_project_id (Optional[str]): An optional project to use for billing
8384
and quota.

google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,10 @@ def __init__(
178178
are specified, the client will attempt to ascertain the
179179
credentials from the environment.
180180
This argument is ignored if a ``channel`` instance is provided.
181-
credentials_file (Optional[str]): A file with credentials that can
181+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
182182
be loaded with :func:`google.auth.load_credentials_from_file`.
183183
This argument is ignored if a ``channel`` instance is provided.
184+
This argument will be removed in the next major version of this library.
184185
scopes (Optional(Sequence[str])): A list of scopes. This argument is
185186
ignored if a ``channel`` instance is provided.
186187
channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -314,9 +315,10 @@ def create_channel(
314315
credentials identify this application to the service. If
315316
none are specified, the client will attempt to ascertain
316317
the credentials from the environment.
317-
credentials_file (Optional[str]): A file with credentials that can
318+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
318319
be loaded with :func:`google.auth.load_credentials_from_file`.
319-
This argument is mutually exclusive with credentials.
320+
This argument is mutually exclusive with credentials. This argument will be
321+
removed in the next major version of this library.
320322
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
321323
service. These are only used when credentials are not specified and
322324
are passed to :func:`google.auth.default`.

google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc_asyncio.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ def create_channel(
175175
credentials identify this application to the service. If
176176
none are specified, the client will attempt to ascertain
177177
the credentials from the environment.
178-
credentials_file (Optional[str]): A file with credentials that can
179-
be loaded with :func:`google.auth.load_credentials_from_file`.
178+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
179+
be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be
180+
removed in the next major version of this library.
180181
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
181182
service. These are only used when credentials are not specified and
182183
are passed to :func:`google.auth.default`.
@@ -227,9 +228,10 @@ def __init__(
227228
are specified, the client will attempt to ascertain the
228229
credentials from the environment.
229230
This argument is ignored if a ``channel`` instance is provided.
230-
credentials_file (Optional[str]): A file with credentials that can
231+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
231232
be loaded with :func:`google.auth.load_credentials_from_file`.
232233
This argument is ignored if a ``channel`` instance is provided.
234+
This argument will be removed in the next major version of this library.
233235
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
234236
service. These are only used when credentials are not specified and
235237
are passed to :func:`google.auth.default`.

google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,9 +1355,10 @@ def __init__(
13551355
are specified, the client will attempt to ascertain the
13561356
credentials from the environment.
13571357
1358-
credentials_file (Optional[str]): A file with credentials that can
1358+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
13591359
be loaded with :func:`google.auth.load_credentials_from_file`.
1360-
This argument is ignored if ``channel`` is provided.
1360+
This argument is ignored if ``channel`` is provided. This argument will be
1361+
removed in the next major version of this library.
13611362
scopes (Optional(Sequence[str])): A list of scopes. This argument is
13621363
ignored if ``channel`` is provided.
13631364
client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client

google/cloud/spanner_v1/services/spanner/transports/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ def __init__(
7676
credentials identify the application to the service; if none
7777
are specified, the client will attempt to ascertain the
7878
credentials from the environment.
79-
credentials_file (Optional[str]): A file with credentials that can
79+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
8080
be loaded with :func:`google.auth.load_credentials_from_file`.
81-
This argument is mutually exclusive with credentials.
81+
This argument is mutually exclusive with credentials. This argument will be
82+
removed in the next major version of this library.
8283
scopes (Optional[Sequence[str]]): A list of scopes.
8384
quota_project_id (Optional[str]): An optional project to use for billing
8485
and quota.

google/cloud/spanner_v1/services/spanner/transports/grpc.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,10 @@ def __init__(
160160
are specified, the client will attempt to ascertain the
161161
credentials from the environment.
162162
This argument is ignored if a ``channel`` instance is provided.
163-
credentials_file (Optional[str]): A file with credentials that can
163+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
164164
be loaded with :func:`google.auth.load_credentials_from_file`.
165165
This argument is ignored if a ``channel`` instance is provided.
166+
This argument will be removed in the next major version of this library.
166167
scopes (Optional(Sequence[str])): A list of scopes. This argument is
167168
ignored if a ``channel`` instance is provided.
168169
channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -303,9 +304,10 @@ def create_channel(
303304
credentials identify this application to the service. If
304305
none are specified, the client will attempt to ascertain
305306
the credentials from the environment.
306-
credentials_file (Optional[str]): A file with credentials that can
307+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
307308
be loaded with :func:`google.auth.load_credentials_from_file`.
308-
This argument is mutually exclusive with credentials.
309+
This argument is mutually exclusive with credentials. This argument will be
310+
removed in the next major version of this library.
309311
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
310312
service. These are only used when credentials are not specified and
311313
are passed to :func:`google.auth.default`.

0 commit comments

Comments
 (0)