Google\Cloud\Logging\V2\MetricsServiceV2Client::parseProjectFromMetricName PHP 메소드

parseProjectFromMetricName() 공개 정적인 메소드

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