Class: Turbopuffer::Models::NamespaceWriteParams::CopyFromNamespace::CopyFromNamespaceConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/turbopuffer/models/namespace_write_params.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Turbopuffer::Internal::Type::BaseModel

Instance Attribute Details

#source_api_keyString?

(Optional) An API key for the organization containing the source namespace

Returns:

  • (String, nil)


181
# File 'lib/turbopuffer/models/namespace_write_params.rb', line 181

optional :source_api_key, String

#source_namespaceString

The namespace to copy documents from.

Returns:

  • (String)


175
# File 'lib/turbopuffer/models/namespace_write_params.rb', line 175

required :source_namespace, String

#source_regionString?

(Optional) The region of the source namespace.

Returns:

  • (String, nil)


187
# File 'lib/turbopuffer/models/namespace_write_params.rb', line 187

optional :source_region, String