Skip to content

Commit f12fee4

Browse files
committed
Renaming docs mentions of "gcloud" as "google-cloud".
Done via: $ git grep -l '<gcloud.' | \ > xargs sed -i s/'<gcloud.'/'<google.cloud.'/g $ git grep -l '`gcloud\.' | \ > xargs sed -i s/'`gcloud\.'/'`google.cloud.'/g
1 parent f29999a commit f12fee4

78 files changed

Lines changed: 657 additions & 657 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/bigquery-usage.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ Using the API
44
Authentication / Configuration
55
------------------------------
66

7-
- Use :class:`Client <gcloud.bigquery.client.Client>` objects to configure
7+
- Use :class:`Client <google.cloud.bigquery.client.Client>` objects to configure
88
your applications.
99

10-
- :class:`Client <gcloud.bigquery.client.Client>` objects hold both a ``project``
10+
- :class:`Client <google.cloud.bigquery.client.Client>` objects hold both a ``project``
1111
and an authenticated connection to the BigQuery service.
1212

1313
- The authentication credentials can be implicitly determined from the
1414
environment or directly via
15-
:meth:`from_service_account_json <gcloud.bigquery.client.Client.from_service_account_json>`
15+
:meth:`from_service_account_json <google.cloud.bigquery.client.Client.from_service_account_json>`
1616
and
17-
:meth:`from_service_account_p12 <gcloud.bigquery.client.Client.from_service_account_p12>`.
17+
:meth:`from_service_account_p12 <google.cloud.bigquery.client.Client.from_service_account_p12>`.
1818

1919
- After setting :envvar:`GOOGLE_APPLICATION_CREDENTIALS` and
2020
:envvar:`GCLOUD_PROJECT` environment variables, create an instance of
21-
:class:`Client <gcloud.bigquery.client.Client>`.
21+
:class:`Client <google.cloud.bigquery.client.Client>`.
2222

2323
.. doctest::
2424

@@ -255,7 +255,7 @@ Background a query, loading the results into a table:
255255

256256
.. note::
257257

258-
- ``gcloud.bigquery`` generates a UUID for each job.
258+
- ``google.cloud.bigquery`` generates a UUID for each job.
259259
- The ``created`` and ``state`` fields are not set until the job
260260
is submitted to the BigQuery back-end.
261261

@@ -317,7 +317,7 @@ the job locally:
317317

318318
.. note::
319319

320-
- ``gcloud.bigquery`` generates a UUID for each job.
320+
- ``google.cloud.bigquery`` generates a UUID for each job.
321321
- The ``created`` and ``state`` fields are not set until the job
322322
is submitted to the BigQuery back-end.
323323

@@ -375,7 +375,7 @@ located on Google Cloud Storage. First, create the job locally:
375375

376376
.. note::
377377

378-
- ``gcloud.bigquery`` generates a UUID for each job.
378+
- ``google.cloud.bigquery`` generates a UUID for each job.
379379
- The ``created`` and ``state`` fields are not set until the job
380380
is submitted to the BigQuery back-end.
381381

@@ -429,7 +429,7 @@ First, create the job locally:
429429

430430
.. note::
431431

432-
- ``gcloud.bigquery`` generates a UUID for each job.
432+
- ``google.cloud.bigquery`` generates a UUID for each job.
433433
- The ``created`` and ``state`` fields are not set until the job
434434
is submitted to the BigQuery back-end.
435435

docs/bigquery_snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"""Testable usage examples for Google Cloud BigQuery API wrapper
1616
1717
Each example function takes a ``client`` argument (which must be an instance
18-
of :class:`gcloud.bigquery.client.Client`) and uses it to perform a task with
18+
of :class:`google.cloud.bigquery.client.Client`) and uses it to perform a task with
1919
the API.
2020
2121
To facilitate running the examples as system tests, each example is also passed

docs/bigtable-client-intro.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Base for Everything
22
===================
33

4-
To use the API, the :class:`Client <gcloud.bigtable.client.Client>`
4+
To use the API, the :class:`Client <google.cloud.bigtable.client.Client>`
55
class defines a high-level interface which handles authorization
66
and creating other objects:
77

@@ -13,9 +13,9 @@ and creating other objects:
1313
Long-lived Defaults
1414
-------------------
1515

16-
When creating a :class:`Client <gcloud.bigtable.client.Client>`, the
16+
When creating a :class:`Client <google.cloud.bigtable.client.Client>`, the
1717
``user_agent`` argument has sensible a default
18-
(:data:`DEFAULT_USER_AGENT <gcloud.bigtable.client.DEFAULT_USER_AGENT>`).
18+
(:data:`DEFAULT_USER_AGENT <google.cloud.bigtable.client.DEFAULT_USER_AGENT>`).
1919
However, you may over-ride it and the value will be used throughout all API
2020
requests made with the ``client`` you create.
2121

@@ -31,10 +31,10 @@ Configuration
3131
Engine or Google Compute Engine the project will be detected automatically.
3232
(Setting this environment variable is not required, you may instead pass the
3333
``project`` explicitly when constructing a
34-
:class:`Client <gcloud.storage.client.Client>`).
34+
:class:`Client <google.cloud.storage.client.Client>`).
3535

3636
- After configuring your environment, create a
37-
:class:`Client <gcloud.storage.client.Client>`
37+
:class:`Client <google.cloud.storage.client.Client>`
3838

3939
.. code::
4040
@@ -73,15 +73,15 @@ you can pass the ``read_only`` argument:
7373
client = bigtable.Client(read_only=True)
7474
7575
This will ensure that the
76-
:data:`READ_ONLY_SCOPE <gcloud.bigtable.client.READ_ONLY_SCOPE>` is used
76+
:data:`READ_ONLY_SCOPE <google.cloud.bigtable.client.READ_ONLY_SCOPE>` is used
7777
for API requests (so any accidental requests that would modify data will
7878
fail).
7979

8080
Next Step
8181
---------
8282

83-
After a :class:`Client <gcloud.bigtable.client.Client>`, the next highest-level
84-
object is a :class:`Instance <gcloud.bigtable.instance.Instance>`. You'll need
83+
After a :class:`Client <google.cloud.bigtable.client.Client>`, the next highest-level
84+
object is a :class:`Instance <google.cloud.bigtable.instance.Instance>`. You'll need
8585
one before you can interact with tables or data.
8686

8787
Head next to learn about the :doc:`bigtable-instance-api`.

docs/bigtable-column-family.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ Column Families
22
===============
33

44
When creating a
5-
:class:`ColumnFamily <gcloud.bigtable.column_family.ColumnFamily>`, it is
5+
:class:`ColumnFamily <google.cloud.bigtable.column_family.ColumnFamily>`, it is
66
possible to set garbage collection rules for expired data.
77

88
By setting a rule, cells in the table matching the rule will be deleted
99
during periodic garbage collection (which executes opportunistically in the
1010
background).
1111

1212
The types
13-
:class:`MaxAgeGCRule <gcloud.bigtable.column_family.MaxAgeGCRule>`,
14-
:class:`MaxVersionsGCRule <gcloud.bigtable.column_family.MaxVersionsGCRule>`,
15-
:class:`GarbageCollectionRuleUnion <gcloud.bigtable.column_family.GarbageCollectionRuleUnion>` and
16-
:class:`GarbageCollectionRuleIntersection <gcloud.bigtable.column_family.GarbageCollectionRuleIntersection>`
13+
:class:`MaxAgeGCRule <google.cloud.bigtable.column_family.MaxAgeGCRule>`,
14+
:class:`MaxVersionsGCRule <google.cloud.bigtable.column_family.MaxVersionsGCRule>`,
15+
:class:`GarbageCollectionRuleUnion <google.cloud.bigtable.column_family.GarbageCollectionRuleUnion>` and
16+
:class:`GarbageCollectionRuleIntersection <google.cloud.bigtable.column_family.GarbageCollectionRuleIntersection>`
1717
can all be used as the optional ``gc_rule`` argument in the
18-
:class:`ColumnFamily <gcloud.bigtable.column_family.ColumnFamily>`
18+
:class:`ColumnFamily <google.cloud.bigtable.column_family.ColumnFamily>`
1919
constructor. This value is then used in the
20-
:meth:`create() <gcloud.bigtable.column_family.ColumnFamily.create>` and
21-
:meth:`update() <gcloud.bigtable.column_family.ColumnFamily.update>` methods.
20+
:meth:`create() <google.cloud.bigtable.column_family.ColumnFamily.create>` and
21+
:meth:`update() <google.cloud.bigtable.column_family.ColumnFamily.update>` methods.
2222

2323
These rules can be nested arbitrarily, with a
24-
:class:`MaxAgeGCRule <gcloud.bigtable.column_family.MaxAgeGCRule>` or
25-
:class:`MaxVersionsGCRule <gcloud.bigtable.column_family.MaxVersionsGCRule>`
24+
:class:`MaxAgeGCRule <google.cloud.bigtable.column_family.MaxAgeGCRule>` or
25+
:class:`MaxVersionsGCRule <google.cloud.bigtable.column_family.MaxVersionsGCRule>`
2626
at the lowest level of the nesting:
2727

2828
.. code:: python

0 commit comments

Comments
 (0)