Google\Cloud\Logging\Connection\Grpc::updateMetric PHP Method

updateMetric() public method

public updateMetric ( array $args = [] ) : array
$args array
return array
    public function updateMetric(array $args = [])
    {
        $pbMetric = (new LogMetric())->deserialize($this->pluckArray($this->metricKeys, $args), $this->codec);
        return $this->send([$this->metricsClient, 'updateLogMetric'], [$this->pluck('metricName', $args), $pbMetric, $args]);
    }