From 66c7af157ca5f740ebfec95abb7267e361d855f6 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:44:07 -0700 Subject: [PATCH] docs: remove example usage from README (#77) --- README.rst | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/README.rst b/README.rst index bc86bd61..2139f877 100644 --- a/README.rst +++ b/README.rst @@ -79,29 +79,6 @@ Windows \Scripts\activate \Scripts\pip.exe install google-cloud-dataproc -Example Usage -~~~~~~~~~~~~~ - -.. code:: py - - from google.cloud 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 - pass - - # 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 - pass Next Steps ~~~~~~~~~~ @@ -109,4 +86,4 @@ 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. \ No newline at end of file + How-to Guides.