File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
packages/google-cloud-spanner/google/cloud/spanner_v1 Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments