Class: DatadogAPIClient::V2::UsageQuotaBulkResultAttributes

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

Overview

Attributes of a usage quota bulk write result. On success, all fields except error are present. On failure, only error is present and the other fields are omitted.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/usage_quota_bulk_result_attributes.rb', line 39

def additional_properties
  @additional_properties
end

#enforcedObject

Whether usage above the limit is actively blocked instead of only tracked or alerted on. Omitted if this item failed to write.



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

def enforced
  @enforced
end

#errorObject

An error message describing why this item failed to write. Omitted if this item was written successfully.



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

def error
  @error
end

#org_public_idObject

The public ID of the organization that owns the quota. Omitted if this item failed to write.



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

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.



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

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. Omitted if this item failed to write.



37
38
39
# File 'lib/datadog_api_client/v2/models/usage_quota_bulk_result_attributes.rb', line 37

def usage_limit
  @usage_limit
end