Class: DatadogAPIClient::V2::TemporaryGrantRequestAttributes

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

Overview

Request history and the linked grant state. List and detail reads include grant_state for approved requests. Decision responses record the decision. Read the request for current grant state.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



57
58
59
# File 'lib/datadog_api_client/v2/models/temporary_grant_request_attributes.rb', line 57

def additional_properties
  @additional_properties
end

#created_at ⇒ Object

When the request was submitted.



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

def created_at
  @created_at
end

#decided_at ⇒ Object

When the decision or cancellation was recorded.



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

def decided_at
  @decided_at
end

#decided_by_user_id ⇒ Object

UUID of the reviewer, or of the requester if the request was canceled.



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

def decided_by_user_id
  @decided_by_user_id
end

#entity_key ⇒ Object

The requester identity resolved by the server.



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

def entity_key
  @entity_key
end

#expires_at ⇒ Object

Immutable exclusive expiry, normalized to UTC microsecond precision.



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

def expires_at
  @expires_at
end

#grant_state ⇒ Object

Current state of the grant associated with an approved request. Replaced means a newer grant superseded this grant. The newer grant might no longer be active. This field is absent for requests that weren't approved.



40
41
42
# File 'lib/datadog_api_client/v2/models/temporary_grant_request_attributes.rb', line 40

def grant_state
  @grant_state
end

#justification ⇒ Object

Reason for requesting temporary credits. Trimmed and limited to 4096 UTF-8 bytes.



43
44
45
# File 'lib/datadog_api_client/v2/models/temporary_grant_request_attributes.rb', line 43

def justification
  @justification
end

#quota_namespace ⇒ Object

The quota namespace. Only AI credits are supported.



46
47
48
# File 'lib/datadog_api_client/v2/models/temporary_grant_request_attributes.rb', line 46

def quota_namespace
  @quota_namespace
end

#requested_by_user_id ⇒ Object

UUID of the authenticated requester.



49
50
51
# File 'lib/datadog_api_client/v2/models/temporary_grant_request_attributes.rb', line 49

def requested_by_user_id
  @requested_by_user_id
end

#status ⇒ Object

The durable request decision, independent of whether its grant is still active.



52
53
54
# File 'lib/datadog_api_client/v2/models/temporary_grant_request_attributes.rb', line 52

def status
  @status
end

#total ⇒ Object

Target monthly AI credit limit in positive whole credits, not additional credits. Fractional credits are not accepted.



55
56
57
# File 'lib/datadog_api_client/v2/models/temporary_grant_request_attributes.rb', line 55

def total
  @total
end