Class: Google::Logging::V2::UpdateLogMetricRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb

Overview

The parameters to UpdateLogMetric.

Instance Attribute Summary collapse

Instance Attribute Details

#metricGoogle::Logging::V2::LogMetric

Returns The updated metric.

Returns:



214
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb', line 214

class UpdateLogMetricRequest; end

#metric_nameString

Returns The resource name of the metric to update:

"projects/[PROJECT_ID]/metrics/[METRIC_ID]"

The updated metric must be provided in the request and it's +name+ field must be the same as +[METRIC_ID]+ If the metric does not exist in +[PROJECT_ID]+, then a new metric is created.

Returns:

  • (String)

    The resource name of the metric to update:

    "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    

    The updated metric must be provided in the request and it's +name+ field must be the same as +[METRIC_ID]+ If the metric does not exist in +[PROJECT_ID]+, then a new metric is created.



214
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb', line 214

class UpdateLogMetricRequest; end