class

OpenAI::ProjectServiceAccount

Inherits JSON::Serializable < Reference < Object

Represents an individual service account in a project.

Constructors

new(object : ProjectServiceAccountObject = ProjectServiceAccountObject::OrganizationProjectServiceAccount, id : String = "", name : String = "", role : ProjectServiceAccountRole = ProjectServiceAccountRole::Owner, created_at : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

The Unix timestamp (in seconds) of when the service account was created

Source
created_at=(created_at : Int64)

The Unix timestamp (in seconds) of when the service account was created

Source
id

The identifier, which can be referenced in API endpoints

Source
id=(id : String)

The identifier, which can be referenced in API endpoints

Source
name

The name of the service account

Source
name=(name : String)

The name of the service account

Source
object

The object type, which is always organization.project.service_account

Source
object=(object : ProjectServiceAccountObject)

The object type, which is always organization.project.service_account

Source
role

owner or member

Source
role=(role : ProjectServiceAccountRole)

owner or member

Source