Class: DatadogAPIClient::V2::DdsqlTabularQueryRequestAttributes

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

Overview

Attributes describing the DDSQL query to execute.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



38
39
40
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb', line 38

def additional_properties
  @additional_properties
end

#queryObject

The DDSQL statement to execute. DDSQL is Datadog's SQL dialect, which is a subset of PostgreSQL, scoped to Datadog data sources.



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

def query
  @query
end

#row_limitObject

Cap on the number of rows returned. Defaults to 5,000 when omitted. Must be between 1 and 10,000 inclusive; values outside this range are rejected with 400.



30
31
32
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb', line 30

def row_limit
  @row_limit
end

#timeObject

Time window scoping the underlying data sources, expressed in Unix milliseconds since the epoch. Inclusive on from_timestamp, exclusive on to_timestamp. Results from static tables (for example, dd.hosts) are not affected by the time window, but the field must still be provided.



36
37
38
# File 'lib/datadog_api_client/v2/models/ddsql_tabular_query_request_attributes.rb', line 36

def time
  @time
end