Class: Google::Cloud::Logging::V2::CreateLogMetricRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Logging::V2::CreateLogMetricRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/logging/v2/logging_metrics.rb
Overview
The parameters to CreateLogMetric.
Instance Attribute Summary collapse
-
#metric ⇒ ::Google::Cloud::Logging::V2::LogMetric
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#metric ⇒ ::Google::Cloud::Logging::V2::LogMetric
Returns Required. The new logs-based metric, which must not have an identifier that already exists.
224 225 226 227 |
# File 'proto_docs/google/logging/v2/logging_metrics.rb', line 224 class CreateLogMetricRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The resource name of the project in which to create the metric:
"projects/[PROJECT_ID]"
The new metric must be provided in the request.
224 225 226 227 |
# File 'proto_docs/google/logging/v2/logging_metrics.rb', line 224 class CreateLogMetricRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |