Class: Google::Logging::V2::CreateLogMetricRequest

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

Overview

The parameters to CreateLogMetric.

Instance Attribute Summary collapse

Instance Attribute Details

#metricGoogle::Logging::V2::LogMetric

Returns The new logs-based metric, which must not have an identifier that already exists.

Returns:



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

class CreateLogMetricRequest; end

#parentString

Returns The resource name of the project in which to create the metric:

"projects/[PROJECT_ID]"

The new metric must be provided in the request.

Returns:

  • (String)

    The resource name of the project in which to create the metric:

    "projects/[PROJECT_ID]"
    

    The new metric must be provided in the request.



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

class CreateLogMetricRequest; end