Class: DatadogAPIClient::V2::LogsMetricCreateData

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/logs_metric_create_data.rb

Overview

The new log-based metric properties.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#attributesObject

The object describing the Datadog log-based metric to create.



29
30
31
# File 'lib/datadog_api_client/v2/models/logs_metric_create_data.rb', line 29

def attributes
  @attributes
end

#idObject

The name of the log-based metric.



32
33
34
# File 'lib/datadog_api_client/v2/models/logs_metric_create_data.rb', line 32

def id
  @id
end

#typeObject

The type of the resource. The value should always be logs_metrics.



35
36
37
# File 'lib/datadog_api_client/v2/models/logs_metric_create_data.rb', line 35

def type
  @type
end