Class: Anthropic::Models::Organization::ExternalKeyUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/organization/external_key_update_params.rb,
sig/anthropic/models/organization/external_key_update_params.rbs

Overview

See Also:

  • Anthropic::Resources::Organization::ExternalKeys#update

Defined Under Namespace

Modules: Geo, ProviderConfig

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::Anthropic

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(external_key_id:, display_name: nil, geo: nil, provider_config: nil, request_options: {}) ⇒ void

Parameters:



# File 'lib/anthropic/models/organization/external_key_update_params.rb', line 37

Instance Attribute Details

#display_name ⇒ String?

Human-friendly display name.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


21
# File 'lib/anthropic/models/organization/external_key_update_params.rb', line 21

optional :display_name, String, nil?: true

#external_key_id ⇒ String

ID of the External Key.

Parameters:

  • value (String)

Returns:

  • (String)


15
# File 'lib/anthropic/models/organization/external_key_update_params.rb', line 15

required :external_key_id, String

#geo ⇒ Symbol, ...

Data residency geo. Only us is supported.

Parameters:

  • value (Anthropic::Models::Organization::ExternalKeyUpdateParams::geo, nil)

Returns:



27
# File 'lib/anthropic/models/organization/external_key_update_params.rb', line 27

optional :geo, enum: -> { Anthropic::Organization::ExternalKeyUpdateParams::Geo }, nil?: true

#provider_config ⇒ Anthropic::Models::Organization::AWSExternalKeyConfig, ...

KMS provider identity and auth coordinates.

Parameters:

  • value (Anthropic::Models::Organization::ExternalKeyUpdateParams::provider_config, nil)

Returns:



33
34
35
# File 'lib/anthropic/models/organization/external_key_update_params.rb', line 33

optional :provider_config,
union: -> { Anthropic::Organization::ExternalKeyUpdateParams::ProviderConfig },
nil?: true

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/organization/external_key_update_params.rb', line 54

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


33
# File 'sig/anthropic/models/organization/external_key_update_params.rbs', line 33

def to_hash: -> {