Dataproc/src/V1beta2/ClusterSelector.php
public function setClusterLabels($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
        $this->cluster_labels = $arr;

        return $this;
    }
public function setClusterLabels($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
        $this->cluster_labels = $arr;

        return $this;
    }
public function setClusterLabels ( $ var ) { $ arr = GPBUtil :: checkMapField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> cluster_labels = $ arr ; return $ this ; }
Required. The cluster labels. Cluster must have all labels
to match.

Generated from protobuf field <code>map<string, string> cluster_labels = 2;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this
Required . The cluster labels . Cluster must have all labels to match .