Google\Cloud\Logging\V2\MetricsServiceV2Client::parseMetricFromMetricName PHP Метод

parseMetricFromMetricName() публичный статический Метод

Parses the metric from the given fully-qualified path which represents a metric resource.
public static parseMetricFromMetricName ( $metricName )
    public static function parseMetricFromMetricName($metricName)
    {
        return self::getMetricNameTemplate()->match($metricName)['metric'];
    }