Class: DatadogAPIClient::V2::Query
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::Query
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/query.rb
Overview
A query used by an app. This can take the form of an external action, a data transformation, or a state variable change.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#events ⇒ Object
Events to listen for downstream of the query.
-
#id ⇒ Object
readonly
The ID of the query.
-
#name ⇒ Object
readonly
The name of the query.
-
#properties ⇒ Object
The properties of the query.
-
#type ⇒ Object
readonly
The query type.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/query.rb', line 39 def additional_properties @additional_properties end |
#events ⇒ Object
Events to listen for downstream of the query.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/query.rb', line 25 def events @events end |
#id ⇒ Object
The ID of the query.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/query.rb', line 28 def id @id end |
#name ⇒ Object
The name of the query. The name must be unique within the app and is visible in the app editor.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/query.rb', line 31 def name @name end |
#properties ⇒ Object
The properties of the query. The properties vary depending on the query type.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/query.rb', line 34 def properties @properties end |
#type ⇒ Object
The query type.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/query.rb', line 37 def type @type end |