OperationMetadata provides information about the operation execution. Returned in the long-running operation's metadata field.
JSON representation |
---|
{ "apiMethodName": string, "createTime": string, "endTime": string, "cancelRequested": boolean, "logsUrl": string, // Union field |
Fields | |
---|---|
api |
The name of the API method that initiated the operation. |
create |
The time at which the operation was created by the API. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
end |
The time at which execution was completed. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
cancel |
Specifies if cancellation was requested for the operation. |
logs |
A link to audit and error logs in the log viewer. Error logs are generated only by some operations, listed at Viewing error logs in Cloud Logging. |
Union field progress . The progress information for the operation. Details are described in the API method that creates the operation. Not all methods provide progress information. progress can be only one of the following: |
|
counter |
|
ProgressCounter
ProgressCounter provides counters to describe an operation's progress.
JSON representation |
---|
{ "pending": string, "success": string, "failure": string } |