File tree 6 files changed +7
-7
lines changed
6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Authorization
26
26
- Generate device credentials using ``google-oauthlib-tool ``:
27
27
28
28
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
30
30
31
31
- Load the device credentials using `google.oauth2.credentials <https://google-auth.readthedocs.io/en/latest/reference/google.oauth2.credentials.html >`_.::
32
32
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Authorization
39
39
- Generate credentials using ``google-oauth-tool ``.::
40
40
41
41
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
43
43
44
44
Usage
45
45
-----
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Google Assistant API when prototyping.
25
25
- Generate device credentials using ``google-oauthlib-tool ``:
26
26
27
27
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
29
29
30
30
googlesamples-assistant-audiotest
31
31
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Authorization
46
46
- Generate device credentials using ``google-oauthlib-tool ``:
47
47
48
48
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
50
50
51
51
Run the samples
52
52
---------------
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def pretty_print_device(device):
88
88
help = 'Enter the Google Developer Project ID that you want to '
89
89
'use with the registration tool. If you don\' t use this flag, '
90
90
'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 '
92
92
'--client-secrets flag.' )
93
93
@click .option ('--verbose' , flag_value = True ,
94
94
help = 'Shows detailed JSON response' )
@@ -101,7 +101,7 @@ def pretty_print_device(device):
101
101
'credentials.json' ),
102
102
help = 'File location of the generated credentials file. The '
103
103
'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 '
105
105
'credentials file authorizes access to the Google Assistant '
106
106
'API. You can use this flag if the credentials were generated '
107
107
'in a location that is different than the default.' )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Authorization
41
41
- Generate device credentials using ``google-oauthlib-tool ``:
42
42
43
43
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
45
45
46
46
Run the sample
47
47
--------------
You can’t perform that action at this time.
0 commit comments