Optional. Inline context for the chat request. Use this to chat statelessly (without managed conversation persistence and without an Agent) by passing all context inline.
Optional. Inline context for the chat request. Use this to chat
statelessly (without managed conversation persistence and without an
Agent) by passing all context inline.
Optional. Inline context for the chat request. Use this to chat
statelessly (without managed conversation persistence and without an
Agent) by passing all context inline.
[[["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 Gemini Data Analytics V1beta Client - Class ChatRequest (0.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.1 (latest)](/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.ChatRequest)\n- [0.1.0](/php/docs/reference/cloud-geminidataanalytics/0.1.0/V1beta.ChatRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class ChatRequest.\n\nRequest for Chat.\n\nGenerated from protobuf message `google.cloud.geminidataanalytics.v1beta.ChatRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GeminiDataAnalytics \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInlineContext\n\nOptional. Inline context for the chat request. Use this to chat\nstatelessly (without managed conversation persistence and without an\nAgent) by passing all context inline.\n\n### hasInlineContext\n\n### setInlineContext\n\nOptional. Inline context for the chat request. Use this to chat\nstatelessly (without managed conversation persistence and without an\nAgent) by passing all context inline.\n\n### getConversationReference\n\nOptional. Reference to a persisted conversation and agent context.\n\nUse this to chat with an Agent using managed conversation persistence.\n\n### hasConversationReference\n\n### setConversationReference\n\nOptional. Reference to a persisted conversation and agent context.\n\nUse this to chat with an Agent using managed conversation persistence.\n\n### getDataAgentContext\n\nOptional. Context for the chat request. Use this to chat with an Agent\nstatelessly, without managed conversation persistence.\n\n### hasDataAgentContext\n\n### setDataAgentContext\n\nOptional. Context for the chat request. Use this to chat with an Agent\nstatelessly, without managed conversation persistence.\n\n### getProject\n\nOptional. The GCP project to be used for quota and billing.\n\n### setProject\n\nOptional. The GCP project to be used for quota and billing.\n\n### getParent\n\nRequired. The parent value for chat request.\n\nPattern: `projects/{project}/locations/{location}`\n\n### setParent\n\nRequired. The parent value for chat request.\n\nPattern: `projects/{project}/locations/{location}`\n\n### getMessages\n\nRequired. Content of current conversation.\n\n### setMessages\n\nRequired. Content of current conversation.\n\n### getContextProvider"]]