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

Inherits:
Object
  • Object
show all
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

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.

Returns:



237
238
239
240
# File 'proto_docs/google/logging/v2/logging_metrics.rb', line 237

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.

Returns:

  • (::String)

    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.



237
238
239
240
# File 'proto_docs/google/logging/v2/logging_metrics.rb', line 237

class CreateLogMetricRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end