Class: Anthropic::Models::Beta::Organization::ExternalStorageCreateParams

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_create_params.rb,
sig/anthropic/models/beta/organization/external_storage_create_params.rbs

Overview

See Also:

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

Defined Under Namespace

Modules: ProviderConfig

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 ⇒ ExternalStorageCreateParams

Returns a new instance of ExternalStorageCreateParams.

Parameters:

  • provider_config: (Anthropic::Models::Beta::Organization::ExternalStorageCreateParams::provider_config)
  • display_name: (String, nil)
  • user_profile_id: (String, nil)
  • betas: (::Array[Anthropic::Models::anthropic_beta])
  • request_options: (Anthropic::request_opts)


30
31
32
33
34
35
36
# File 'sig/anthropic/models/beta/organization/external_storage_create_params.rbs', line 30

def initialize: (
  provider_config: Anthropic::Models::Beta::Organization::ExternalStorageCreateParams::provider_config,
  ?display_name: String?,
  ?user_profile_id: String?,
  ?betas: ::Array[Anthropic::Models::anthropic_beta],
  ?request_options: Anthropic::request_opts
) -> void

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:



36
# File 'lib/anthropic/models/beta/organization/external_storage_create_params.rb', line 36

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

#display_name ⇒ String?

Human-friendly display name.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

optional :display_name, String, nil?: true

#provider_config ⇒ Anthropic::Models::Beta::Organization::BetaAWSExternalStorageConfigParam, Anthropic::Models::Beta::Organization::BetaGCPExternalStorageConfigParam

Parameters:

  • value (Anthropic::Models::Beta::Organization::ExternalStorageCreateParams::provider_config)

Returns:



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

required :provider_config,
union: -> { Anthropic::Beta::Organization::ExternalStorageCreateParams::ProviderConfig }

#user_profile_id ⇒ String?

The user profile to bind the storage to. It can't be changed later. The storage can be attached only to Workspaces with this profile, and the bucket's setup must name the same ID.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


30
# File 'lib/anthropic/models/beta/organization/external_storage_create_params.rb', line 30

optional :user_profile_id, String, nil?: true

Instance Method Details

#to_hash ⇒ { provider_config: Anthropic::Models::Beta::Organization::ExternalStorageCreateParams::provider_config, display_name: String?, user_profile_id: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }

Returns:

  • ({ provider_config: Anthropic::Models::Beta::Organization::ExternalStorageCreateParams::provider_config, display_name: String?, user_profile_id: String?, betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions })


38
39
40
41
42
43
44
# File 'sig/anthropic/models/beta/organization/external_storage_create_params.rbs', line 38

def to_hash: -> {
  provider_config: Anthropic::Models::Beta::Organization::ExternalStorageCreateParams::provider_config,
  display_name: String?,
  user_profile_id: String?,
  betas: ::Array[Anthropic::Models::anthropic_beta],
  request_options: Anthropic::RequestOptions
}