Output only. The last published context for the agent. This is an output-only field populated by the system when the published context is updated. It is used to restore the agent to a previous state.
getStagingContext
Optional. The staging context for the agent.
This context is used to test and validate changes before publishing.
[[["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 DataAnalyticsAgent (0.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.1 (latest)](/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.DataAnalyticsAgent)\n- [0.1.0](/php/docs/reference/cloud-geminidataanalytics/0.1.0/V1beta.DataAnalyticsAgent) \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 DataAnalyticsAgent.\n\nMessage describing a DataAnalyticsAgent object.\n\nGenerated from protobuf message `google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgent`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GeminiDataAnalytics \\\\ V1beta\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStagingContext\n\nOptional. The staging context for the agent.\n\nThis context is used to test and validate changes before publishing.\n\n### hasStagingContext\n\n### clearStagingContext\n\n### setStagingContext\n\nOptional. The staging context for the agent.\n\nThis context is used to test and validate changes before publishing.\n\n### getPublishedContext\n\nOptional. The published context for the agent.\n\nThis context is used by the Chat API in production.\n\n### hasPublishedContext\n\n### clearPublishedContext\n\n### setPublishedContext\n\nOptional. The published context for the agent.\n\nThis context is used by the Chat API in production.\n\n### getLastPublishedContext\n\nOutput only. The last published context for the agent.\n\nThis is an output-only field populated by the system when the\npublished context is updated. It is used to restore the agent to a\nprevious state.\n\n### hasLastPublishedContext\n\n### clearLastPublishedContext\n\n### setLastPublishedContext\n\nOutput only. The last published context for the agent.\n\nThis is an output-only field populated by the system when the\npublished context is updated. It is used to restore the agent to a\nprevious state."]]