Class: Anthropic::Models::Beta::Organization::Workspaces::ServiceAccountRemoveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/organization/workspaces/service_account_remove_response.rb,
sig/anthropic/models/beta/organization/workspaces/service_account_remove_response.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::Workspaces::ServiceAccounts#remove

Instance Attribute Summary collapse

Instance Method Summary collapse

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(service_account_id:, workspace_id:, type: :service_account_workspace_member_deleted) ⇒ Object

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Workspaces::ServiceAccountRemoveResponse for more details.

Parameters:

  • service_account_id (String)

    Tagged service account ID (svac_...) named in the delete request. Removal is i

  • workspace_id (String)

    Tagged workspace ID (wrkspc_...) named in the delete request.

  • type (Symbol, :service_account_workspace_member_deleted) (defaults to: :service_account_workspace_member_deleted)


# File 'lib/anthropic/models/beta/organization/workspaces/service_account_remove_response.rb', line 28

Instance Attribute Details

#service_account_idString

Tagged service account ID (svac_...) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op.

Parameters:

  • value (String)

Returns:

  • (String)


15
# File 'lib/anthropic/models/beta/organization/workspaces/service_account_remove_response.rb', line 15

required :service_account_id, String

#typeSymbol, :service_account_workspace_member_deleted

Parameters:

  • value (:service_account_workspace_member_deleted)

Returns:

  • (Symbol, :service_account_workspace_member_deleted)


20
# File 'lib/anthropic/models/beta/organization/workspaces/service_account_remove_response.rb', line 20

required :type, const: :service_account_workspace_member_deleted

#workspace_idString

Tagged workspace ID (wrkspc_...) named in the delete request.

Parameters:

  • value (String)

Returns:

  • (String)


26
# File 'lib/anthropic/models/beta/organization/workspaces/service_account_remove_response.rb', line 26

required :workspace_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


26
# File 'sig/anthropic/models/beta/organization/workspaces/service_account_remove_response.rbs', line 26

def to_hash: -> {