Class: DatadogAPIClient::V2::EventPayload
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::EventPayload
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/event_payload.rb
Overview
Event attributes.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#aggregation_key ⇒ Object
readonly
An arbitrary string to use for aggregation when correlating events.
-
#attributes ⇒ Object
readonly
JSON object for custom attributes.
-
#category ⇒ Object
readonly
Event category to identify the type of event.
-
#message ⇒ Object
readonly
The body of the event.
-
#tags ⇒ Object
A list of tags to apply to the event.
-
#timestamp ⇒ Object
Timestamp when the event occurred.
-
#title ⇒ Object
readonly
The event title.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 48 def additional_properties @additional_properties end |
#aggregation_key ⇒ Object
An arbitrary string to use for aggregation when correlating events. Limited to 100 characters.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 25 def aggregation_key @aggregation_key end |
#attributes ⇒ Object
JSON object for custom attributes. Schema are different per each event category.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 28 def attributes @attributes end |
#category ⇒ Object
Event category to identify the type of event. Only the value change
is supported. Support for other categories are coming. please reach out to datadog support if you're interested.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 31 def category @category end |
#message ⇒ Object
The body of the event. Limited to 4000 characters.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 34 def @message end |
#tags ⇒ Object
A list of tags to apply to the event. Refer to Tags docs.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 38 def @tags end |
#timestamp ⇒ Object
Timestamp when the event occurred. Must follow ISO 8601 format.
For example "2017-01-15T01:30:15.010000Z"
.
Defaults to the timestamp of receipt. Limited to values no older than 18 hours.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 43 def @timestamp end |
#title ⇒ Object
The event title. Limited to 500 characters.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/event_payload.rb', line 46 def title @title end |