Class: Google::Logging::V2::CreateLogMetricRequest
- Inherits:
-
Object
- Object
- Google::Logging::V2::CreateLogMetricRequest
- Defined in:
- lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb
Overview
The parameters to CreateLogMetric.
Instance Attribute Summary collapse
-
#metric ⇒ Google::Logging::V2::LogMetric
The new logs-based metric, which must not have an identifier that already exists.
-
#parent ⇒ String
The resource name of the project in which to create the metric:.
Instance Attribute Details
#metric ⇒ Google::Logging::V2::LogMetric
Returns The new logs-based metric, which must not have an identifier that already exists.
199 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb', line 199 class CreateLogMetricRequest; end |
#parent ⇒ String
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.
199 |
# File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb', line 199 class CreateLogMetricRequest; end |