class Google::Apis::DataprocV1beta2::ManagedCluster

Cluster that is managed by the workflow.

Attributes

cluster_name[RW]

Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters. Corresponds to the JSON property `clusterName` @return [String]

config[RW]

The cluster config. Corresponds to the JSON property `config` @return [Google::Apis::DataprocV1beta2::ClusterConfig]

labels[RW]

Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: p`Ll`p`Lo“0,62`Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: p`Ll`p`Lo`\ p`N`_-`0,63`No more than 32 labels can be associated with a given cluster. Corresponds to the JSON property `labels` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2184
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 2189
def update!(**args)
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
  @config = args[:config] if args.key?(:config)
  @labels = args[:labels] if args.key?(:labels)
end