Class: DatadogAPIClient::V2::UsageQuotaCreateData

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

Overview

A usage quota resource to create or update by scope.

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/usage_quota_create_data.rb', line 30

def additional_properties
  @additional_properties
end

#attributes ⇒ Object

Attributes for creating or updating a usage quota by scope. Each item must provide usage_limit, pending_usage_limit, or both. Providing only pending_usage_limit updates an existing organization-wide quota, never creates one, requires enforced to be omitted, and fails if the quota does not exist.



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

def attributes
  @attributes
end

#type ⇒ Object

The JSON:API resource type for a usage quota.



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

def type
  @type
end