class Google::Apis::DataprocV1::Cluster
Describes the identifying information, config, and status of a cluster of Google Compute Engine instances.
Attributes
- Required
-
The cluster name. Cluster names within a project must be unique.
Names of deleted clusters can be reused. Corresponds to the JSON property `clusterName` @return [String]
- Output-only
-
A cluster UUID (Unique Universal Identifier). Cloud Dataproc
generates this value when it creates the cluster. Corresponds to the JSON property `clusterUuid` @return [String]
The cluster config. Corresponds to the JSON property `config` @return [Google::Apis::DataprocV1::ClusterConfig]
- Required
-
The Google Cloud Platform project ID that the cluster belongs to.
Corresponds to the JSON property `projectId` @return [String]
The status of a cluster and its instances. Corresponds to the JSON property `status` @return [Google::Apis::DataprocV1::ClusterStatus]
- Output-only
-
The previous cluster status.
Corresponds to the JSON property `statusHistory` @return [Array<Google::Apis::DataprocV1::ClusterStatus>]
Public Class Methods
# File generated/google/apis/dataproc_v1/classes.rb, line 81 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dataproc_v1/classes.rb, line 86 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @config = args[:config] if args.key?(:config) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) end