Skip to content

Commit 7f65612

Browse files
emar-karbusunkim96
authored andcommitted
docs: remove references to the old authentication credentials (#9456)
1 parent 57bdba2 commit 7f65612

File tree

1 file changed

+6
-5
lines changed
  • packages/google-cloud-spanner/google/cloud/spanner_v1

1 file changed

+6
-5
lines changed

packages/google-cloud-spanner/google/cloud/spanner_v1/client.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ class Client(ClientWithProject):
9393
attempt to determine from the environment.
9494
9595
:type credentials:
96-
:class:`OAuth2Credentials <oauth2client.client.OAuth2Credentials>` or
96+
:class:`Credentials <google.auth.credentials.Credentials>` or
9797
:data:`NoneType <types.NoneType>`
98-
:param credentials: (Optional) The OAuth2 Credentials to use for this
99-
client. If not provided, defaults to the Google
100-
Application Default Credentials.
98+
:param credentials: (Optional) The authorization credentials to attach to requests.
99+
These credentials identify this application to the service.
100+
If none are specified, the client will attempt to ascertain
101+
the credentials from the environment.
101102
102103
:type client_info: :class:`google.api_core.gapic_v1.client_info.ClientInfo`
103104
:param client_info:
@@ -143,7 +144,7 @@ def credentials(self):
143144
"""Getter for client's credentials.
144145
145146
:rtype:
146-
:class:`OAuth2Credentials <oauth2client.client.OAuth2Credentials>`
147+
:class:`Credentials <google.auth.credentials.Credentials>`
147148
:returns: The credentials stored on the client.
148149
"""
149150
return self._credentials

0 commit comments

Comments
 (0)