Method: operations.get
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://adsdatahub.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
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub
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-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["Retrieves the latest state of a long-running operation, allowing clients to poll for results."],["Uses a GET request with the operation's name as a path parameter."],["Requires an empty request body and returns an `Operation` object in the response."],["Needs authorization with the `https://www.googleapis.com/auth/adsdatahub` scope."]]],["The core content describes how to retrieve the latest state of a long-running operation via a `GET` request to `https://adsdatahub.googleapis.com/v1/{name=operations/**}`. The request utilizes a path parameter, `name`, which is a string representing the operation's resource name. The request body is empty. A successful response returns an `Operation` object. Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope. The provided URL utilizes gRPC Transcoding.\n"]]