Class BetaManagedAgentsMemoryStoreResourceParam
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryStoreResourceParamParameters for attaching a memory store to an agent session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMemoryStoreResourceParam.BuilderA builder for BetaManagedAgentsMemoryStoreResourceParam.
public final classBetaManagedAgentsMemoryStoreResourceParam.Typepublic final classBetaManagedAgentsMemoryStoreResourceParam.AccessAccess mode for an attached memory store.
-
Method Summary
-
-
Method Detail
-
memoryStoreId
final String memoryStoreId()
The memory store ID (memstore_...). Must belong to the caller's organization and workspace.
-
type
final BetaManagedAgentsMemoryStoreResourceParam.Type type()
-
access
final Optional<BetaManagedAgentsMemoryStoreResourceParam.Access> access()
Access mode for an attached memory store.
-
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.
-
_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<BetaManagedAgentsMemoryStoreResourceParam.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<BetaManagedAgentsMemoryStoreResourceParam.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 BetaManagedAgentsMemoryStoreResourceParam.Builder toBuilder()
-
validate
final BetaManagedAgentsMemoryStoreResourceParam 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 BetaManagedAgentsMemoryStoreResourceParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryStoreResourceParam.
The following fields are required:
.memoryStoreId() .type()
-
-
-
-