Class: DatadogAPIClient::V2::RoleCloneAttributes

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

Overview

Attributes required to create a new role by cloning an existing one.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



27
28
29
# File 'lib/datadog_api_client/v2/models/role_clone_attributes.rb', line 27

def additional_properties
  @additional_properties
end

#nameObject

Name of the new role that is cloned.



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

def name
  @name
end

#receives_permissions_fromObject

The managed role from which this role automatically inherits new permissions. Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". If empty or not specified, the role does not automatically inherit permissions from any managed role.



30
31
32
# File 'lib/datadog_api_client/v2/models/role_clone_attributes.rb', line 30

def receives_permissions_from
  @receives_permissions_from
end