Skip to main content
GET
Gemini operations.get
このエンドポイントを使用して、Gemini の長時間実行操作の現在のステータス、メタデータ、およびエラー状態をクエリします。
  • このエンドポイントは通常、predictLongRunning とペアになります。
  • 主要なパス パラメータは operation_id です。
  • ポーリング中に donemetadata、および error を検査する
  • 製品が独自のジョブ状態を保持する場合は、動作状態をビジネス状態とは別に保存します

承認

x-goog-api-key
string
header
必須

パスパラメータ

operation_id
string
必須

Operation ID.

:

"abc123"

レスポンス

Successful operation status response

name
string
metadata
object
done
boolean
response
object
error
object