google_api_dataproc v0.6.0 GoogleApi.Dataproc.V1.Model.Cluster View Source

Describes the identifying information, config, and status of a cluster of Compute Engine instances.

Attributes

  • clusterName (String.t): Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused. Defaults to: null.
  • clusterUuid (String.t): Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster. Defaults to: null.
  • config (ClusterConfig): Required. The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated. Defaults to: null.
  • labels (%{optional(String.t) => String.t}): Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. Defaults to: null.
  • metrics (ClusterMetrics): 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. Defaults to: null.
  • projectId (String.t): Required. The Google Cloud Platform project ID that the cluster belongs to. Defaults to: null.
  • status (ClusterStatus): Output only. Cluster status. Defaults to: null.
  • statusHistory ([ClusterStatus]): Output only. The previous cluster status. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Dataproc.V1.Model.Cluster{
  clusterName: any(),
  clusterUuid: any(),
  config: GoogleApi.Dataproc.V1.Model.ClusterConfig.t(),
  labels: map(),
  metrics: GoogleApi.Dataproc.V1.Model.ClusterMetrics.t(),
  projectId: any(),
  status: GoogleApi.Dataproc.V1.Model.ClusterStatus.t(),
  statusHistory: [GoogleApi.Dataproc.V1.Model.ClusterStatus.t()]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.