Class: Anthropic::Models::Beta::Organization::BetaGCPExternalKeyConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaGCPExternalKeyConfig
- Defined in:
- lib/anthropic/models/beta/organization/beta_gcp_external_key_config.rb,
sig/anthropic/models/beta/organization/beta_gcp_external_key_config.rbs
Instance Attribute Summary collapse
-
#key_name ⇒ String
Full resource name of the Cloud KMS key.
- #type ⇒ Symbol, :gcp
Instance Method Summary collapse
-
#initialize(key_name:, type: :gcp) ⇒ BetaGCPExternalKeyConfig
constructor
A new instance of BetaGCPExternalKeyConfig.
- #to_hash ⇒ { key_name: String, type: :gcp }
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(key_name:, type: :gcp) ⇒ BetaGCPExternalKeyConfig
Returns a new instance of BetaGCPExternalKeyConfig.
|
|
# File 'lib/anthropic/models/beta/organization/beta_gcp_external_key_config.rb', line 19
|
Instance Attribute Details
#key_name ⇒ String
Full resource name of the Cloud KMS key.
12 |
# File 'lib/anthropic/models/beta/organization/beta_gcp_external_key_config.rb', line 12 required :key_name, String |
#type ⇒ Symbol, :gcp
17 |
# File 'lib/anthropic/models/beta/organization/beta_gcp_external_key_config.rb', line 17 required :type, const: :gcp |
Instance Method Details
#to_hash ⇒ { key_name: String, type: :gcp }
14 |
# File 'sig/anthropic/models/beta/organization/beta_gcp_external_key_config.rbs', line 14
def to_hash: -> { key_name: String, type: :gcp }
|