Skip to main content

Interface: INexusOperationExecutionInfo

Properties of a NexusOperationExecutionInfo.

Extends​

Properties​

attempt?​

optional attempt?: number | null

The number of attempts made to deliver the start operation request. This number is approximate, it is incremented when a task is added to the history queue. In practice, there could be more attempts if a task is executed but fails to commit, or less attempts if a task was never executed.

Inherited from​

$Properties.attempt


blockedReason?​

optional blockedReason?: string | null

If the state is BLOCKED, blocked reason provides additional information.

Inherited from​

$Properties.blockedReason


cancellationInfo?​

optional cancellationInfo?: $Properties | null

NexusOperationExecutionInfo cancellationInfo

Inherited from​

$Properties.cancellationInfo


closeTime?​

optional closeTime?: $Properties | null

Time when the operation transitioned to a closed state.

Inherited from​

$Properties.closeTime


endpoint?​

optional endpoint?: string | null

Endpoint name, resolved to a URL via the cluster's endpoint registry.

Inherited from​

$Properties.endpoint


executionDuration?​

optional executionDuration?: $Properties | null

Elapsed time from schedule_time to now for running operations or to close_time for closed operations, including all attempts and backoff between attempts.

Inherited from​

$Properties.executionDuration


expirationTime?​

optional expirationTime?: $Properties | null

Scheduled time + schedule to close timeout.

Inherited from​

$Properties.expirationTime


identity?​

optional identity?: string | null

The identity of the client who started this operation.

Inherited from​

$Properties.identity


lastAttemptCompleteTime?​

optional lastAttemptCompleteTime?: $Properties | null

The time when the last attempt completed.

Inherited from​

$Properties.lastAttemptCompleteTime


lastAttemptFailure?​

optional lastAttemptFailure?: $Properties | null

The last attempt's failure, if any.

Inherited from​

$Properties.lastAttemptFailure


optional links?: $Properties[] | null

Links attached by the handler of this operation on start or completion.

Inherited from​

$Properties.links


nextAttemptScheduleTime?​

optional nextAttemptScheduleTime?: $Properties | null

The time when the next attempt is scheduled.

Inherited from​

$Properties.nextAttemptScheduleTime


nexusHeader?​

optional nexusHeader?: {[k: string]: string; } | null

Header for context propagation and tracing purposes.

Inherited from​

$Properties.nexusHeader


operation?​

optional operation?: string | null

Operation name.

Inherited from​

$Properties.operation


operationId?​

optional operationId?: string | null

Unique identifier of this Nexus operation within its namespace along with run ID (below).

Inherited from​

$Properties.operationId


operationToken?​

optional operationToken?: string | null

Operation token. Only set for asynchronous operations after a successful StartOperation call.

Inherited from​

$Properties.operationToken


requestId?​

optional requestId?: string | null

Server-generated request ID used as an idempotency token when submitting start requests to the handler. Distinct from the request_id in StartNexusOperationRequest, which is the caller-side idempotency key for the StartNexusOperation RPC itself.

Inherited from​

$Properties.requestId


runId?​

optional runId?: string | null

NexusOperationExecutionInfo runId

Inherited from​

$Properties.runId


scheduleTime?​

optional scheduleTime?: $Properties | null

Time the operation was originally scheduled via a StartNexusOperation request.

Inherited from​

$Properties.scheduleTime


scheduleToCloseTimeout?​

optional scheduleToCloseTimeout?: $Properties | null

Schedule-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)

Inherited from​

$Properties.scheduleToCloseTimeout


scheduleToStartTimeout?​

optional scheduleToStartTimeout?: $Properties | null

Schedule-to-start timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)

Inherited from​

$Properties.scheduleToStartTimeout


searchAttributes?​

optional searchAttributes?: $Properties | null

NexusOperationExecutionInfo searchAttributes

Inherited from​

$Properties.searchAttributes


service?​

optional service?: string | null

Service name.

Inherited from​

$Properties.service


startToCloseTimeout?​

optional startToCloseTimeout?: $Properties | null

Start-to-close timeout for this operation. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)

Inherited from​

$Properties.startToCloseTimeout


state?​

optional state?: PendingNexusOperationState | null

More detailed breakdown of NEXUS_OPERATION_EXECUTION_STATUS_RUNNING.

Inherited from​

$Properties.state


stateSizeBytes?​

optional stateSizeBytes?: Long | null

Updated once on scheduled and once on terminal status.

Inherited from​

$Properties.stateSizeBytes


stateTransitionCount?​

optional stateTransitionCount?: Long | null

Incremented each time the operation's state is mutated in persistence.

Inherited from​

$Properties.stateTransitionCount


status?​

optional status?: NexusOperationExecutionStatus | null

A general status for this operation, indicates whether it is currently running or in one of the terminal statuses. Updated once when the operation is originally scheduled, and again when it reaches a terminal status.

Inherited from​

$Properties.status


userMetadata?​

optional userMetadata?: $Properties | null

Metadata for use by user interfaces to display the fixed as-of-start summary and details of the operation.

Inherited from​

$Properties.userMetadata