Class: Anthropic::Models::Beta::Organization::BetaRBACGroup
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaRBACGroup
- Defined in:
- lib/anthropic/models/beta/organization/beta_rbac_group.rb,
sig/anthropic/models/beta/organization/beta_rbac_group.rbs
Overview
Defined Under Namespace
Modules: SourceType
Instance Attribute Summary collapse
-
#created_at ⇒ Time
RFC 3339 timestamp of when the RBAC Group was created.
-
#id ⇒ String
ID of the RBAC Group.
-
#name ⇒ String
Name of the RBAC Group.
-
#role_ids ⇒ Array<String>?
RBAC Role IDs attached to this RBAC Group.
-
#source_type ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaRBACGroup::SourceType
How the RBAC Group was created:
"direct"for groups created directly (for example, in the organization's admin settings),"scim"for groups provisioned by the identity provider. -
#type ⇒ Symbol, :rbac_group
Object type.
-
#updated_at ⇒ Time
RFC 3339 timestamp of when the RBAC Group was last updated.
Instance Method Summary collapse
-
#initialize(id:, created_at:, name:, role_ids:, source_type:, updated_at:, type: :rbac_group) ⇒ BetaRBACGroup
constructor
Some parameter documentations has been truncated, see BetaRBACGroup for more details.
- #to_hash ⇒ { id: String, created_at: Time, name: String, role_ids: ::Array[String]?, source_type: Anthropic::Models::Beta::Organization::BetaRBACGroup::source_type, type: :rbac_group, updated_at: Time }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, created_at:, name:, role_ids:, source_type:, updated_at:, type: :rbac_group) ⇒ BetaRBACGroup
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaRBACGroup for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 57
|
Instance Attribute Details
#created_at ⇒ Time
RFC 3339 timestamp of when the RBAC Group was created.
19 |
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 19 required :created_at, Time |
#id ⇒ String
ID of the RBAC Group.
13 |
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 13 required :id, String |
#name ⇒ String
Name of the RBAC Group. Not uniqueness-enforced.
25 |
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 25 required :name, String |
#role_ids ⇒ Array<String>?
RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the
admin settings and is read-only on this API. null means role data was
temporarily unavailable — retry to distinguish from an empty list.
33 |
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 33 required :role_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
#source_type ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaRBACGroup::SourceType
How the RBAC Group was created: "direct" for groups created directly (for
example, in the organization's admin settings), "scim" for groups provisioned
by the identity provider.
41 |
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 41 required :source_type, enum: -> { Anthropic::Beta::Organization::BetaRBACGroup::SourceType } |
#type ⇒ Symbol, :rbac_group
Object type.
For RBAC Groups, this is always "rbac_group".
49 |
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 49 required :type, const: :rbac_group |
#updated_at ⇒ Time
RFC 3339 timestamp of when the RBAC Group was last updated.
55 |
# File 'lib/anthropic/models/beta/organization/beta_rbac_group.rb', line 55 required :updated_at, Time |
Instance Method Details
#to_hash ⇒ { id: String, created_at: Time, name: String, role_ids: ::Array[String]?, source_type: Anthropic::Models::Beta::Organization::BetaRBACGroup::source_type, type: :rbac_group, updated_at: Time }
41 42 43 44 45 46 47 48 49 |
# File 'sig/anthropic/models/beta/organization/beta_rbac_group.rbs', line 41
def to_hash: -> {
id: String,
created_at: Time,
name: String,
role_ids: ::Array[String]?,
source_type: Anthropic::Models::Beta::Organization::BetaRBACGroup::source_type,
type: :rbac_group,
updated_at: Time
}
|