Class: DatadogAPIClient::V2::RestrictionPolicyBinding
- Inherits:
- 
      Object
      
        - Object
- DatadogAPIClient::V2::RestrictionPolicyBinding
 
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/restriction_policy_binding.rb
Overview
Specifies which principals are associated with a relation.
Instance Attribute Summary collapse
- 
  
    
      #additional_properties  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute additional_properties. 
- 
  
    
      #principals  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    An array of principals. 
- 
  
    
      #relation  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The role/level of access. 
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
| 33 34 35 | # File 'lib/datadog_api_client/v2/models/restriction_policy_binding.rb', line 33 def additional_properties @additional_properties end | 
#principals ⇒ Object
An array of principals. A principal is a subject or group of subjects.
Each principal is formatted as type:id. Supported types: role, team, user, and org.
The org ID can be obtained through the api/v2/current_user API.
The user principal type accepts service account IDs.
| 28 29 30 | # File 'lib/datadog_api_client/v2/models/restriction_policy_binding.rb', line 28 def principals @principals end | 
#relation ⇒ Object
The role/level of access.
| 31 32 33 | # File 'lib/datadog_api_client/v2/models/restriction_policy_binding.rb', line 31 def relation @relation end |