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

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#attributesObject

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



25
26
27
# File 'lib/datadog_api_client/v2/models/logs_metric_create_data.rb', line 25

def attributes
  @attributes
end

#idObject

The name of the log-based metric.



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

def id
  @id
end

#typeObject

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



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

def type
  @type
end