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:

Successful response

NameDatatypeDescription
namestringIdentifier. The resource name of the ReasoningEngine. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
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.
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.
listselectparent, filter, pageSize, pageTokenLists 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,
createTime,
description,
displayName,
encryptionSpec,
etag,
spec,
updateTime
FROM google.aiplatform.reasoning_engines
WHERE reasoningEnginesId = '{{ reasoningEnginesId }}' -- required;

INSERT examples

Creates a reasoning engine.

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

UPDATE examples

Updates a reasoning engine.

UPDATE google.aiplatform.reasoning_engines
SET
data__name = '{{ name }}',
data__displayName = '{{ displayName }}',
data__description = '{{ description }}',
data__spec = '{{ spec }}',
data__etag = '{{ etag }}',
data__encryptionSpec = '{{ encryptionSpec }}'
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=
'{
"input": "{{ input }}",
"classMethod": "{{ classMethod }}"
}';