Reference documentation and code samples for the Google Cloud Dataproc V1 Client class ManagedCluster.
Cluster that is managed by the workflow.
Generated from protobuf message google.cloud.dataproc.v1.ManagedCluster
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cluster_name
string
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.
↳ config
↳ labels
array|Google\Protobuf\Internal\MapField
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}][\p{Ll}\p{Lo}\p{N} -]{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.
getClusterName
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.
Generated from protobuf field string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
string
setClusterName
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.
Generated from protobuf field string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
var
string
$this
getConfig
Required. The cluster configuration.
Generated from protobuf field .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
hasConfig
clearConfig
setConfig
Required. The cluster configuration.
Generated from protobuf field .google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
$this
getLabels
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}][\p{Ll}\p{Lo}\p{N} -]{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.
Generated from protobuf field map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\MapField
setLabels
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}][\p{Ll}\p{Lo}\p{N} -]{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.
Generated from protobuf field map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
var
array|Google\Protobuf\Internal\MapField
$this