Skip to content

Commit c3a553a

Browse files
1 parent 6ab9a10 commit c3a553a

File tree

167 files changed

+58
-77319
lines changed

Some content is hidden

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

167 files changed

+58
-77319
lines changed

‎google/pubsub_v1/services/publisher/transports/base.py‎

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

‎google/pubsub_v1/services/publisher/transports/grpc.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,10 @@ def __init__(
155155
are specified, the client will attempt to ascertain the
156156
credentials from the environment.
157157
This argument is ignored if a ``channel`` instance is provided.
158-
credentials_file (Optional[str]): A file with credentials that can
158+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
159159
be loaded with :func:`google.auth.load_credentials_from_file`.
160160
This argument is ignored if a ``channel`` instance is provided.
161+
This argument will be removed in the next major version of this library.
161162
scopes (Optional(Sequence[str])): A list of scopes. This argument is
162163
ignored if a ``channel`` instance is provided.
163164
channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -292,9 +293,10 @@ def create_channel(
292293
credentials identify this application to the service. If
293294
none are specified, the client will attempt to ascertain
294295
the credentials from the environment.
295-
credentials_file (Optional[str]): A file with credentials that can
296+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
296297
be loaded with :func:`google.auth.load_credentials_from_file`.
297-
This argument is mutually exclusive with credentials.
298+
This argument is mutually exclusive with credentials. This argument will be
299+
removed in the next major version of this library.
298300
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
299301
service. These are only used when credentials are not specified and
300302
are passed to :func:`google.auth.default`.

‎google/pubsub_v1/services/publisher/transports/grpc_asyncio.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ def create_channel(
152152
credentials identify this application to the service. If
153153
none are specified, the client will attempt to ascertain
154154
the credentials from the environment.
155-
credentials_file (Optional[str]): A file with credentials that can
156-
be loaded with :func:`google.auth.load_credentials_from_file`.
155+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
156+
be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be
157+
removed in the next major version of this library.
157158
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
158159
service. These are only used when credentials are not specified and
159160
are passed to :func:`google.auth.default`.
@@ -204,9 +205,10 @@ def __init__(
204205
are specified, the client will attempt to ascertain the
205206
credentials from the environment.
206207
This argument is ignored if a ``channel`` instance is provided.
207-
credentials_file (Optional[str]): A file with credentials that can
208+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
208209
be loaded with :func:`google.auth.load_credentials_from_file`.
209210
This argument is ignored if a ``channel`` instance is provided.
211+
This argument will be removed in the next major version of this library.
210212
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
211213
service. These are only used when credentials are not specified and
212214
are passed to :func:`google.auth.default`.

‎google/pubsub_v1/services/publisher/transports/rest.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,9 +650,10 @@ def __init__(
650650
are specified, the client will attempt to ascertain the
651651
credentials from the environment.
652652
653-
credentials_file (Optional[str]): A file with credentials that can
653+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
654654
be loaded with :func:`google.auth.load_credentials_from_file`.
655-
This argument is ignored if ``channel`` is provided.
655+
This argument is ignored if ``channel`` is provided. This argument will be
656+
removed in the next major version of this library.
656657
scopes (Optional(Sequence[str])): A list of scopes. This argument is
657658
ignored if ``channel`` is provided.
658659
client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client

‎google/pubsub_v1/services/schema_service/transports/base.py‎

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

‎google/pubsub_v1/services/schema_service/transports/grpc.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,10 @@ def __init__(
155155
are specified, the client will attempt to ascertain the
156156
credentials from the environment.
157157
This argument is ignored if a ``channel`` instance is provided.
158-
credentials_file (Optional[str]): A file with credentials that can
158+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
159159
be loaded with :func:`google.auth.load_credentials_from_file`.
160160
This argument is ignored if a ``channel`` instance is provided.
161+
This argument will be removed in the next major version of this library.
161162
scopes (Optional(Sequence[str])): A list of scopes. This argument is
162163
ignored if a ``channel`` instance is provided.
163164
channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -292,9 +293,10 @@ def create_channel(
292293
credentials identify this application to the service. If
293294
none are specified, the client will attempt to ascertain
294295
the credentials from the environment.
295-
credentials_file (Optional[str]): A file with credentials that can
296+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
296297
be loaded with :func:`google.auth.load_credentials_from_file`.
297-
This argument is mutually exclusive with credentials.
298+
This argument is mutually exclusive with credentials. This argument will be
299+
removed in the next major version of this library.
298300
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
299301
service. These are only used when credentials are not specified and
300302
are passed to :func:`google.auth.default`.

‎google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ def create_channel(
152152
credentials identify this application to the service. If
153153
none are specified, the client will attempt to ascertain
154154
the credentials from the environment.
155-
credentials_file (Optional[str]): A file with credentials that can
156-
be loaded with :func:`google.auth.load_credentials_from_file`.
155+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
156+
be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be
157+
removed in the next major version of this library.
157158
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
158159
service. These are only used when credentials are not specified and
159160
are passed to :func:`google.auth.default`.
@@ -204,9 +205,10 @@ def __init__(
204205
are specified, the client will attempt to ascertain the
205206
credentials from the environment.
206207
This argument is ignored if a ``channel`` instance is provided.
207-
credentials_file (Optional[str]): A file with credentials that can
208+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
208209
be loaded with :func:`google.auth.load_credentials_from_file`.
209210
This argument is ignored if a ``channel`` instance is provided.
211+
This argument will be removed in the next major version of this library.
210212
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
211213
service. These are only used when credentials are not specified and
212214
are passed to :func:`google.auth.default`.

‎google/pubsub_v1/services/schema_service/transports/rest.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,9 +702,10 @@ def __init__(
702702
are specified, the client will attempt to ascertain the
703703
credentials from the environment.
704704
705-
credentials_file (Optional[str]): A file with credentials that can
705+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
706706
be loaded with :func:`google.auth.load_credentials_from_file`.
707-
This argument is ignored if ``channel`` is provided.
707+
This argument is ignored if ``channel`` is provided. This argument will be
708+
removed in the next major version of this library.
708709
scopes (Optional(Sequence[str])): A list of scopes. This argument is
709710
ignored if ``channel`` is provided.
710711
client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client

‎google/pubsub_v1/services/subscriber/transports/base.py‎

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

‎google/pubsub_v1/services/subscriber/transports/grpc.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,10 @@ def __init__(
157157
are specified, the client will attempt to ascertain the
158158
credentials from the environment.
159159
This argument is ignored if a ``channel`` instance is provided.
160-
credentials_file (Optional[str]): A file with credentials that can
160+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
161161
be loaded with :func:`google.auth.load_credentials_from_file`.
162162
This argument is ignored if a ``channel`` instance is provided.
163+
This argument will be removed in the next major version of this library.
163164
scopes (Optional(Sequence[str])): A list of scopes. This argument is
164165
ignored if a ``channel`` instance is provided.
165166
channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -294,9 +295,10 @@ def create_channel(
294295
credentials identify this application to the service. If
295296
none are specified, the client will attempt to ascertain
296297
the credentials from the environment.
297-
credentials_file (Optional[str]): A file with credentials that can
298+
credentials_file (Optional[str]): Deprecated. A file with credentials that can
298299
be loaded with :func:`google.auth.load_credentials_from_file`.
299-
This argument is mutually exclusive with credentials.
300+
This argument is mutually exclusive with credentials. This argument will be
301+
removed in the next major version of this library.
300302
scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
301303
service. These are only used when credentials are not specified and
302304
are passed to :func:`google.auth.default`.

0 commit comments

Comments
 (0)