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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
The time at which execution workloads were completed. Some tasks will complete after this time such as logging audit logs. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. 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. The |
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, "secondarySuccess": string, "secondaryFailure": string } |
Fields | |
---|---|
pending |
The number of units that are pending in the operation. |
success |
The number of units that succeeded in the operation. |
failure |
The number of units that failed in the operation. |
secondary |
The number of secondary units that succeeded in the operation. |
secondary |
The number of secondary units that failed in the operation. |