v1.getCard 會傳回代理程式的資訊卡。
HTTP 要求
GET https://geminidataanalytics.googleapis.com/v1/a2a/{tenant=projects/*/locations/*/agents/*}/v1/card
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
tenant |
選用租戶,以路徑參數形式提供。實驗性質,1.0 版發布時可能仍會變更。 |
要求主體
要求主體必須為空白。
回應主體
如果成功,回應主體會包含 AgentCard 的執行個體。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/cloud-platform
詳情請參閱Authentication Overview。