Class: Anthropic::Models::Beta::MemoryStoreUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::MemoryStoreUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/memory_store_update_params.rb,
sig/anthropic/models/beta/memory_store_update_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#description ⇒ String?
New description for the store, up to 1024 characters.
-
#memory_store_id ⇒ String
ID of the memory store to update (a
memstore_...identifier). -
#metadata ⇒ Hash{Symbol=>String, nil}?
Metadata patch.
-
#name ⇒ String?
New human-readable name for the store.
-
#workspace_id ⇒ String?
Optional header to select the Workspace for this request.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(memory_store_id:, description: nil, metadata: nil, name: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see MemoryStoreUpdateParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(memory_store_id:, description: nil, metadata: nil, name: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::MemoryStoreUpdateParams for more details.
|
|
# File 'lib/anthropic/models/beta/memory_store_update_params.rb', line 59
|
Instance Attribute Details
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
46 |
# File 'lib/anthropic/models/beta/memory_store_update_params.rb', line 46 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#description ⇒ String?
New description for the store, up to 1024 characters. Pass an empty string to clear it.
24 |
# File 'lib/anthropic/models/beta/memory_store_update_params.rb', line 24 optional :description, String, nil?: true |
#memory_store_id ⇒ String
ID of the memory store to update (a memstore_... identifier). Required.
Enumerate IDs via GET /v1/memory_stores. Updating an archived store
returns 400.
17 |
# File 'lib/anthropic/models/beta/memory_store_update_params.rb', line 17 required :memory_store_id, String |
#metadata ⇒ Hash{Symbol=>String, nil}?
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars each) with values up to 512 chars.
32 |
# File 'lib/anthropic/models/beta/memory_store_update_params.rb', line 32 optional :metadata, Anthropic::Internal::Type::HashOf[String, nil?: true], nil?: true |
#name ⇒ String?
New human-readable name for the store. 1–255 characters; no control characters.
Renaming changes the slug used for the store's mount_path in sessions created
after the update.
40 |
# File 'lib/anthropic/models/beta/memory_store_update_params.rb', line 40 optional :name, String, nil?: true |
#workspace_id ⇒ String?
Optional header to select the Workspace for this request. The value is a
Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).
Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
57 |
# File 'lib/anthropic/models/beta/memory_store_update_params.rb', line 57 optional :workspace_id, String |
Instance Method Details
#to_hash ⇒ {
47 |
# File 'sig/anthropic/models/beta/memory_store_update_params.rbs', line 47
def to_hash: -> {
|