Skip to content

Commit 4f9b318

Browse files
author
Jon Wayne Parrott
authored
Update logging samples to fit new style guide and match Node.js samples. (#435)
1 parent 19299d3 commit 4f9b318

File tree

15 files changed

+408
-377
lines changed

15 files changed

+408
-377
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
# Google Cloud Logging v1 Samples
1+
# Stackdriver Logging v1 Samples
22

33
**Note that these samples are for the v1 Samples, using the Google API Client.
44
It's recommended you instead use the [Logging v2 samples](https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/logging/api), which use the Google
55
Cloud client library.**
66

7-
This section contains samples for [Google Cloud Logging](https://cloud.google.com/logging).
7+
This section contains samples for [Stackdriver Logging](https://cloud.google.com/logging).
8+
9+
<!-- auto-doc-link -->
10+
<!-- end-auto-doc-link -->
811

912
## Running the samples
1013

1114
1. Your environment must be setup with [authentication
1215
information](https://developers.google.com/identity/protocols/application-default-credentials#howtheywork). If you're running in your local development environment and you have the [Google Cloud SDK](https://cloud.google.com/sdk/) installed, you can do this easily by running:
1316

14-
$ gcloud init
17+
$ gcloud beta auth application-default login
1518

1619
2. Install dependencies from `requirements.txt`:
1720

logging/api/README.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

logging/api/export_logs_api.py

Lines changed: 0 additions & 135 deletions
This file was deleted.

logging/api/export_logs_api_test.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

logging/api/logs_api.py

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)