Class BetaManagedAgentsMemoryStoreResourceConfig
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryStoreResourceConfigA memory store attached to each session created from this deployment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMemoryStoreResourceConfig.BuilderA builder for BetaManagedAgentsMemoryStoreResourceConfig.
public final classBetaManagedAgentsMemoryStoreResourceConfig.AccessAccess mode for the mounted store. Defaults to
read_write.read_onlymounts the store as a read-only filesystem.
-
Method Summary
Modifier and Type Method Description final StringmemoryStoreId()The memory store ID (memstore_...). final Optional<BetaManagedAgentsMemoryStoreResourceConfig.Access>access()Access mode for the mounted store. final Optional<String>instructions()Per-attachment guidance for the agent on how to use this store. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("memory_store")final JsonField<String>_memoryStoreId()Returns the raw JSON value of memoryStoreId. final JsonField<BetaManagedAgentsMemoryStoreResourceConfig.Access>_access()Returns the raw JSON value of access. final JsonField<String>_instructions()Returns the raw JSON value of instructions. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMemoryStoreResourceConfig.BuildertoBuilder()final BetaManagedAgentsMemoryStoreResourceConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMemoryStoreResourceConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryStoreResourceConfig. final static BetaManagedAgentsMemoryStoreResourceConfigof(String memoryStoreId)Returns an immutable instance of BetaManagedAgentsMemoryStoreResourceConfig with the required memoryStoreId set to the given value. -
-
Method Detail
-
memoryStoreId
final String memoryStoreId()
The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
-
access
final Optional<BetaManagedAgentsMemoryStoreResourceConfig.Access> access()
Access mode for the mounted store. Defaults to
read_write.read_onlymounts the store as a read-only filesystem.
-
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.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("memory_store")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_access
final JsonField<BetaManagedAgentsMemoryStoreResourceConfig.Access> _access()
Returns the raw JSON value of access.
Unlike access, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMemoryStoreResourceConfig.Builder toBuilder()
-
validate
final BetaManagedAgentsMemoryStoreResourceConfig 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 BetaManagedAgentsMemoryStoreResourceConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryStoreResourceConfig.
The following fields are required:
.memoryStoreId()
-
of
final static BetaManagedAgentsMemoryStoreResourceConfig of(String memoryStoreId)
Returns an immutable instance of BetaManagedAgentsMemoryStoreResourceConfig with the required memoryStoreId set to the given value.
-
-
-
-