Class: Turbopuffer::Models::NamespaceWriteParams::Encryption
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Turbopuffer::Models::NamespaceWriteParams::Encryption
- Defined in:
- lib/turbopuffer/models/namespace_write_params.rb
Defined Under Namespace
Classes: Cmek
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(cmek: nil) ⇒ Object
constructor
The encryption configuration for a namespace.
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(cmek: nil) ⇒ Object
The encryption configuration for a namespace.
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/turbopuffer/models/namespace_write_params.rb', line 129 class Encryption < Turbopuffer::Internal::Type::BaseModel # @!attribute cmek # # @return [Turbopuffer::Models::NamespaceWriteParams::Encryption::Cmek, nil] optional :cmek, -> { Turbopuffer::NamespaceWriteParams::Encryption::Cmek } # @!method initialize(cmek: nil) # The encryption configuration for a namespace. # # @param cmek [Turbopuffer::Models::NamespaceWriteParams::Encryption::Cmek] # @see Turbopuffer::Models::NamespaceWriteParams::Encryption#cmek class Cmek < Turbopuffer::Internal::Type::BaseModel # @!attribute key_name # 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. # # @return [String] required :key_name, String # @!method initialize(key_name:) # Some parameter documentations has been truncated, see # {Turbopuffer::Models::NamespaceWriteParams::Encryption::Cmek} for more details. # # @param key_name [String] The identifier of the CMEK key to use for encryption. For GCP, the fully-qualifi end end |
Instance Attribute Details
#cmek ⇒ Turbopuffer::Models::NamespaceWriteParams::Encryption::Cmek?
133 |
# File 'lib/turbopuffer/models/namespace_write_params.rb', line 133 optional :cmek, -> { Turbopuffer::NamespaceWriteParams::Encryption::Cmek } |