lib/google/cloud/dataproc/v1/clusters_services_pb.rb in google-cloud-dataproc-v1-0.6.3 vs lib/google/cloud/dataproc/v1/clusters_services_pb.rb in google-cloud-dataproc-v1-0.7.0
- old
+ new
@@ -26,11 +26,11 @@
module ClusterController
# The ClusterControllerService provides methods to manage clusters
# of Compute Engine instances.
class Service
- include GRPC::GenericService
+ include ::GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'google.cloud.dataproc.v1.ClusterController'
@@ -39,9 +39,11 @@
# [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).
rpc :CreateCluster, ::Google::Cloud::Dataproc::V1::CreateClusterRequest, ::Google::Longrunning::Operation
# Updates a cluster in a project. The returned
# [Operation.metadata][google.longrunning.Operation.metadata] will be
# [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).
+ # The cluster must be in a [`RUNNING`][google.cloud.dataproc.v1.ClusterStatus.State] state or an error
+ # is returned.
rpc :UpdateCluster, ::Google::Cloud::Dataproc::V1::UpdateClusterRequest, ::Google::Longrunning::Operation
# Stops a cluster in a project.
rpc :StopCluster, ::Google::Cloud::Dataproc::V1::StopClusterRequest, ::Google::Longrunning::Operation
# Starts a cluster in a project.
rpc :StartCluster, ::Google::Cloud::Dataproc::V1::StartClusterRequest, ::Google::Longrunning::Operation