Class: Anthropic::Models::Beta::Organization::ExternalStorageCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::ExternalStorageCreateParams
- 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
Defined Under Namespace
Modules: ProviderConfig
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
efs-2026-10-01in this header. -
#display_name ⇒ String?
Human-friendly display name.
- #provider_config ⇒ Anthropic::Models::Beta::Organization::BetaAWSExternalStorageConfigParam, Anthropic::Models::Beta::Organization::BetaGCPExternalStorageConfigParam
-
#user_profile_id ⇒ String?
The user profile to bind the storage to.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize ⇒ ExternalStorageCreateParams
constructor
A new instance of ExternalStorageCreateParams.
- #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 }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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.
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.
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.
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
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.
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 }
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
}
|