class

OpenAI::AuditLogRoleUpdatedChangesRequested

Inherits JSON::Serializable < Reference < Object

The payload used to update the role.

Constructors

new(role_name : String | Nil = nil, resource_id : String | Nil = nil, resource_type : String | Nil = nil, permissions_added : Array(String) | Nil = nil, permissions_removed : Array(String) | Nil = nil, description : String | Nil = nil, metadata : Hash(String, JSON::Any) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

description

The updated role description, when provided.

Source
description=(description : String | Nil)

The updated role description, when provided.

Source
metadata

Additional metadata stored on the role.

Source
metadata=(metadata : Hash(String, JSON::Any) | Nil)

Additional metadata stored on the role.

Source
permissions_added

The permissions added to the role.

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

The permissions added to the role.

Source
permissions_removed

The permissions removed from the role.

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

The permissions removed from 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 updated role name, when provided.

Source
role_name=(role_name : String | Nil)

The updated role name, when provided.

Source