Class: Anthropic::Models::Beta::Organization::BetaActiveExternalStorageStatus
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaActiveExternalStorageStatus
- Defined in:
- lib/anthropic/models/beta/organization/beta_active_external_storage_status.rb,
sig/anthropic/models/beta/organization/beta_active_external_storage_status.rbs
Instance Attribute Summary collapse
-
#healthy ⇒ Boolean
Whether the bucket passed its latest recorded check.
-
#last_checked_at ⇒ Time
When the bucket's latest recorded check ran, in RFC 3339.
- #type ⇒ Symbol, :active
Instance Method Summary collapse
-
#initialize(healthy:, last_checked_at:, type: :active) ⇒ BetaActiveExternalStorageStatus
constructor
At least one Workspace has the storage attached.
- #to_hash ⇒ { healthy: bool, last_checked_at: Time, type: :active }
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(healthy:, last_checked_at:, type: :active) ⇒ BetaActiveExternalStorageStatus
At least one Workspace has the storage attached.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaActiveExternalStorageStatus for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_active_external_storage_status.rb', line 26
|
Instance Attribute Details
#healthy ⇒ Boolean
Whether the bucket passed its latest recorded check. It can stay true after
the bucket stops working, so don't use it for monitoring.
13 |
# File 'lib/anthropic/models/beta/organization/beta_active_external_storage_status.rb', line 13 required :healthy, Anthropic::Internal::Type::Boolean |
#last_checked_at ⇒ Time
When the bucket's latest recorded check ran, in RFC 3339.
19 |
# File 'lib/anthropic/models/beta/organization/beta_active_external_storage_status.rb', line 19 required :last_checked_at, Time |
#type ⇒ Symbol, :active
24 |
# File 'lib/anthropic/models/beta/organization/beta_active_external_storage_status.rb', line 24 required :type, const: :active |
Instance Method Details
#to_hash ⇒ { healthy: bool, last_checked_at: Time, type: :active }
21 22 23 24 25 |
# File 'sig/anthropic/models/beta/organization/beta_active_external_storage_status.rbs', line 21
def to_hash: -> {
healthy: bool,
last_checked_at: Time,
type: :active
}
|