Class: Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse
- Defined in:
- lib/anthropic/models/beta/organization/external_key_validate_response.rb,
sig/anthropic/models/beta/organization/external_key_validate_response.rbs
Overview
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#error ⇒ String?
Error message when status is
failure. -
#status ⇒ Symbol, Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse::Status
success— encrypt/decrypt roundtrip succeeded. - #type ⇒ Symbol, :external_key_validation
Instance Method Summary collapse
-
#initialize(error:, status:, type: :external_key_validation) ⇒ Object
constructor
Result of a validation roundtrip against the customer's KMS.
- #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(error:, status:, type: :external_key_validation) ⇒ Object
Result of a validation roundtrip against the customer's KMS.
HTTP 200 for both outcomes — the operation completed; status says whether the
key works.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse for more details.
|
|
# File 'lib/anthropic/models/beta/organization/external_key_validate_response.rb', line 27
|
Instance Attribute Details
#error ⇒ String?
Error message when status is failure. Null otherwise.
13 |
# File 'lib/anthropic/models/beta/organization/external_key_validate_response.rb', line 13 required :error, String, nil?: true |
#status ⇒ Symbol, Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse::Status
success — encrypt/decrypt roundtrip succeeded. failure — the roundtrip
failed or timed out; see error.
20 |
# File 'lib/anthropic/models/beta/organization/external_key_validate_response.rb', line 20 required :status, enum: -> { Anthropic::Models::Beta::Organization::ExternalKeyValidateResponse::Status } |
#type ⇒ Symbol, :external_key_validation
25 |
# File 'lib/anthropic/models/beta/organization/external_key_validate_response.rb', line 25 required :type, const: :external_key_validation |
Instance Method Details
#to_hash ⇒ {
25 |
# File 'sig/anthropic/models/beta/organization/external_key_validate_response.rbs', line 25
def to_hash: -> {
|