Class: DatadogAPIClient::V2::TagPolicyScoreAttributes

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

Overview

Attributes of a tag policy compliance score.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



37
38
39
# File 'lib/datadog_api_client/v2/models/tag_policy_score_attributes.rb', line 37

def additional_properties
  @additional_properties
end

#scoreObject

The compliance score for the policy over the requested time window, as a percentage between 0 and 100. null indicates that no relevant telemetry was found.



26
27
28
# File 'lib/datadog_api_client/v2/models/tag_policy_score_attributes.rb', line 26

def score
  @score
end

#ts_endObject

End of the time window the score was computed over, as a Unix timestamp in milliseconds.



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

def ts_end
  @ts_end
end

#ts_startObject

Start of the time window the score was computed over, as a Unix timestamp in milliseconds.



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

def ts_start
  @ts_start
end

#versionObject

The version of the tag policy that the score was computed against.



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

def version
  @version
end