OperationMetadata

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 progress can be only one of the following:
  "counter": {
    object(ProgressCounter)
  }
  // End of list of possible types for union field progress.
}
Fields
apiMethodName

string

The name of the API method that initiated the operation.

createTime

string(Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string(Timestamp format)

The time at which execution was completed.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

cancelRequested

boolean

Specifies if cancellation was requested for the operation.

logsUrl

string

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

object(ProgressCounter)

ProgressCounter

ProgressCounter provides counters to describe an operation's progress.

JSON representation
{
  "pending": string,
  "success": string,
  "failure": string
}
Fields
pending

string (int64 format)

The number of units that are pending in the operation.

success

string (int64 format)

The number of units that succeeded in the operation.

failure

string (int64 format)

The number of units that failed in the operation.