Class: DatadogAPIClient::V2::RumArchiveConfigUpsertAttributes

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

Overview

Archive configuration to save. When enabled is true, retention_days is required and must be 30, 90, or 180. When disabled, retention_days can be omitted.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#enabled ⇒ Object

Whether archiving is enabled.



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

def enabled
  @enabled
end

#retention_days ⇒ Object

Retention in days. When enabled is true, required and restricted to 30, 90, or 180. When enabled is false, this field can be omitted.



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

def retention_days
  @retention_days
end