Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 3a6999d

Browse files
authored
docs: include client library documentation in README.rst (#91)
Fixes #90 🦕
1 parent b23d7bd commit 3a6999d

File tree

2 files changed

+43
-9
lines changed

2 files changed

+43
-9
lines changed

README.rst

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
Python Client for Google Cloud Billing API
2-
=================================================
1+
Python Client for Cloud Billing API
2+
===================================
3+
4+
|ga| |pypi| |versions|
5+
6+
`Cloud Billing API`_: Allows developers to manage billing for their Google Cloud Platform
7+
projects programmatically.
8+
9+
- `Client Library Documentation`_
10+
- `Product Documentation`_
11+
12+
.. |ga| image:: https://img.shields.io/badge/support-GA-gold.svg
13+
:target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#general-availability
14+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-billing.svg
15+
:target: https://pypi.org/project/google-cloud-billing/
16+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-billing.svg
17+
:target: https://pypi.org/project/google-cloud-billing/
18+
.. _Cloud Billing API: https://cloud.google.com/billing
19+
.. _Client Library Documentation: https://googleapis.dev/python/cloudbilling/latest
20+
.. _Product Documentation: https://cloud.google.com/billing
321

422
Quick Start
523
-----------
@@ -8,12 +26,13 @@ In order to use this library, you first need to go through the following steps:
826

927
1. `Select or create a Cloud Platform project.`_
1028
2. `Enable billing for your project.`_
11-
3. Enable the Google Cloud Billing API.
29+
3. `Enable the Cloud Billing API.`_
1230
4. `Setup Authentication.`_
1331

1432
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
1533
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
16-
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
34+
.. _Enable the Cloud Billing API.: https://cloud.google.com/billing
35+
.. _Setup Authentication.: https://googleapis.github.io/google-cloud-python/latest/core/auth.html
1736

1837
Installation
1938
~~~~~~~~~~~~
@@ -34,16 +53,31 @@ Mac/Linux
3453

3554
.. code-block:: console
3655
37-
python3 -m venv <your-env>
56+
pip install virtualenv
57+
virtualenv <your-env>
3858
source <your-env>/bin/activate
39-
<your-env>/bin/pip install /path/to/library
59+
<your-env>/bin/pip install google-cloud-billing
4060
4161
4262
Windows
4363
^^^^^^^
4464

4565
.. code-block:: console
4666
47-
python3 -m venv <your-env>
67+
pip install virtualenv
68+
virtualenv <your-env>
4869
<your-env>\Scripts\activate
49-
<your-env>\Scripts\pip.exe install \path\to\library
70+
<your-env>\Scripts\pip.exe install google-cloud-billing
71+
72+
Next Steps
73+
~~~~~~~~~~
74+
75+
- Read the `Client Library Documentation`_ for Cloud Billing API
76+
API to see other available methods on the client.
77+
- Read the `Cloud Billing API Product documentation`_ to learn
78+
more about the product and see How-to Guides.
79+
- View this `README`_ to see the full list of Cloud
80+
APIs that we cover.
81+
82+
.. _Cloud Billing API Product documentation: https://cloud.google.com/billing
83+
.. _README: https://github.com/googleapis/google-cloud-python/blob/master/README.rst

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
default_version = "v1"
2525

2626
for library in s.get_staging_dirs(default_version):
27-
excludes = ["setup.py", "docs/index.rst", "scripts/fixup*"]
27+
excludes = ["setup.py", "README.rst", "docs/index.rst", "scripts/fixup*"]
2828
s.move(library, excludes=excludes)
2929

3030
s.remove_staging_dirs()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy