Class: DatadogAPIClient::V2::UsageQuotaUpdateAttributes

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

Overview

Attributes to update on a usage quota. Omitting a property leaves its current value unchanged.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#enforcedObject

Whether to actively block usage above the limit. Omit this field to leave the current enforcement setting unchanged.



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

def enforced
  @enforced
end

#usage_limitObject

The new quota limit in the usage units defined by the quota namespace. For an organization-wide quota (empty scope), the limit must be greater than the usage already recorded in the current period. Omit this field to leave the current limit unchanged.



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

def usage_limit
  @usage_limit
end