Class: Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestFailure
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestFailure
- Defined in:
- lib/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rb,
sig/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rbs
Instance Attribute Summary collapse
-
#error ⇒ String
A message that describes why the test span was not delivered, including the HTTP status code when the destination returned one.
- #type ⇒ Symbol, :failure
Instance Method Summary collapse
-
#initialize(error:, type: :failure) ⇒ BetaTelemetryDestinationTestFailure
constructor
The test span was not delivered.
- #to_hash ⇒ { error: String, type: :failure }
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(error:, type: :failure) ⇒ BetaTelemetryDestinationTestFailure
The test span was not delivered.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaTelemetryDestinationTestFailure for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rb', line 23
|
Instance Attribute Details
#error ⇒ String
A message that describes why the test span was not delivered, including the HTTP
status code when the destination returned one. Examples:
HTTP error (status 403), timeout, TLS failure. It has the same form as the
destination's delivery_health.last_error and never contains the destination's
response body, any header value, a network address, or TLS details.
16 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rb', line 16 required :error, String |
#type ⇒ Symbol, :failure
21 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rb', line 21 required :type, const: :failure |
Instance Method Details
#to_hash ⇒ { error: String, type: :failure }
15 |
# File 'sig/anthropic/models/beta/organization/beta_telemetry_destination_test_failure.rbs', line 15
def to_hash: -> { error: String, type: :failure }
|