lib/google/cloud/dataproc/v1beta2/cluster_controller_client.rb in google-cloud-dataproc-0.5.1 vs lib/google/cloud/dataproc/v1beta2/cluster_controller_client.rb in google-cloud-dataproc-0.6.0

- old
+ new

@@ -229,11 +229,13 @@ ) end # Service calls - # Creates a cluster in a project. + # Creates a cluster in a project. The returned + # {Google::Longrunning::Operation#metadata Operation#metadata} will be + # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). # # @param project_id [String] # Required. The ID of the Google Cloud Platform project that the cluster # belongs to. # @param region [String] @@ -322,11 +324,13 @@ ) operation.on_done { |operation| yield(operation) } if block_given? operation end - # Updates a cluster in a project. + # Updates a cluster in a project. The returned + # {Google::Longrunning::Operation#metadata Operation#metadata} will be + # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). # # @param project_id [String] # Required. The ID of the Google Cloud Platform project the # cluster belongs to. # @param region [String] @@ -503,11 +507,13 @@ ) operation.on_done { |operation| yield(operation) } if block_given? operation end - # Deletes a cluster in a project. + # Deletes a cluster in a project. The returned + # {Google::Longrunning::Operation#metadata Operation#metadata} will be + # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). # # @param project_id [String] # Required. The ID of the Google Cloud Platform project that the cluster # belongs to. # @param region [String] @@ -654,11 +660,11 @@ # Required. The ID of the Google Cloud Platform project that the cluster # belongs to. # @param region [String] # Required. The Cloud Dataproc region in which to handle the request. # @param filter [String] - # Optional. A filter constraining the clusters to list. Filters are + # Optional. A filter constraining the clusters to list. Filters are # case-sensitive and have the following syntax: # # field = value [AND [field = value]] ... # # where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]`, @@ -732,12 +738,16 @@ }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Dataproc::V1beta2::ListClustersRequest) @list_clusters.call(req, options, &block) end - # Gets cluster diagnostic information. - # After the operation completes, the Operation.response field - # contains `DiagnoseClusterOutputLocation`. + # Gets cluster diagnostic information. The returned + # {Google::Longrunning::Operation#metadata Operation#metadata} will be + # [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata). + # After the operation completes, + # {Google::Longrunning::Operation#response Operation#response} + # contains + # [Empty](https://cloud.google.comgoogle.protobuf.Empty). # # @param project_id [String] # Required. The ID of the Google Cloud Platform project that the cluster # belongs to. # @param region [String]