Class: Anthropic::Models::Beta::Organization::BetaExternalStorageMember

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

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(external_storage_id:, type: :external) ⇒ BetaExternalStorageMember

The organization's External Storage that external_storage_id names.

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

Parameters:

  • external_storage_id (String) —

    The External Storage ID, which starts with estrg_. Through Claude Platform on

  • type (Symbol, :external) (defaults to: :external)
  • external_storage_id: (String)
  • type: (:external) (defaults to: :external)


# File 'lib/anthropic/models/beta/organization/beta_external_storage_member.rb', line 22

Instance Attribute Details

#external_storage_id ⇒ String

The External Storage ID, which starts with estrg_. Through Claude Platform on AWS, storage whose provider_config.type is aws has its bucket ARN as its ID instead: arn:<partition>:s3:::<bucket_name>, where <partition> is the partition of the bucket's region.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :external_storage_id, String

#type ⇒ Symbol, :external

Parameters:

  • value (:external)

Returns:

  • (Symbol, :external)


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

required :type, const: :external

Instance Method Details

#to_hash ⇒ { external_storage_id: String, type: :external }

Returns:

  • ({ external_storage_id: String, type: :external })


18
# File 'sig/anthropic/models/beta/organization/beta_external_storage_member.rbs', line 18

def to_hash: -> { external_storage_id: String, type: :external }