This repository was archived by the owner on Nov 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,34 +79,11 @@ Windows
7979 <your-env>\Scripts\activate
8080 <your-env>\Scripts\pip.exe install google-cloud-dataproc
8181
82- Example Usage
83- ~~~~~~~~~~~~~
84-
85- .. code :: py
86-
87- from google.cloud import dataproc_v1
88-
89- client = dataproc_v1.ClusterControllerClient()
90-
91- project_id = ' '
92- region = ' '
93-
94-
95- # Iterate over all results
96- for element in client.list_clusters(project_id, region):
97- # process element
98- pass
99-
100- # Or iterate over results one page at a time
101- for page in client.list_clusters(project_id, region).pages:
102- for element in page:
103- # process element
104- pass
10582
10683 Next Steps
10784~~~~~~~~~~
10885
10986- Read the `Client Library Documentation `_ for Google Cloud Dataproc API
11087 API to see other available methods on the client.
11188- Read the `Product documentation `_ to learn more about the product and see
112- How-to Guides.
89+ How-to Guides.
You can’t perform that action at this time.
0 commit comments