# The CleanRoomTaskRun object

Stores information about a single task run.

## Attributes

- `name` (string)
  Name of the executable.
- `task_type` (string)
  The type of Clean Room task.
  Possible values: `CLEAN_ROOM_TASK_TYPE_UNSPECIFIED`, `NOTEBOOK`, `JAR`
- `start_time` (int64)
  When the task run started, in epoch milliseconds.
- `run_duration` (int64)
  Duration of the task run, in milliseconds.
- `task_run_state` (object)
  State of the task run.
  - `life_cycle_state` (string)
    A value indicating the run's current lifecycle state. This field is always available in the response. Note: Additional states might be introduced in future releases.
    Possible values: `RUN_LIFE_CYCLE_STATE_UNSPECIFIED`, `PENDING`, `RUNNING`, `TERMINATING`, `TERMINATED`, `SKIPPED`, `INTERNAL_ERROR`, `BLOCKED`, `WAITING_FOR_RETRY`, `QUEUED`
  - `result_state` (string)
    A value indicating the run's result. This field is only available for terminal lifecycle states. Note: Additional states might be introduced in future releases.
    Possible values: `RUN_RESULT_STATE_UNSPECIFIED`, `SUCCESS`, `FAILED`, `TIMEDOUT`, `CANCELED`, `MAXIMUM_CONCURRENT_RUNS_REACHED`, `UPSTREAM_CANCELED`, `UPSTREAM_FAILED`, `EXCLUDED`, `EVICTED`, `SUCCESS_WITH_FAILURES`, `UPSTREAM_EVICTED`, `DISABLED`
- `collaborator_job_run_info` (object)
  Job run info of the task in the runner's local workspace.
   This field is only included in the LIST API if the task was run within the same workspace the API is being called.
   If the task run was in a different workspace under the same metastore, only the workspace_id is included.
  - `collaborator_job_id` (int64)
    Job ID of the task run in the collaborator's workspace.
  - `collaborator_job_run_id` (int64)
    Job run ID of the task run in the collaborator's workspace.
  - `collaborator_task_run_id` (int64)
    Task run ID of the task run in the collaborator's workspace.
  - `collaborator_workspace_id` (int64)
    ID of the collaborator's workspace that triggered the task run.
  - `collaborator_alias` (string)
    Alias of the collaborator that triggered the task run.
- `output_info` (object)
  Information about run output
  - `output_schema_name` (string)
    Name of the output schema associated with the clean room task run.
  - `output_schema_expiration_time` (int64)
    Expiration time of the output schema of the task run (if any), in epoch milliseconds.
- `analysis_details` (object)
  Information about the analysis run (etag, updated at)
  - `etag` (string)
    Etag of the asset executed in this task run, used to identify the asset version.
  - `updated_at` (int64)
    The timestamp of when the asset was last updated.
- `shared_output_info` (object, Public Preview)
  Information about shared output accessible by all collaborators.
   This field is only populated when enable_shared_output is true.
  - `output_schema_name` (string)
    Name of the output schema associated with the clean room task run.
  - `output_schema_expiration_time` (int64)
    Expiration time of the output schema of the task run (if any), in epoch milliseconds.

## Example

```json
{
  "name": "string",
  "task_type": "string",
  "start_time": 0,
  "run_duration": 0,
  "task_run_state": {
    "life_cycle_state": "string",
    "result_state": "string"
  },
  "collaborator_job_run_info": {
    "collaborator_job_id": 0,
    "collaborator_job_run_id": 0,
    "collaborator_task_run_id": 0,
    "collaborator_workspace_id": 0,
    "collaborator_alias": "string"
  },
  "output_info": {
    "output_schema_name": "string",
    "output_schema_expiration_time": 0
  },
  "analysis_details": {
    "etag": "string",
    "updated_at": 0
  },
  "shared_output_info": {
    "output_schema_name": "string",
    "output_schema_expiration_time": 0
  }
}
```


