Class: Anthropic::Models::Beta::Organization::BetaDataResidency
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaDataResidency
- Defined in:
- lib/anthropic/models/beta/organization/beta_data_residency.rb,
sig/anthropic/models/beta/organization/beta_data_residency.rbs
Defined Under Namespace
Modules: AllowedInferenceGeos, DefaultInferenceGeo, WorkspaceGeo
Instance Attribute Summary collapse
-
#allowed_inference_geos ⇒ Symbol, ...
Permitted inference geo values.
-
#default_inference_geo ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaDataResidency::DefaultInferenceGeo
Default inference geo applied when requests omit the parameter.
-
#workspace_geo ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaDataResidency::WorkspaceGeo
Geographic region for workspace data storage.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(allowed_inference_geos:, default_inference_geo:, workspace_geo:) ⇒ void constructor
- #to_hash ⇒ {
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(allowed_inference_geos:, default_inference_geo:, workspace_geo:) ⇒ void
|
|
# File 'lib/anthropic/models/beta/organization/beta_data_residency.rb', line 28
|
Instance Attribute Details
#allowed_inference_geos ⇒ Symbol, ...
Permitted inference geo values. 'unrestricted' means all geos are allowed.
12 13 |
# File 'lib/anthropic/models/beta/organization/beta_data_residency.rb', line 12 required :allowed_inference_geos, union: -> { Anthropic::Beta::Organization::BetaDataResidency::AllowedInferenceGeos } |
#default_inference_geo ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaDataResidency::DefaultInferenceGeo
Default inference geo applied when requests omit the parameter.
19 20 |
# File 'lib/anthropic/models/beta/organization/beta_data_residency.rb', line 19 required :default_inference_geo, enum: -> { Anthropic::Beta::Organization::BetaDataResidency::DefaultInferenceGeo } |
#workspace_geo ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaDataResidency::WorkspaceGeo
Geographic region for workspace data storage. Immutable after creation.
26 |
# File 'lib/anthropic/models/beta/organization/beta_data_residency.rb', line 26 required :workspace_geo, enum: -> { Anthropic::Beta::Organization::BetaDataResidency::WorkspaceGeo } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/organization/beta_data_residency.rb', line 64
|
Instance Method Details
#to_hash ⇒ {
25 |
# File 'sig/anthropic/models/beta/organization/beta_data_residency.rbs', line 25 def to_hash: -> { |