This repository was archived by the owner on Oct 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
4444Usage
4545-----
Original file line number Diff line number Diff 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
3030googlesamples-assistant-audiotest
3131~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff 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
5151Run the samples
5252---------------
Original file line number Diff line number Diff 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.' )
Original file line number Diff line number Diff 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
4646Run the sample
4747--------------
You can’t perform that action at this time.
0 commit comments