Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AgentCreationConfig.
Configurations for generating a Dialogflow agent.
Note that these configurations are one-time consumed by
and passed to Dialogflow service. It means they cannot be retrieved using
EngineService.GetEngine
or
EngineService.ListEngines
API after engine creation.
Generated from protobuf message google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig
Name of the company, organization or other entity that the agent represents. Used for knowledge connector LLM prompt and for knowledge search.
↳ default_language_code
string
Required. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes.
↳ time_zone
string
Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.
↳ location
string
Agent location for Agent creation, supported values: global/us/eu. If not provided, us Engine will create Agent using us-central-1 by default; eu Engine will create Agent using eu-west-1 by default.
getBusiness
Name of the company, organization or other entity that the agent
represents. Used for knowledge connector LLM prompt and for knowledge
search.
Returns
Type
Description
string
setBusiness
Name of the company, organization or other entity that the agent
represents. Used for knowledge connector LLM prompt and for knowledge
search.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDefaultLanguageCode
Required. The default language of the agent as a language tag.
See Language
Support
for a list of the currently supported language codes.
Returns
Type
Description
string
setDefaultLanguageCode
Required. The default language of the agent as a language tag.
See Language
Support
for a list of the currently supported language codes.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTimeZone
Required. The time zone of the agent from the time zone
database, e.g., America/New_York,
Europe/Paris.
Returns
Type
Description
string
setTimeZone
Required. The time zone of the agent from the time zone
database, e.g., America/New_York,
Europe/Paris.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLocation
Agent location for Agent creation, supported values: global/us/eu.
If not provided, us Engine will create Agent using us-central-1 by
default; eu Engine will create Agent using eu-west-1 by default.
Returns
Type
Description
string
setLocation
Agent location for Agent creation, supported values: global/us/eu.
If not provided, us Engine will create Agent using us-central-1 by
default; eu Engine will create Agent using eu-west-1 by default.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class AgentCreationConfig (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.Engine.ChatEngineConfig.AgentCreationConfig)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.Engine.ChatEngineConfig.AgentCreationConfig) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AgentCreationConfig.\n\nConfigurations for generating a Dialogflow agent.\n\nNote that these configurations are one-time consumed by\nand passed to Dialogflow service. It means they cannot be retrieved using\n[EngineService.GetEngine](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.EngineServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_EngineServiceClient__getEngine__)\nor\n[EngineService.ListEngines](/php/docs/reference/cloud-discoveryengine/latest/V1.Client.EngineServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_EngineServiceClient__listEngines__)\nAPI after engine creation.\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1 \\\\ Engine \\\\ ChatEngineConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBusiness\n\nName of the company, organization or other entity that the agent\nrepresents. Used for knowledge connector LLM prompt and for knowledge\nsearch.\n\n### setBusiness\n\nName of the company, organization or other entity that the agent\nrepresents. Used for knowledge connector LLM prompt and for knowledge\nsearch.\n\n### getDefaultLanguageCode\n\nRequired. The default language of the agent as a language tag.\n\nSee [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes.\n\n### setDefaultLanguageCode\n\nRequired. The default language of the agent as a language tag.\n\nSee [Language\nSupport](https://cloud.google.com/dialogflow/docs/reference/language)\nfor a list of the currently supported language codes.\n\n### getTimeZone\n\nRequired. The time zone of the agent from the [time zone\ndatabase](https://www.iana.org/time-zones), e.g., America/New_York,\nEurope/Paris.\n\n### setTimeZone\n\nRequired. The time zone of the agent from the [time zone\ndatabase](https://www.iana.org/time-zones), e.g., America/New_York,\nEurope/Paris.\n\n### getLocation\n\nAgent location for Agent creation, supported values: global/us/eu.\n\nIf not provided, us Engine will create Agent using us-central-1 by\ndefault; eu Engine will create Agent using eu-west-1 by default.\n\n### setLocation\n\nAgent location for Agent creation, supported values: global/us/eu.\n\nIf not provided, us Engine will create Agent using us-central-1 by\ndefault; eu Engine will create Agent using eu-west-1 by default."]]