Skip to main content

agents_generative_settings

Creates, updates, deletes, gets or lists an agents_generative_settings resource.

Overview

Nameagents_generative_settings
TypeResource
Idgoogle.dialogflow.agents_generative_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
fallbackSettingsobject (id: GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings)
generativeSafetySettingsobject (id: GoogleCloudDialogflowCxV3SafetySettings)
knowledgeConnectorSettingsobject (id: GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings)
languageCodestring
llmModelSettingsobject (id: GoogleCloudDialogflowCxV3LlmModelSettings)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_agents_get_generative_settingsselectprojectsId, locationsId, agentsIdlanguageCode
projects_locations_agents_update_generative_settingsupdateprojectsId, locationsId, agentsIdupdateMask

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
agentsIdstring
locationsIdstring
projectsIdstring
languageCodestring
updateMaskstring (google-fieldmask)

SELECT examples

Successful response

SELECT
name,
fallbackSettings,
generativeSafetySettings,
knowledgeConnectorSettings,
languageCode,
llmModelSettings
FROM google.dialogflow.agents_generative_settings
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
AND languageCode = '{{ languageCode }}'
;

UPDATE examples

No description available.

UPDATE google.dialogflow.agents_generative_settings
SET
data__knowledgeConnectorSettings = '{{ knowledgeConnectorSettings }}',
data__generativeSafetySettings = '{{ generativeSafetySettings }}',
data__fallbackSettings = '{{ fallbackSettings }}',
data__llmModelSettings = '{{ llmModelSettings }}',
data__languageCode = '{{ languageCode }}',
data__name = '{{ name }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND agentsId = '{{ agentsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
fallbackSettings,
generativeSafetySettings,
knowledgeConnectorSettings,
languageCode,
llmModelSettings;