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, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "counter": { object(`https://docs.cloud.google.com/healthcare-api/docs/reference/rest/v1/OperationMetadata#ProgressCounter`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `apiMethodName` | `string` The name of the API method that initiated the operation. |
| `createTime` | ``string(`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time at which the operation was created by the API. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `endTime` | ``string(`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time at which execution was completed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `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](https://cloud.google.com/healthcare/docs/how-tos/logging). |
| The progress information for the operation. Details are described in the API method that creates the operation. Not all methods provide progress information. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `counter` | ``object(`https://docs.cloud.google.com/healthcare-api/docs/reference/rest/v1/OperationMetadata#ProgressCounter`)`` |
| End of mutually exclusive fields. ||

## ProgressCounter

ProgressCounter provides counters to describe an operation's progress.

| JSON representation |
|---|
| ``` { "pending": string, "success": string, "failure": string, "secondarySuccess": string, "secondaryFailure": string } ``` |

| Fields ||
|---|---|
| `pending` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of units that are pending in the operation. |
| `success` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of units that succeeded in the operation. |
| `failure` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of units that failed in the operation. |
| `secondarySuccess` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of secondary units that succeeded in the operation. |
| `secondaryFailure` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of secondary units that failed in the operation. |