Skip to content
Browse files
docs: remove example usage from README (#77)
  • Loading branch information
busunkim96 committed Aug 11, 2020
1 parent 2d36496 commit 66c7af157ca5f740ebfec95abb7267e361d855f6
Showing with 1 addition and 24 deletions.
  1. +1 −24 README.rst
@@ -79,34 +79,11 @@ Windows
<your-env>\Scripts\pip.exe install google-cloud-dataproc

Example Usage

.. code:: py
from import dataproc_v1
client = dataproc_v1.ClusterControllerClient()
project_id = ''
region = ''
# Iterate over all results
for element in client.list_clusters(project_id, region):
# process element
# Or iterate over results one page at a time
for page in client.list_clusters(project_id, region).pages:
for element in page:
# process element

Next Steps

- Read the `Client Library Documentation`_ for Google Cloud Dataproc API
API to see other available methods on the client.
- Read the `Product documentation`_ to learn more about the product and see
How-to Guides.
How-to Guides.

0 comments on commit 66c7af1

Please sign in to comment.