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

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

        return $this;
    }
public function setYarnMetrics ( $ var ) { $ arr = GPBUtil :: checkMapField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING , \ Google \ Protobuf \ Internal \ GPBType :: INT64 ) ; $ this -> yarn_metrics = $ arr ; return $ this ; }
The YARN metrics.

Generated from protobuf field <code>map<string, int64> yarn_metrics = 2;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this
The YARN metrics .