Class BetaManagedAgentsMemoryStoreResource
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryStoreResourceA memory store attached to an agent session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMemoryStoreResource.BuilderA builder for BetaManagedAgentsMemoryStoreResource.
public final classBetaManagedAgentsMemoryStoreResource.Typepublic final classBetaManagedAgentsMemoryStoreResource.AccessAccess mode for an attached memory store.
-
Method Summary
Modifier and Type Method Description final StringmemoryStoreId()The memory store ID (memstore_...). final BetaManagedAgentsMemoryStoreResource.Typetype()final Optional<BetaManagedAgentsMemoryStoreResource.Access>access()Access mode for an attached memory store. final Optional<String>description()Description of the memory store, snapshotted at attach time. final Optional<String>instructions()Per-attachment guidance for the agent on how to use this store. final Optional<String>mountPath()Filesystem path where the store is mounted in the session container, e.g. final Optional<String>name()Display name of the memory store, snapshotted at attach time. final JsonField<String>_memoryStoreId()Returns the raw JSON value of memoryStoreId. final JsonField<BetaManagedAgentsMemoryStoreResource.Type>_type()Returns the raw JSON value of type. final JsonField<BetaManagedAgentsMemoryStoreResource.Access>_access()Returns the raw JSON value of access. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_instructions()Returns the raw JSON value of instructions. final JsonField<String>_mountPath()Returns the raw JSON value of mountPath. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMemoryStoreResource.BuildertoBuilder()final BetaManagedAgentsMemoryStoreResourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMemoryStoreResource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryStoreResource. -
-
Method Detail
-
memoryStoreId
final String memoryStoreId()
The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
-
type
final BetaManagedAgentsMemoryStoreResource.Type type()
-
access
final Optional<BetaManagedAgentsMemoryStoreResource.Access> access()
Access mode for an attached memory store.
-
description
final Optional<String> description()
Description of the memory store, snapshotted at attach time. Rendered into the agent's system prompt. Empty string when the store has no description.
-
instructions
final Optional<String> instructions()
Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
-
mountPath
final Optional<String> mountPath()
Filesystem path where the store is mounted in the session container, e.g. /mnt/memory/user-preferences. Derived from the store's name. Output-only.
-
name
final Optional<String> name()
Display name of the memory store, snapshotted at attach time. Later edits to the store's name do not propagate to this resource.
-
_memoryStoreId
final JsonField<String> _memoryStoreId()
Returns the raw JSON value of memoryStoreId.
Unlike memoryStoreId, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsMemoryStoreResource.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_access
final JsonField<BetaManagedAgentsMemoryStoreResource.Access> _access()
Returns the raw JSON value of access.
Unlike access, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_instructions
final JsonField<String> _instructions()
Returns the raw JSON value of instructions.
Unlike instructions, this method doesn't throw if the JSON field has an unexpected type.
-
_mountPath
final JsonField<String> _mountPath()
Returns the raw JSON value of mountPath.
Unlike mountPath, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMemoryStoreResource.Builder toBuilder()
-
validate
final BetaManagedAgentsMemoryStoreResource validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsMemoryStoreResource.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryStoreResource.
The following fields are required:
.memoryStoreId() .type()
-
-
-
-