Skip to content

Commit de1dd84

Browse files
committed
Update references to cloud logging.
1 parent e7b9a28 commit de1dd84

10 files changed

Lines changed: 17 additions & 18 deletions

File tree

README.rst

Lines changed: 4 additions & 4 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,7 +239,7 @@ 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
242+
Google Stackdriver Logging
243243
--------------------
244244

245245
`Stackdriver Logging`_ API (`Logging API docs`_) allows you to store, search,
@@ -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: 1 addition & 1 deletion
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>

docs/logging-client.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Logging Client
1+
Stackdriver Logging Client
22
==============
33

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

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 Stackdriver 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

gcloud/logging/metric.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-
"""Define Logging API Metrics."""
15+
"""Define Stackdriver Logging API Metrics."""
1616

1717
from gcloud.exceptions import NotFound
1818

gcloud/logging/sink.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-
"""Define Logging API Sinks."""
15+
"""Define Stackdriver Logging API Sinks."""
1616

1717
from gcloud.exceptions import NotFound
1818

system_tests/logging_.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _init_storage_bucket(self):
206206
BUCKET_URI = 'storage.googleapis.com/%s' % (BUCKET_NAME,)
207207

208208
# Create the destination bucket, and set up the ACL to allow
209-
# Cloud Logging to write into it.
209+
# Stackdriver Logging to write into it.
210210
storage_client = storage.Client()
211211
bucket = storage_client.create_bucket(BUCKET_NAME)
212212
self.to_delete.append(bucket)
@@ -231,7 +231,7 @@ def test_create_sink_pubsub_topic(self):
231231
from gcloud import pubsub
232232

233233
# Create the destination topic, and set up the IAM policy to allow
234-
# Cloud Logging to write into it.
234+
# Stackdriver Logging to write into it.
235235
pubsub_client = pubsub.Client()
236236
topic = pubsub_client.topic(TOPIC_NAME)
237237
topic.create()
@@ -256,7 +256,7 @@ def _init_bigquery_dataset(self):
256256
Config.CLIENT.project, DATASET_NAME,)
257257

258258
# Create the destination dataset, and set up the ACL to allow
259-
# Cloud Logging to write into it.
259+
# Stackdriver Logging to write into it.
260260
bigquery_client = bigquery.Client()
261261
dataset = bigquery_client.dataset(DATASET_NAME)
262262
dataset.create()

0 commit comments

Comments
 (0)