class

OpenAI::AuditLogRoleCreated

Inherits JSON::Serializable < Reference < Object

The details for events with this type.

Constructors

new(id : String | Nil = nil, role_name : String | Nil = nil, permissions : Array(String) | Nil = nil, resource_type : String | Nil = nil, resource_id : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The role ID.

Source
id=(id : String | Nil)

The role ID.

Source
permissions

The permissions granted by the role.

Source
permissions=(permissions : Array(String) | Nil)

The permissions granted by the role.

Source
resource_id

The resource the role is scoped to.

Source
resource_id=(resource_id : String | Nil)

The resource the role is scoped to.

Source
resource_type

The type of resource the role belongs to.

Source
resource_type=(resource_type : String | Nil)

The type of resource the role belongs to.

Source
role_name

The name of the role.

Source
role_name=(role_name : String | Nil)

The name of the role.

Source