Method: operations.get
Stay organized with collections
Save and categorize content based on your preferences.
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
HTTP request
GET https://dai.googleapis.com/v1/{name=operations/**}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
The name of the operation resource.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation
.
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 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["This endpoint retrieves the latest status of a long-running operation."],["Clients can periodically check the operation's progress using this method."],["The request is made using an HTTP GET method to a specific URL containing the operation's name."],["The response provides detailed information about the operation, including its current status."],["An empty request body is required for this operation."]]],["The core content details how to retrieve the latest state of a long-running operation using a GET request. The specific endpoint is `https://dai.googleapis.com/v1/{name=operations/**}`, with the `name` path parameter representing the operation resource's name. The request body should be empty. A successful response returns an instance of the `Operation` object, detailing the current operation status. The provided URL adheres to gRPC Transcoding syntax.\n"]]