Data Analytics API with Gemini V1BETA API - Module Google::Cloud::GeminiDataAnalytics::V1beta::Role (v1.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API module Google::Cloud::GeminiDataAnalytics::V1beta::Role.
Role indicates the sender of a message.
Constants
ROLE_UNSPECIFIED
value: 0 Default unspecified role.
ROLE_USER
value: 1 USER role refers to communication from the client to the server.
ROLE_AGENT
value: 2 AGENT role refers to communication from the server to the client.
[[["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 2026-10-03 UTC."],[],[]]