Optional. A section of ingested context information. The key is the name of the context reference and the value contains the contents of the context reference. The key is used to incorporate ingested context references to enhance the generator.
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
Returns
Type
Description
string
hasGeneratorName
setGeneratorName
The resource name of the existing created generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getContextReferences
Optional. A section of ingested context information. The key is the name of
the context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
Optional. A section of ingested context information. The key is the name of
the context reference and the value contains the contents of the context
reference. The key is used to incorporate ingested context references to
enhance the generator.
[[["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 Dialogflow V2 Client - Class GenerateStatelessSuggestionRequest (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-dialogflow/latest/V2.GenerateStatelessSuggestionRequest)\n- [2.1.1](/php/docs/reference/cloud-dialogflow/2.1.1/V2.GenerateStatelessSuggestionRequest)\n- [2.0.1](/php/docs/reference/cloud-dialogflow/2.0.1/V2.GenerateStatelessSuggestionRequest)\n- [1.17.2](/php/docs/reference/cloud-dialogflow/1.17.2/V2.GenerateStatelessSuggestionRequest)\n- [1.16.0](/php/docs/reference/cloud-dialogflow/1.16.0/V2.GenerateStatelessSuggestionRequest)\n- [1.15.1](/php/docs/reference/cloud-dialogflow/1.15.1/V2.GenerateStatelessSuggestionRequest)\n- [1.14.0](/php/docs/reference/cloud-dialogflow/1.14.0/V2.GenerateStatelessSuggestionRequest)\n- [1.13.0](/php/docs/reference/cloud-dialogflow/1.13.0/V2.GenerateStatelessSuggestionRequest)\n- [1.12.3](/php/docs/reference/cloud-dialogflow/1.12.3/V2.GenerateStatelessSuggestionRequest)\n- [1.11.0](/php/docs/reference/cloud-dialogflow/1.11.0/V2.GenerateStatelessSuggestionRequest)\n- [1.10.2](/php/docs/reference/cloud-dialogflow/1.10.2/V2.GenerateStatelessSuggestionRequest)\n- [1.9.0](/php/docs/reference/cloud-dialogflow/1.9.0/V2.GenerateStatelessSuggestionRequest)\n- [1.8.0](/php/docs/reference/cloud-dialogflow/1.8.0/V2.GenerateStatelessSuggestionRequest)\n- [1.7.2](/php/docs/reference/cloud-dialogflow/1.7.2/V2.GenerateStatelessSuggestionRequest)\n- [1.6.0](/php/docs/reference/cloud-dialogflow/1.6.0/V2.GenerateStatelessSuggestionRequest)\n- [1.5.0](/php/docs/reference/cloud-dialogflow/1.5.0/V2.GenerateStatelessSuggestionRequest)\n- [1.4.0](/php/docs/reference/cloud-dialogflow/1.4.0/V2.GenerateStatelessSuggestionRequest)\n- [1.3.2](/php/docs/reference/cloud-dialogflow/1.3.2/V2.GenerateStatelessSuggestionRequest)\n- [1.2.0](/php/docs/reference/cloud-dialogflow/1.2.0/V2.GenerateStatelessSuggestionRequest)\n- [1.1.1](/php/docs/reference/cloud-dialogflow/1.1.1/V2.GenerateStatelessSuggestionRequest)\n- [1.0.1](/php/docs/reference/cloud-dialogflow/1.0.1/V2.GenerateStatelessSuggestionRequest) \nReference documentation and code samples for the Google Cloud Dialogflow V2 Client class GenerateStatelessSuggestionRequest.\n\nThe request message for\n[Conversations.GenerateStatelessSuggestion](/php/docs/reference/cloud-dialogflow/latest/V2.Client.ConversationsClient#_Google_Cloud_Dialogflow_V2_Client_ConversationsClient__generateStatelessSuggestion__).\n\nGenerated from protobuf message `google.cloud.dialogflow.v2.GenerateStatelessSuggestionRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent resource to charge for the Suggestion's generation.\n\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e`.\n\n### setParent\n\nRequired. The parent resource to charge for the Suggestion's generation.\n\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e`.\n\n### getGenerator\n\nUncreated generator. It should be a complete generator that includes all\ninformation about the generator.\n\n### hasGenerator\n\n### setGenerator\n\nUncreated generator. It should be a complete generator that includes all\ninformation about the generator.\n\n### getGeneratorName\n\nThe resource name of the existing created generator. Format:\n`projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/generators/\u003cGenerator ID\u003e`\n\n### hasGeneratorName\n\n### setGeneratorName\n\nThe resource name of the existing created generator. Format:\n`projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/generators/\u003cGenerator ID\u003e`\n\n### getContextReferences\n\nOptional. A section of ingested context information. The key is the name of\nthe context reference and the value contains the contents of the context\nreference. The key is used to incorporate ingested context references to\nenhance the generator.\n\n### setContextReferences\n\nOptional. A section of ingested context information. The key is the name of\nthe context reference and the value contains the contents of the context\nreference. The key is used to incorporate ingested context references to\nenhance the generator.\n\n### getConversationContext\n\nOptional. Context of the conversation, including transcripts.\n\n### hasConversationContext\n\n### clearConversationContext\n\n### setConversationContext\n\nOptional. Context of the conversation, including transcripts.\n\n### getTriggerEvents\n\nOptional. A list of trigger events. Generator will be triggered only if\nit's trigger event is included here.\n\n### setTriggerEvents\n\nOptional. A list of trigger events. Generator will be triggered only if\nit's trigger event is included here.\n\n### getGeneratorResource"]]