|
1 | 1 | # -*- coding: utf-8 -*- |
2 | | - |
3 | 2 | # Copyright 2020 Google LLC |
4 | 3 | # |
5 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
|
15 | 14 | # limitations under the License. |
16 | 15 | # |
17 | 16 |
|
18 | | -from google.cloud.dataproc_v1.services.autoscaling_policy_service.async_client import ( |
19 | | - AutoscalingPolicyServiceAsyncClient, |
20 | | -) |
21 | 17 | from google.cloud.dataproc_v1.services.autoscaling_policy_service.client import ( |
22 | 18 | AutoscalingPolicyServiceClient, |
23 | 19 | ) |
24 | | -from google.cloud.dataproc_v1.services.cluster_controller.async_client import ( |
25 | | - ClusterControllerAsyncClient, |
| 20 | +from google.cloud.dataproc_v1.services.autoscaling_policy_service.async_client import ( |
| 21 | + AutoscalingPolicyServiceAsyncClient, |
26 | 22 | ) |
27 | 23 | from google.cloud.dataproc_v1.services.cluster_controller.client import ( |
28 | 24 | ClusterControllerClient, |
29 | 25 | ) |
30 | | -from google.cloud.dataproc_v1.services.job_controller.async_client import ( |
31 | | - JobControllerAsyncClient, |
| 26 | +from google.cloud.dataproc_v1.services.cluster_controller.async_client import ( |
| 27 | + ClusterControllerAsyncClient, |
32 | 28 | ) |
33 | 29 | from google.cloud.dataproc_v1.services.job_controller.client import JobControllerClient |
34 | | -from google.cloud.dataproc_v1.services.workflow_template_service.async_client import ( |
35 | | - WorkflowTemplateServiceAsyncClient, |
| 30 | +from google.cloud.dataproc_v1.services.job_controller.async_client import ( |
| 31 | + JobControllerAsyncClient, |
36 | 32 | ) |
37 | 33 | from google.cloud.dataproc_v1.services.workflow_template_service.client import ( |
38 | 34 | WorkflowTemplateServiceClient, |
39 | 35 | ) |
| 36 | +from google.cloud.dataproc_v1.services.workflow_template_service.async_client import ( |
| 37 | + WorkflowTemplateServiceAsyncClient, |
| 38 | +) |
| 39 | + |
40 | 40 | from google.cloud.dataproc_v1.types.autoscaling_policies import AutoscalingPolicy |
41 | 41 | from google.cloud.dataproc_v1.types.autoscaling_policies import ( |
42 | 42 | BasicAutoscalingAlgorithm, |
|
80 | 80 | from google.cloud.dataproc_v1.types.clusters import EndpointConfig |
81 | 81 | from google.cloud.dataproc_v1.types.clusters import GceClusterConfig |
82 | 82 | from google.cloud.dataproc_v1.types.clusters import GetClusterRequest |
| 83 | +from google.cloud.dataproc_v1.types.clusters import GkeClusterConfig |
| 84 | +from google.cloud.dataproc_v1.types.clusters import IdentityConfig |
83 | 85 | from google.cloud.dataproc_v1.types.clusters import InstanceGroupConfig |
84 | 86 | from google.cloud.dataproc_v1.types.clusters import KerberosConfig |
85 | 87 | from google.cloud.dataproc_v1.types.clusters import LifecycleConfig |
86 | 88 | from google.cloud.dataproc_v1.types.clusters import ListClustersRequest |
87 | 89 | from google.cloud.dataproc_v1.types.clusters import ListClustersResponse |
88 | 90 | from google.cloud.dataproc_v1.types.clusters import ManagedGroupConfig |
| 91 | +from google.cloud.dataproc_v1.types.clusters import MetastoreConfig |
| 92 | +from google.cloud.dataproc_v1.types.clusters import NodeGroupAffinity |
89 | 93 | from google.cloud.dataproc_v1.types.clusters import NodeInitializationAction |
90 | 94 | from google.cloud.dataproc_v1.types.clusters import ReservationAffinity |
91 | 95 | from google.cloud.dataproc_v1.types.clusters import SecurityConfig |
| 96 | +from google.cloud.dataproc_v1.types.clusters import ShieldedInstanceConfig |
92 | 97 | from google.cloud.dataproc_v1.types.clusters import SoftwareConfig |
| 98 | +from google.cloud.dataproc_v1.types.clusters import StartClusterRequest |
| 99 | +from google.cloud.dataproc_v1.types.clusters import StopClusterRequest |
93 | 100 | from google.cloud.dataproc_v1.types.clusters import UpdateClusterRequest |
94 | 101 | from google.cloud.dataproc_v1.types.jobs import CancelJobRequest |
95 | 102 | from google.cloud.dataproc_v1.types.jobs import DeleteJobRequest |
|
155 | 162 | from google.cloud.dataproc_v1.types.workflow_templates import WorkflowTemplatePlacement |
156 | 163 |
|
157 | 164 | __all__ = ( |
158 | | - "AcceleratorConfig", |
159 | | - "AutoscalingConfig", |
160 | | - "AutoscalingPolicy", |
161 | | - "AutoscalingPolicyServiceAsyncClient", |
162 | 165 | "AutoscalingPolicyServiceClient", |
| 166 | + "AutoscalingPolicyServiceAsyncClient", |
| 167 | + "ClusterControllerClient", |
| 168 | + "ClusterControllerAsyncClient", |
| 169 | + "JobControllerClient", |
| 170 | + "JobControllerAsyncClient", |
| 171 | + "WorkflowTemplateServiceClient", |
| 172 | + "WorkflowTemplateServiceAsyncClient", |
| 173 | + "AutoscalingPolicy", |
163 | 174 | "BasicAutoscalingAlgorithm", |
164 | 175 | "BasicYarnAutoscalingConfig", |
165 | | - "CancelJobRequest", |
| 176 | + "CreateAutoscalingPolicyRequest", |
| 177 | + "DeleteAutoscalingPolicyRequest", |
| 178 | + "GetAutoscalingPolicyRequest", |
| 179 | + "InstanceGroupAutoscalingPolicyConfig", |
| 180 | + "ListAutoscalingPoliciesRequest", |
| 181 | + "ListAutoscalingPoliciesResponse", |
| 182 | + "UpdateAutoscalingPolicyRequest", |
| 183 | + "AcceleratorConfig", |
| 184 | + "AutoscalingConfig", |
166 | 185 | "Cluster", |
167 | 186 | "ClusterConfig", |
168 | | - "ClusterControllerAsyncClient", |
169 | | - "ClusterControllerClient", |
170 | 187 | "ClusterMetrics", |
171 | | - "ClusterOperation", |
172 | | - "ClusterOperationMetadata", |
173 | | - "ClusterOperationStatus", |
174 | | - "ClusterSelector", |
175 | 188 | "ClusterStatus", |
176 | | - "Component", |
177 | | - "CreateAutoscalingPolicyRequest", |
178 | 189 | "CreateClusterRequest", |
179 | | - "CreateWorkflowTemplateRequest", |
180 | | - "DeleteAutoscalingPolicyRequest", |
181 | 190 | "DeleteClusterRequest", |
182 | | - "DeleteJobRequest", |
183 | | - "DeleteWorkflowTemplateRequest", |
184 | 191 | "DiagnoseClusterRequest", |
185 | 192 | "DiagnoseClusterResults", |
186 | 193 | "DiskConfig", |
187 | 194 | "EncryptionConfig", |
188 | 195 | "EndpointConfig", |
189 | 196 | "GceClusterConfig", |
190 | | - "GetAutoscalingPolicyRequest", |
191 | 197 | "GetClusterRequest", |
| 198 | + "GkeClusterConfig", |
| 199 | + "IdentityConfig", |
| 200 | + "InstanceGroupConfig", |
| 201 | + "KerberosConfig", |
| 202 | + "LifecycleConfig", |
| 203 | + "ListClustersRequest", |
| 204 | + "ListClustersResponse", |
| 205 | + "ManagedGroupConfig", |
| 206 | + "MetastoreConfig", |
| 207 | + "NodeGroupAffinity", |
| 208 | + "NodeInitializationAction", |
| 209 | + "ReservationAffinity", |
| 210 | + "SecurityConfig", |
| 211 | + "ShieldedInstanceConfig", |
| 212 | + "SoftwareConfig", |
| 213 | + "StartClusterRequest", |
| 214 | + "StopClusterRequest", |
| 215 | + "UpdateClusterRequest", |
| 216 | + "CancelJobRequest", |
| 217 | + "DeleteJobRequest", |
192 | 218 | "GetJobRequest", |
193 | | - "GetWorkflowTemplateRequest", |
194 | 219 | "HadoopJob", |
195 | 220 | "HiveJob", |
196 | | - "InstanceGroupAutoscalingPolicyConfig", |
197 | | - "InstanceGroupConfig", |
198 | | - "InstantiateInlineWorkflowTemplateRequest", |
199 | | - "InstantiateWorkflowTemplateRequest", |
200 | 221 | "Job", |
201 | | - "JobControllerAsyncClient", |
202 | | - "JobControllerClient", |
203 | 222 | "JobMetadata", |
204 | 223 | "JobPlacement", |
205 | 224 | "JobReference", |
206 | 225 | "JobScheduling", |
207 | 226 | "JobStatus", |
208 | | - "KerberosConfig", |
209 | | - "LifecycleConfig", |
210 | | - "ListAutoscalingPoliciesRequest", |
211 | | - "ListAutoscalingPoliciesResponse", |
212 | | - "ListClustersRequest", |
213 | | - "ListClustersResponse", |
214 | 227 | "ListJobsRequest", |
215 | 228 | "ListJobsResponse", |
216 | | - "ListWorkflowTemplatesRequest", |
217 | | - "ListWorkflowTemplatesResponse", |
218 | 229 | "LoggingConfig", |
219 | | - "ManagedCluster", |
220 | | - "ManagedGroupConfig", |
221 | | - "NodeInitializationAction", |
222 | | - "OrderedJob", |
223 | | - "ParameterValidation", |
224 | 230 | "PigJob", |
225 | 231 | "PrestoJob", |
226 | 232 | "PySparkJob", |
227 | 233 | "QueryList", |
228 | | - "RegexValidation", |
229 | | - "ReservationAffinity", |
230 | | - "SecurityConfig", |
231 | | - "SoftwareConfig", |
232 | 234 | "SparkJob", |
233 | 235 | "SparkRJob", |
234 | 236 | "SparkSqlJob", |
235 | 237 | "SubmitJobRequest", |
236 | | - "TemplateParameter", |
237 | | - "UpdateAutoscalingPolicyRequest", |
238 | | - "UpdateClusterRequest", |
239 | 238 | "UpdateJobRequest", |
| 239 | + "YarnApplication", |
| 240 | + "ClusterOperationMetadata", |
| 241 | + "ClusterOperationStatus", |
| 242 | + "Component", |
| 243 | + "ClusterOperation", |
| 244 | + "ClusterSelector", |
| 245 | + "CreateWorkflowTemplateRequest", |
| 246 | + "DeleteWorkflowTemplateRequest", |
| 247 | + "GetWorkflowTemplateRequest", |
| 248 | + "InstantiateInlineWorkflowTemplateRequest", |
| 249 | + "InstantiateWorkflowTemplateRequest", |
| 250 | + "ListWorkflowTemplatesRequest", |
| 251 | + "ListWorkflowTemplatesResponse", |
| 252 | + "ManagedCluster", |
| 253 | + "OrderedJob", |
| 254 | + "ParameterValidation", |
| 255 | + "RegexValidation", |
| 256 | + "TemplateParameter", |
240 | 257 | "UpdateWorkflowTemplateRequest", |
241 | 258 | "ValueValidation", |
242 | 259 | "WorkflowGraph", |
243 | 260 | "WorkflowMetadata", |
244 | 261 | "WorkflowNode", |
245 | 262 | "WorkflowTemplate", |
246 | 263 | "WorkflowTemplatePlacement", |
247 | | - "WorkflowTemplateServiceAsyncClient", |
248 | | - "WorkflowTemplateServiceClient", |
249 | | - "YarnApplication", |
250 | 264 | ) |
0 commit comments