Skip to content

Commit ee3b4ac

Browse files
author
Nick Cook
committed
Better naming for OAuth 2.0 credentials in the AoG Console.
Change-Id: I5be4ff3fec8a4e025b65492327f17427ef7ae3b0 b: 73567855
1 parent a66a0dd commit ee3b4ac

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

google-assistant-grpc/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Authorization
2626
- Generate device credentials using ``google-oauthlib-tool``:
2727

2828
pip install --upgrade google-auth-oauthlib[tool]
29-
google-oauthlib-tool --client-secrets path/to/credentials.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
29+
google-oauthlib-tool --client-secrets path/to/client_secret_<client-id>.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
3030

3131
- Load the device credentials using `google.oauth2.credentials <https://google-auth.readthedocs.io/en/latest/reference/google.oauth2.credentials.html>`_.::
3232

google-assistant-library/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Authorization
3939
- Generate credentials using ``google-oauth-tool``.::
4040

4141
pip install --upgrade google-auth-oauthlib[tool]
42-
google-oauthlib-tool --client-secrets path/to/client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --scope https://www.googleapis.com/auth/gcm --save --headless
42+
google-oauthlib-tool --client-secrets path/to/client_secret_<client-id>.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --scope https://www.googleapis.com/auth/gcm --save --headless
4343

4444
Usage
4545
-----

google-assistant-sdk/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Google Assistant API when prototyping.
2525
- Generate device credentials using ``google-oauthlib-tool``:
2626

2727
pip install --upgrade google-auth-oauthlib[tool]
28-
google-oauthlib-tool --client-secrets path/to/credentials.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
28+
google-oauthlib-tool --client-secrets path/to/client_secret_<client-id>.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
2929

3030
googlesamples-assistant-audiotest
3131
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

google-assistant-sdk/googlesamples/assistant/grpc/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Authorization
4646
- Generate device credentials using ``google-oauthlib-tool``:
4747

4848
pip install --upgrade google-auth-oauthlib[tool]
49-
google-oauthlib-tool --client-secrets path/to/credentials.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
49+
google-oauthlib-tool --client-secrets path/to/client_secret_<client-id>.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
5050

5151
Run the samples
5252
---------------

google-assistant-sdk/googlesamples/assistant/grpc/devicetool.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def pretty_print_device(device):
8888
help='Enter the Google Developer Project ID that you want to '
8989
'use with the registration tool. If you don\'t use this flag, '
9090
'the tool will use the project listed in the '
91-
'<client_secret_client-id.json> file you specify with the '
91+
'client_secret_<client-id>.json file you specify with the '
9292
'--client-secrets flag.')
9393
@click.option('--verbose', flag_value=True,
9494
help='Shows detailed JSON response')
@@ -101,7 +101,7 @@ def pretty_print_device(device):
101101
'credentials.json'),
102102
help='File location of the generated credentials file. The '
103103
'google-oauthlib-tool generates this file after authorizing '
104-
'the user with the <client_secret_client-id.json> file. This '
104+
'the user with the client_secret_<client-id>.json file. This '
105105
'credentials file authorizes access to the Google Assistant '
106106
'API. You can use this flag if the credentials were generated '
107107
'in a location that is different than the default.')

google-assistant-sdk/googlesamples/assistant/library/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Authorization
4141
- Generate device credentials using ``google-oauthlib-tool``:
4242

4343
pip install --upgrade google-auth-oauthlib[tool]
44-
google-oauthlib-tool --client-secrets path/to/credentials.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
44+
google-oauthlib-tool --client-secrets path/to/client_secret_<client-id>.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
4545

4646
Run the sample
4747
--------------

0 commit comments

Comments
 (0)