You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Samples by API
2
-
The following samples show basic usage of various APIs. Throughout these samples, you will find code that relies on various authentication methods.
2
+
The following samples show basic usage of various APIs. **All samples require Node.js 8.x or greater**.
3
+
4
+
Throughout these samples, you will find code that relies on various authentication methods.
3
5
-**OAuth2** - To use the OAuth2 samples, create a credential in the cloud developer console, and save the file as `oauth2.keys.json` in the samples directory.
4
6
-**Service account** - To use the service account based samples, create a new service account in the cloud developer console, and save the file as `jwt.keys.json` in the samples directory.
5
7
-**API Key** - To use simple API keys, create a new API Key in the cloud developer console, then store the key in the `api_key` field of `config.json`.
0 commit comments