Skip to main content

reasoning_engines

Creates, updates, deletes, gets or lists a reasoning_engines resource.

Overview

Namereasoning_engines
TypeResource
Idgoogle.aiplatform.reasoning_engines

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The resource name of the ReasoningEngine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
contextSpecobjectOptional. Configuration for how Agent Engine sub-resources should manage context. (id: GoogleCloudAiplatformV1ReasoningEngineContextSpec)
createTimestring (google-datetime)Output only. Timestamp when this ReasoningEngine was created.
descriptionstringOptional. The description of the ReasoningEngine.
displayNamestringRequired. The display name of the ReasoningEngine.
encryptionSpecobjectCustomer-managed encryption key spec for a ReasoningEngine. If set, this ReasoningEngine and all sub-resources of this ReasoningEngine will be secured by this key. (id: GoogleCloudAiplatformV1EncryptionSpec)
etagstringOptional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
labelsobjectLabels for the ReasoningEngine.
specobjectOptional. Configurations of the ReasoningEngine (id: GoogleCloudAiplatformV1ReasoningEngineSpec)
updateTimestring (google-datetime)Output only. Timestamp when this ReasoningEngine was most recently updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectreasoningEnginesIdGets a reasoning engine.
listselectpageToken, pageSize, filter, parentLists reasoning engines in a location.
createinsertparentCreates a reasoning engine.
patchupdatereasoningEnginesIdupdateMaskUpdates a reasoning engine.
deletedeletereasoningEnginesIdforceDeletes a reasoning engine.
queryexecreasoningEnginesIdQueries using a reasoning engine.
stream_queryexecreasoningEnginesIdStreams queries using a reasoning engine.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
reasoningEnginesIdstring
filterstring
forceboolean
pageSizeinteger (int32)
pageTokenstring
parentstring
updateMaskstring (google-fieldmask)

SELECT examples

Gets a reasoning engine.

SELECT
name,
contextSpec,
createTime,
description,
displayName,
encryptionSpec,
etag,
labels,
spec,
updateTime
FROM google.aiplatform.reasoning_engines
WHERE reasoningEnginesId = '{{ reasoningEnginesId }}' -- required
;

INSERT examples

Creates a reasoning engine.

INSERT INTO google.aiplatform.reasoning_engines (
data__contextSpec,
data__description,
data__labels,
data__encryptionSpec,
data__name,
data__displayName,
data__etag,
data__spec,
parent
)
SELECT
'{{ contextSpec }}',
'{{ description }}',
'{{ labels }}',
'{{ encryptionSpec }}',
'{{ name }}',
'{{ displayName }}',
'{{ etag }}',
'{{ spec }}',
'{{ parent }}'
RETURNING
name,
done,
error,
metadata,
response
;

UPDATE examples

Updates a reasoning engine.

UPDATE google.aiplatform.reasoning_engines
SET
data__contextSpec = '{{ contextSpec }}',
data__description = '{{ description }}',
data__labels = '{{ labels }}',
data__encryptionSpec = '{{ encryptionSpec }}',
data__name = '{{ name }}',
data__displayName = '{{ displayName }}',
data__etag = '{{ etag }}',
data__spec = '{{ spec }}'
WHERE
reasoningEnginesId = '{{ reasoningEnginesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
done,
error,
metadata,
response;

DELETE examples

Deletes a reasoning engine.

DELETE FROM google.aiplatform.reasoning_engines
WHERE reasoningEnginesId = '{{ reasoningEnginesId }}' --required
AND force = '{{ force }}'
;

Lifecycle Methods

Queries using a reasoning engine.

EXEC google.aiplatform.reasoning_engines.query 
@reasoningEnginesId='{{ reasoningEnginesId }}' --required
@@json=
'{
"classMethod": "{{ classMethod }}",
"input": "{{ input }}"
}'
;