ProjectsMetrics
class ProjectsMetrics extends Resource (View source)
The "metrics" collection of methods.
Typical usage is:
$loggingService = new Google\Service\Logging(...);
$metrics = $loggingService->projects_metrics;
Methods
delete(string $metricName, array $optParams = [])
Deletes a logs-based metric. (metrics.delete)
listProjectsMetrics(string $parent, array $optParams = [])
Lists logs-based metrics. (metrics.listProjectsMetrics)
Details
LogMetric
create(string $parent, LogMetric $postBody, array $optParams = [])
Creates a logs-based metric. (metrics.create)
LoggingEmpty
delete(string $metricName, array $optParams = [])
Deletes a logs-based metric. (metrics.delete)
LogMetric
get(string $metricName, array $optParams = [])
Gets a logs-based metric. (metrics.get)
ListLogMetricsResponse
listProjectsMetrics(string $parent, array $optParams = [])
Lists logs-based metrics. (metrics.listProjectsMetrics)