Class: Anthropic::Models::Beta::Organization::ExternalStorageUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/organization/external_storage_update_params.rb,
sig/anthropic/models/beta/organization/external_storage_update_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::ExternalStorage#update

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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:, display_name:, betas: nil, request_options: {}) ⇒ ExternalStorageUpdateParams

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

Parameters:

  • external_storage_id (String) —

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

  • display_name (String, nil) —

    Human-friendly display name; null clears it.

  • betas (Array<Symbol, String, Anthropic::Models::AnthropicBeta>) (defaults to: nil) —

    This endpoint is in beta: requests must send efs-2026-10-01 in this header.

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})
  • external_storage_id: (String)
  • display_name: (String, nil)
  • betas: (::Array[Anthropic::Models::anthropic_beta]) (defaults to: nil)
  • request_options: (Anthropic::request_opts) (defaults to: {})


# File 'lib/anthropic/models/beta/organization/external_storage_update_params.rb', line 33

Instance Attribute Details

#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?

This endpoint is in beta: requests must send efs-2026-10-01 in this header.

Parameters:

  • (::Array[Anthropic::Models::anthropic_beta])

Returns:



31
# File 'lib/anthropic/models/beta/organization/external_storage_update_params.rb', line 31

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#display_name ⇒ String?

Human-friendly display name; null clears it.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


25
# File 'lib/anthropic/models/beta/organization/external_storage_update_params.rb', line 25

required :display_name, String, nil?: true

#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)


19
# File 'lib/anthropic/models/beta/organization/external_storage_update_params.rb', line 19

required :external_storage_id, String

Instance Method Details

#to_hash ⇒ { external_storage_id: String, display_name: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }

Returns:

  • ({ external_storage_id: String, display_name: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions })


34
35
36
37
38
39
# File 'sig/anthropic/models/beta/organization/external_storage_update_params.rbs', line 34

def to_hash: -> {
  external_storage_id: String,
  display_name: String?,
  betas: ::Array[Anthropic::Models::anthropic_beta],
  request_options: Anthropic::RequestOptions
}