Class: DatadogAPIClient::V2::UsageQuotaResponseAttributes

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

Overview

Attributes of a usage quota.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#enforcedObject

Whether usage above the limit is actively blocked instead of only tracked or alerted on.



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

def enforced
  @enforced
end

#org_public_idObject

The public ID of the organization that owns the quota.



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

def org_public_id
  @org_public_id
end

#scopeObject

A namespace-specific key and value identifying what the quota applies to within an organization. The object contains exactly one entry. A value of "*" identifies the default quota applied to entities without a specific quota. This field is omitted for an organization-wide quota.



31
32
33
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 31

def scope
  @scope
end

#usage_limitObject

The quota limit in the usage units defined by the quota namespace. May be fractional for quotas configured before public writes required whole units.



34
35
36
# File 'lib/datadog_api_client/v2/models/usage_quota_response_attributes.rb', line 34

def usage_limit
  @usage_limit
end