Module: Turbopuffer::Models::NamespaceMetadataPatch::Pinning

Extended by:
Internal::Type::Union
Defined in:
lib/turbopuffer/models/namespace_metadata_patch.rb,
sig/turbopuffer/models/namespace_metadata_patch.rbs

Overview

Configuration for namespace pinning.

  • Missing field: no change to pinning configuration
  • null or false: explicitly remove pinning
  • true: enable pinning with default configuration
  • Object: set pinning configuration

See Also:

  • Turbopuffer::Models::NamespaceMetadataPatch#pinning

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variantsArray(Boolean, Turbopuffer::Models::PinningConfig)

Returns:



# File 'lib/turbopuffer/models/namespace_metadata_patch.rb', line 41

Instance Method Details

#self?.variants::Array[Turbopuffer::Models::NamespaceMetadataPatch::pinning]

Returns:

  • (::Array[Turbopuffer::Models::NamespaceMetadataPatch::pinning])


22
# File 'sig/turbopuffer/models/namespace_metadata_patch.rbs', line 22

def self?.variants: -> ::Array[Turbopuffer::Models::NamespaceMetadataPatch::pinning]