Class: Anthropic::Models::Organization::ExternalKeyCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Organization::ExternalKeyCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/organization/external_key_create_params.rb,
sig/anthropic/models/organization/external_key_create_params.rbs
Overview
Defined Under Namespace
Modules: Geo, ProviderConfig
Instance Attribute Summary collapse
-
#display_name ⇒ String?
Human-friendly display name.
-
#geo ⇒ Symbol, ...
Data residency geo.
-
#provider_config ⇒ Anthropic::Models::Organization::AWSExternalKeyConfig, ...
KMS provider identity and auth coordinates.
-
#user_profile_id ⇒ String?
ID of a user profile to bind the key to.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(provider_config:, display_name: nil, geo: nil, user_profile_id: nil, request_options: {}) ⇒ ExternalKeyCreateParams
constructor
Some parameter documentations has been truncated, see ExternalKeyCreateParams for more details.
- #to_hash ⇒ { provider_config: Anthropic::Models::Organization::ExternalKeyCreateParams::provider_config, display_name: String?, geo: Anthropic::Models::Organization::ExternalKeyCreateParams::geo, user_profile_id: String?, request_options: Anthropic::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(provider_config:, display_name: nil, geo: nil, user_profile_id: nil, request_options: {}) ⇒ ExternalKeyCreateParams
Some parameter documentations has been truncated, see Anthropic::Models::Organization::ExternalKeyCreateParams for more details.
|
|
# File 'lib/anthropic/models/organization/external_key_create_params.rb', line 41
|
Instance Attribute Details
#display_name ⇒ String?
Human-friendly display name.
21 |
# File 'lib/anthropic/models/organization/external_key_create_params.rb', line 21 optional :display_name, String, nil?: true |
#geo ⇒ Symbol, ...
Data residency geo. Only us is supported.
27 |
# File 'lib/anthropic/models/organization/external_key_create_params.rb', line 27 optional :geo, enum: -> { Anthropic::Organization::ExternalKeyCreateParams::Geo } |
#provider_config ⇒ Anthropic::Models::Organization::AWSExternalKeyConfig, ...
KMS provider identity and auth coordinates.
15 |
# File 'lib/anthropic/models/organization/external_key_create_params.rb', line 15 required :provider_config, union: -> { Anthropic::Organization::ExternalKeyCreateParams::ProviderConfig } |
#user_profile_id ⇒ String?
ID of a user profile to bind the key to. A user profile represents one of your customers: bind a customer's key to that customer's user profile. A key bound to a user profile can only be attached to a Workspace that has the same user profile, and the binding cannot be changed later. Omit this field only for your organization's own key, never a customer's. A key created without a user profile ID can't be attached to a Workspace that has a user profile, and you can't add one to the key later.
39 |
# File 'lib/anthropic/models/organization/external_key_create_params.rb', line 39 optional :user_profile_id, String, nil?: true |
Instance Method Details
#to_hash ⇒ { provider_config: Anthropic::Models::Organization::ExternalKeyCreateParams::provider_config, display_name: String?, geo: Anthropic::Models::Organization::ExternalKeyCreateParams::geo, user_profile_id: String?, request_options: Anthropic::RequestOptions }
37 38 39 40 41 42 43 |
# File 'sig/anthropic/models/organization/external_key_create_params.rbs', line 37
def to_hash: -> {
provider_config: Anthropic::Models::Organization::ExternalKeyCreateParams::provider_config,
display_name: String?,
geo: Anthropic::Models::Organization::ExternalKeyCreateParams::geo,
user_profile_id: String?,
request_options: Anthropic::RequestOptions
}
|