|
30 | 30 |
|
31 | 31 | from google.api_core.exceptions import AlreadyExists, NotFound
|
32 | 32 | from google.api_core.retry import Retry, exponential_sleep_generator
|
33 |
| -from google.cloud.dataproc_v1beta2 import Cluster |
| 33 | +from google.cloud.dataproc_v1 import Cluster |
34 | 34 | from google.protobuf.duration_pb2 import Duration
|
35 | 35 | from google.protobuf.field_mask_pb2 import FieldMask
|
36 | 36 |
|
@@ -1906,7 +1906,7 @@ class DataprocSubmitJobOperator(BaseOperator):
|
1906 | 1906 | :type location: str
|
1907 | 1907 | :param job: Required. The job resource.
|
1908 | 1908 | If a dict is provided, it must be of the same form as the protobuf message
|
1909 |
| - :class:`~google.cloud.dataproc_v1beta2.types.Job` |
| 1909 | + :class:`~google.cloud.dataproc_v1.types.Job` |
1910 | 1910 | :type job: Dict
|
1911 | 1911 | :param request_id: Optional. A unique id used to identify the request. If the server receives two
|
1912 | 1912 | ``SubmitJobRequest`` requests with the same id, then the second request will be ignored and the first
|
@@ -2047,8 +2047,8 @@ class DataprocUpdateClusterOperator(BaseOperator):
|
2047 | 2047 | :param cluster: Required. The changes to the cluster.
|
2048 | 2048 |
|
2049 | 2049 | If a dict is provided, it must be of the same form as the protobuf message
|
2050 |
| - :class:`~google.cloud.dataproc_v1beta2.types.Cluster` |
2051 |
| - :type cluster: Union[Dict, google.cloud.dataproc_v1beta2.types.Cluster] |
| 2050 | + :class:`~google.cloud.dataproc_v1.types.Cluster` |
| 2051 | + :type cluster: Union[Dict, google.cloud.dataproc_v1.types.Cluster] |
2052 | 2052 | :param update_mask: Required. Specifies the path, relative to ``Cluster``, of the field to update. For
|
2053 | 2053 | example, to change the number of workers in a cluster to 5, the ``update_mask`` parameter would be
|
2054 | 2054 | specified as ``config.worker_config.num_instances``, and the ``PATCH`` request body would specify the
|
|
0 commit comments