Skip to main content
Google Cloud Documentation
Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
/
Console
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • עברית
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
  • Gemini for Google Cloud
  • Data Agents
Start free
Guides Reference
Google Cloud Documentation
  • Technology areas
    • More
    • Guides
    • Reference
  • Cross-product tools
    • More
  • Console
  • Overview
  • v1
    • REST Resources
    • a2a.projects.locations.agents.v1
      • Overview
      • getCard
    • a2a.projects.locations.agents.v1.message
      • Overview
      • send
      • stream
    • a2a.projects.locations.dataAgents.v1
      • Overview
      • getCard
    • a2a.projects.locations.dataAgents.v1.message
      • Overview
      • send
      • stream
    • projects.locations
      • Overview
      • chat
      • get
      • list
    • projects.locations.conversations
      • Overview
      • create
      • delete
      • get
      • list
    • projects.locations.conversations.messages
      • Overview
      • list
    • projects.locations.dataAgents
      • Overview
      • create
      • createSync
      • delete
      • deleteSync
      • get
      • getIamPolicy
      • list
      • listAccessible
      • patch
      • setIamPolicy
      • updateSync
    • projects.locations.operations
      • Overview
      • cancel
      • delete
      • get
      • list
    • Types
    • Message
  • v1alpha
    • REST Resources
    • projects.locations
      • Overview
      • chat
      • get
      • list
      • queryData
    • projects.locations.conversations
      • Overview
      • create
      • delete
      • get
      • list
    • projects.locations.conversations.messages
      • Overview
      • list
    • projects.locations.dataAgents
      • Overview
      • create
      • createSync
      • delete
      • deleteSync
      • get
      • getIamPolicy
      • list
      • listAccessible
      • patch
      • setIamPolicy
      • updateSync
    • projects.locations.operations
      • Overview
      • cancel
      • delete
      • get
      • list
    • Types
    • Message
  • v1beta
    • REST Resources
    • a2a.projects.locations.dataAgents.v1
      • Overview
      • getCard
    • a2a.projects.locations.dataAgents.v1.message
      • Overview
      • send
      • stream
    • projects.locations
      • Overview
      • chat
      • get
      • list
      • queryData
    • projects.locations.conversations
      • Overview
      • create
      • delete
      • get
      • list
    • projects.locations.conversations.messages
      • Overview
      • list
    • projects.locations.dataAgents
      • Overview
      • create
      • createSync
      • delete
      • deleteSync
      • get
      • getIamPolicy
      • list
      • listAccessible
      • patch
      • setIamPolicy
      • updateSync
    • projects.locations.operations
      • Overview
      • cancel
      • delete
      • get
      • list
    • Types
    • Message
  • Shared types
    • Types
    • APIKeySecurityScheme
    • AgentCapabilities
    • AgentCard
    • Artifact
    • AuditConfig
    • AuthenticationInfo
    • Binding
    • CancelOperationRequest
    • DeleteOperationRequest
    • GetAgentCardRequest
    • GetIamPolicyRequest
    • GetLocationRequest
    • GetOperationRequest
    • ListLocationsRequest
    • ListLocationsResponse
    • ListOperationsRequest
    • ListOperationsResponse
    • LogType
    • Message
    • Part
    • Policy
    • PushNotificationConfig
    • Role
    • SendMessageConfiguration
    • SendMessageRequest
    • SendMessageResponse
    • SetIamPolicyRequest
    • StreamResponse
    • Task
    • TaskState
    • TaskStatus
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
  • Home
  • Documentation
  • AI and ML
  • Gemini for Google Cloud
  • Data Agents
  • Reference

Role Stay organized with collections Save and categorize content based on your preferences.

Enums
ROLE_UNSPECIFIED
ROLE_USER USER role refers to communication from the client to the server.
ROLE_AGENT AGENT role refers to communication from the server to the client.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-26 UTC.

  • Support

    • Release Notes
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
  • Terms
  • Privacy
  • Manage cookies
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • עברית
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어