Skip to content

Commit 9fbcdb7

Browse files
authored
Merge pull request #1962 from daspecster/update-cloud-logging-references
Update references from Cloud Logging to Stackdriver Logging
2 parents 771bc7a + a2f4715 commit 9fbcdb7

20 files changed

+44
-44
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ This client supports the following Google Cloud Platform services:
2020
- `Google Cloud Pub/Sub`_
2121
- `Google BigQuery`_
2222
- `Google Cloud Resource Manager`_
23-
- `Google Cloud Logging`_
23+
- `Google Stackdriver Logging`_
2424

2525
.. _Google Cloud Datastore: https://github.com/GoogleCloudPlatform/gcloud-python#google-cloud-datastore
2626
.. _Google Cloud Storage: https://github.com/GoogleCloudPlatform/gcloud-python#google-cloud-storage
2727
.. _Google Cloud Pub/Sub: https://github.com/GoogleCloudPlatform/gcloud-python#google-cloud-pubsub
2828
.. _Google BigQuery: https://github.com/GoogleCloudPlatform/gcloud-python#google-bigquery
2929
.. _Google Cloud Resource Manager: https://github.com/GoogleCloudPlatform/gcloud-python#google-cloud-resource-manager
30-
.. _Google Cloud Logging: https://github.com/GoogleCloudPlatform/gcloud-python#google-cloud-logging
30+
.. _Google Stackdriver Logging: https://github.com/GoogleCloudPlatform/gcloud-python#google-cloud-logging
3131

3232
If you need support for other Google APIs, check out the
3333
`Google APIs Python Client library`_.
@@ -239,8 +239,8 @@ manage projects using this Client Library.
239239

240240
.. _Resource Manager documentation: https://googlecloudplatform.github.io/gcloud-python/stable/resource-manager-api.html
241241

242-
Google Cloud Logging
243-
--------------------
242+
Google Stackdriver Logging
243+
--------------------------
244244

245245
`Stackdriver Logging`_ API (`Logging API docs`_) allows you to store, search,
246246
analyze, monitor, and alert on log data and events from Google Cloud Platform.
@@ -264,7 +264,7 @@ Example of fetching entries:
264264
print entry.payload
265265
266266
See the ``gcloud-python`` API `logging documentation`_ to learn how to connect
267-
to Cloud logging using this Client Library.
267+
to Stackdriver Logging using this Client Library.
268268

269269
.. _logging documentation: https://googlecloudplatform.github.io/gcloud-python/stable/logging-usage.html
270270

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
.. toctree::
103103
:maxdepth: 0
104104
:hidden:
105-
:caption: Cloud Logging
105+
:caption: Stackdriver Logging
106106

107107
logging-usage
108108
Client <logging-client>
@@ -114,7 +114,7 @@
114114
.. toctree::
115115
:maxdepth: 0
116116
:hidden:
117-
:caption: Cloud Monitoring
117+
:caption: Stackdriver Monitoring
118118

119119
monitoring-usage
120120
Client <monitoring-client>

docs/logging-client.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Logging Client
2-
==============
1+
Stackdriver Logging Client
2+
==========================
33

44
.. automodule:: gcloud.logging.client
55
:members:
@@ -11,4 +11,3 @@ Connection
1111
.. automodule:: gcloud.logging.connection
1212
:members:
1313
:show-inheritance:
14-

docs/logging-usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Manage log metrics
136136
------------------
137137

138138
Metrics are counters of entries which match a given filter. They can be
139-
used within Cloud Monitoring to create charts and alerts.
139+
used within Stackdriver Monitoring to create charts and alerts.
140140

141141
Create a metric:
142142

docs/monitoring-client.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Monitoring Client
2-
=================
1+
Stackdriver Monitoring Client
2+
=============================
33

44
.. automodule:: gcloud.monitoring.client
55
:members:
@@ -11,4 +11,3 @@ Connection
1111
.. automodule:: gcloud.monitoring.connection
1212
:members:
1313
:show-inheritance:
14-

docs/monitoring-usage.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Using the API
55
Introduction
66
------------
77

8-
With the Monitoring API, you can work with Stackdriver metric data
8+
With the Stackdriver Monitoring API, you can work with Stackdriver metric data
99
pertaining to monitored resources in Google Cloud Platform (GCP)
1010
or elsewhere.
1111

@@ -21,7 +21,7 @@ Essential concepts:
2121
- A **time series** is a collection of data points associated with
2222
points or intervals in time.
2323

24-
Please refer to the documentation for the `Monitoring API`_ for
24+
Please refer to the documentation for the `Stackdriver Monitoring API`_ for
2525
more information.
2626

2727
At present, this client library supports the following features
@@ -32,13 +32,13 @@ of the API:
3232
- Creation and deletion of metric descriptors for custom metrics.
3333
- (Writing of custom metric data will be coming soon.)
3434

35-
.. _Monitoring API: https://cloud.google.com/monitoring/api/v3/
35+
.. _Stackdriver Monitoring API: https://cloud.google.com/monitoring/api/v3/
3636

3737

38-
The Monitoring Client Object
39-
----------------------------
38+
The Stackdriver Monitoring Client Object
39+
----------------------------------------
4040

41-
The monitoring client library generally makes its
41+
The Stackdriver Monitoring client library generally makes its
4242
functionality available as methods of the monitoring
4343
:class:`~gcloud.monitoring.client.Client` class.
4444
A :class:`~gcloud.monitoring.client.Client` instance holds

gcloud/logging/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Google Cloud Logging API wrapper."""
15+
"""Google Stackdriver Logging API wrapper."""
1616

1717
from gcloud.logging.client import Client
1818
from gcloud.logging.connection import Connection

gcloud/logging/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Client for interacting with the Google Cloud Logging API."""
15+
"""Client for interacting with the Google Stackdriver Logging API."""
1616

1717
import os
1818

gcloud/logging/connection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Create / interact with gcloud logging connections."""
15+
"""Create / interact with Stackdriver Logging connections."""
1616

1717
from gcloud import connection as base_connection
1818

1919

2020
class Connection(base_connection.JSONConnection):
21-
"""A connection to Google Cloud Logging via the JSON REST API.
21+
"""A connection to Google Stackdriver Logging via the JSON REST API.
2222
2323
:type credentials: :class:`oauth2client.client.OAuth2Credentials`
2424
:param credentials: (Optional) The OAuth2 Credentials to use for this
@@ -45,7 +45,7 @@ class Connection(base_connection.JSONConnection):
4545
'https://www.googleapis.com/auth/logging.write',
4646
'https://www.googleapis.com/auth/logging.admin',
4747
'https://www.googleapis.com/auth/cloud-platform')
48-
"""The scopes required for authenticating as a Cloud Logging consumer."""
48+
"""The scopes required for authenticating as a Logging consumer."""
4949

5050

5151
class _LoggingAPI(object):

gcloud/logging/entries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Log entries within the Google Cloud Logging API."""
15+
"""Log entries within the Google Stackdriver Logging API."""
1616

1717
import json
1818
import re

0 commit comments

Comments
 (0)