class Google::Apis::LifesciencesV2beta::Event

Carries information about events that occur during pipeline execution.

Attributes

container_killed[RW]

An event generated when a container is forcibly terminated by the worker. Currently, this only occurs when the container outlives the timeout specified by the user. Corresponds to the JSON property `containerKilled` @return [Google::Apis::LifesciencesV2beta::ContainerKilledEvent]

container_started[RW]

An event generated when a container starts. Corresponds to the JSON property `containerStarted` @return [Google::Apis::LifesciencesV2beta::ContainerStartedEvent]

container_stopped[RW]

An event generated when a container exits. Corresponds to the JSON property `containerStopped` @return [Google::Apis::LifesciencesV2beta::ContainerStoppedEvent]

delayed[RW]

An event generated whenever a resource limitation or transient error delays execution of a pipeline that was otherwise ready to run. Corresponds to the JSON property `delayed` @return [Google::Apis::LifesciencesV2beta::DelayedEvent]

description[RW]

A human-readable description of the event. Note that these strings can change at any time without notice. Any application logic must use the information in the `details` field. Corresponds to the JSON property `description` @return [String]

failed[RW]

An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event. Corresponds to the JSON property `failed` @return [Google::Apis::LifesciencesV2beta::FailedEvent]

pull_started[RW]

An event generated when the worker starts pulling an image. Corresponds to the JSON property `pullStarted` @return [Google::Apis::LifesciencesV2beta::PullStartedEvent]

pull_stopped[RW]

An event generated when the worker stops pulling an image. Corresponds to the JSON property `pullStopped` @return [Google::Apis::LifesciencesV2beta::PullStoppedEvent]

timestamp[RW]

The time at which the event occurred. Corresponds to the JSON property `timestamp` @return [String]

unexpected_exit_status[RW]

An event generated when the execution of a container results in a non-zero exit status that was not otherwise ignored. Execution will continue, but only actions that are flagged as `ALWAYS_RUN` will be executed. Other actions will be skipped. Corresponds to the JSON property `unexpectedExitStatus` @return [Google::Apis::LifesciencesV2beta::UnexpectedExitStatusEvent]

worker_assigned[RW]

An event generated after a worker VM has been assigned to run the pipeline. Corresponds to the JSON property `workerAssigned` @return [Google::Apis::LifesciencesV2beta::WorkerAssignedEvent]

worker_released[RW]

An event generated when the worker VM that was assigned to the pipeline has been released (deleted). Corresponds to the JSON property `workerReleased` @return [Google::Apis::LifesciencesV2beta::WorkerReleasedEvent]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/lifesciences_v2beta/classes.rb, line 535
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/lifesciences_v2beta/classes.rb, line 540
def update!(**args)
  @container_killed = args[:container_killed] if args.key?(:container_killed)
  @container_started = args[:container_started] if args.key?(:container_started)
  @container_stopped = args[:container_stopped] if args.key?(:container_stopped)
  @delayed = args[:delayed] if args.key?(:delayed)
  @description = args[:description] if args.key?(:description)
  @failed = args[:failed] if args.key?(:failed)
  @pull_started = args[:pull_started] if args.key?(:pull_started)
  @pull_stopped = args[:pull_stopped] if args.key?(:pull_stopped)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
  @unexpected_exit_status = args[:unexpected_exit_status] if args.key?(:unexpected_exit_status)
  @worker_assigned = args[:worker_assigned] if args.key?(:worker_assigned)
  @worker_released = args[:worker_released] if args.key?(:worker_released)
end