Class: Turbopuffer::Models::Encryption::CustomerManaged
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Turbopuffer::Models::Encryption::CustomerManaged
- Defined in:
- lib/turbopuffer/models/encryption.rb,
sig/turbopuffer/models/encryption.rbs
Instance Attribute Summary collapse
-
#key_name ⇒ String
The identifier of the CMEK key to use for encryption.
- #mode ⇒ Symbol, :"customer-managed"
Instance Method Summary collapse
-
#initialize ⇒ CustomerManaged
constructor
A new instance of CustomerManaged.
- #to_hash ⇒ { key_name: String, mode: :"customer-managed" }
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 ⇒ CustomerManaged
Returns a new instance of CustomerManaged.
17 |
# File 'sig/turbopuffer/models/encryption.rbs', line 17
def initialize: (key_name: String, ?mode: :"customer-managed") -> void
|
Instance Attribute Details
#key_name ⇒ String
The identifier of the CMEK key to use for encryption. For GCP, the fully-qualified resource name of the key. For AWS, the ARN of the key.
21 |
# File 'lib/turbopuffer/models/encryption.rb', line 21 required :key_name, String |
#mode ⇒ Symbol, :"customer-managed"
26 |
# File 'lib/turbopuffer/models/encryption.rb', line 26 required :mode, const: :"customer-managed" |
Instance Method Details
#to_hash ⇒ { key_name: String, mode: :"customer-managed" }
19 |
# File 'sig/turbopuffer/models/encryption.rbs', line 19
def to_hash: -> { key_name: String, mode: :"customer-managed" }
|