lib/google/cloud/dataproc/v1/cluster_controller/client.rb in google-cloud-dataproc-v1-0.20.0 vs lib/google/cloud/dataproc/v1/cluster_controller/client.rb in google-cloud-dataproc-v1-0.21.0
- old
+ new
@@ -1102,11 +1102,11 @@
# A request object representing the call parameters. Required. To specify no
# parameters, or to keep all the default parameter values, pass an empty Hash.
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
- # @overload diagnose_cluster(project_id: nil, region: nil, cluster_name: nil)
+ # @overload diagnose_cluster(project_id: nil, region: nil, cluster_name: nil, tarball_gcs_dir: nil, diagnosis_interval: nil, jobs: nil, yarn_application_ids: nil)
# Pass arguments to `diagnose_cluster` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param project_id [::String]
@@ -1114,9 +1114,22 @@
# belongs to.
# @param region [::String]
# Required. The Dataproc region in which to handle the request.
# @param cluster_name [::String]
# Required. The cluster name.
+ # @param tarball_gcs_dir [::String]
+ # Optional. The output Cloud Storage directory for the diagnostic
+ # tarball. If not specified, a task-specific directory in the cluster's
+ # staging bucket will be used.
+ # @param diagnosis_interval [::Google::Type::Interval, ::Hash]
+ # Optional. Time interval in which diagnosis should be carried out on the
+ # cluster.
+ # @param jobs [::Array<::String>]
+ # Optional. Specifies a list of jobs on which diagnosis is to be performed.
+ # Format: projects/\\{project}/regions/\\{region}/jobs/\\{job}
+ # @param yarn_application_ids [::Array<::String>]
+ # Optional. Specifies a list of yarn applications on which diagnosis is to be
+ # performed.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
# @yieldparam operation [::GRPC::ActiveCall::Operation]
#