Google\Cloud\Logging\V2\ConfigServiceV2Client::parseProjectFromSinkName PHP Method

parseProjectFromSinkName() public static method

Parses the project from the given fully-qualified path which represents a sink resource.
public static parseProjectFromSinkName ( $sinkName )
    public static function parseProjectFromSinkName($sinkName)
    {
        return self::getSinkNameTemplate()->match($sinkName)['project'];
    }