Class: Google::Cloud::Dataproc::V1::Cluster
- Inherits:
-
Object
- Object
- Google::Cloud::Dataproc::V1::Cluster
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataproc/v1/clusters.rb
Overview
Describes the identifying information, config, and status of a Dataproc cluster
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#cluster_name ⇒ ::String
Required.
-
#cluster_uuid ⇒ ::String
readonly
Output only.
-
#config ⇒ ::Google::Cloud::Dataproc::V1::ClusterConfig
Optional.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#metrics ⇒ ::Google::Cloud::Dataproc::V1::ClusterMetrics
readonly
Output only.
-
#project_id ⇒ ::String
Required.
-
#status ⇒ ::Google::Cloud::Dataproc::V1::ClusterStatus
readonly
Output only.
-
#status_history ⇒ ::Array<::Google::Cloud::Dataproc::V1::ClusterStatus>
readonly
Output only.
-
#virtual_cluster_config ⇒ ::Google::Cloud::Dataproc::V1::VirtualClusterConfig
Optional.
Instance Attribute Details
#cluster_name ⇒ ::String
Returns Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#cluster_uuid ⇒ ::String (readonly)
Returns Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#config ⇒ ::Google::Cloud::Dataproc::V1::ClusterConfig
Returns Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
Exactly one of ClusterConfig or VirtualClusterConfig must be specified.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#metrics ⇒ ::Google::Cloud::Dataproc::V1::ClusterMetrics (readonly)
Returns Output only. Contains cluster daemon metrics such as HDFS and YARN stats.
Beta Feature: This report is available for testing purposes only. It may be changed before final release.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#project_id ⇒ ::String
Returns Required. The Google Cloud Platform project ID that the cluster belongs to.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#status ⇒ ::Google::Cloud::Dataproc::V1::ClusterStatus (readonly)
Returns Output only. Cluster status.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#status_history ⇒ ::Array<::Google::Cloud::Dataproc::V1::ClusterStatus> (readonly)
Returns Output only. The previous cluster status.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#virtual_cluster_config ⇒ ::Google::Cloud::Dataproc::V1::VirtualClusterConfig
Returns Optional. The virtual cluster config is used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a Dataproc-on-GKE cluster. Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtual_cluster_config must be specified.
78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/dataproc/v1/clusters.rb', line 78 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |