src/Api/Billing/BillingDestination.php
public function setMetrics($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->metrics = $arr;

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

        return $this;
    }
Names of the metrics to report to this billing destination.
Each name must be defined in [Service.metrics][google.api.Service.metrics] section.

Generated from protobuf field <code>repeated string metrics = 2;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this