Class: Anthropic::Models::Beta::Organization::BetaServiceAccountWorkspaceMember
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaServiceAccountWorkspaceMember
- Defined in:
- lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb,
sig/anthropic/models/beta/organization/beta_service_account_workspace_member.rbs
Instance Attribute Summary collapse
-
#created_by_actor_id ⇒ String?
Tagged ID (
user_.../svac_...) of the actor who created this membership. -
#implicit ⇒ Boolean?
True when this is the implicit default-workspace membership every service account has when no explicit membership exists.
-
#service_account_id ⇒ String
Tagged service account ID (
svac_...). - #type ⇒ Symbol, :service_account_workspace_member
-
#workspace_id ⇒ String
Tagged workspace ID (
wrkspc_...). -
#workspace_role ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaWorkspaceRole
Role of the service account in this workspace.
Instance Method Summary collapse
-
#initialize(created_by_actor_id:, implicit:, service_account_id:, workspace_id:, workspace_role:, type: :service_account_workspace_member) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaServiceAccountWorkspaceMember for more details.
- #to_hash ⇒ {
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(created_by_actor_id:, implicit:, service_account_id:, workspace_id:, workspace_role:, type: :service_account_workspace_member) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaServiceAccountWorkspaceMember for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb', line 46
|
Instance Attribute Details
#created_by_actor_id ⇒ String?
Tagged ID (user_.../svac_...) of the actor who created this membership.
12 |
# File 'lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb', line 12 required :created_by_actor_id, String, nil?: true |
#implicit ⇒ Boolean?
True when this is the implicit default-workspace membership every service
account has when no explicit membership exists. Implicit memberships have role
workspace_user and cannot be removed.
20 |
# File 'lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb', line 20 required :implicit, Anthropic::Internal::Type::Boolean, nil?: true |
#service_account_id ⇒ String
Tagged service account ID (svac_...).
26 |
# File 'lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb', line 26 required :service_account_id, String |
#type ⇒ Symbol, :service_account_workspace_member
31 |
# File 'lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb', line 31 required :type, const: :service_account_workspace_member |
#workspace_id ⇒ String
Tagged workspace ID (wrkspc_...).
37 |
# File 'lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb', line 37 required :workspace_id, String |
#workspace_role ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaWorkspaceRole
Role of the service account in this workspace. Service accounts cannot hold the
workspace_billing role.
44 |
# File 'lib/anthropic/models/beta/organization/beta_service_account_workspace_member.rb', line 44 required :workspace_role, enum: -> { Anthropic::Beta::Organization::BetaWorkspaceRole } |
Instance Method Details
#to_hash ⇒ {
37 |
# File 'sig/anthropic/models/beta/organization/beta_service_account_workspace_member.rbs', line 37
def to_hash: -> {
|