Package-level declarations
Types
The algorithm to use for autoscaling.
Which Flexible Resource Scheduling mode to run in.
Executions stage states allow the same set of values as JobState.
Type of transform this stage is executing.
The current state of the job. Jobs are created in the JOB_STATE_STOPPED
state unless otherwise specified. A job in the JOB_STATE_RUNNING
state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
The job's requested state. UpdateJob
may be used to switch between the JOB_STATE_STOPPED
and JOB_STATE_RUNNING
states, by setting requested_state. UpdateJob
may also be used to directly set a job's requested state to JOB_STATE_CANCELLED
or JOB_STATE_DONE
, irrevocably terminating the job if it has not already reached a terminal state.
Optional. Configuration for VM IPs.
The support status for this SDK version.
Type of transform.
The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
Configuration for VM IPs.
Sets the policy for determining when to turndown worker pool. Allowed values are: TEARDOWN_ALWAYS
, TEARDOWN_ON_SUCCESS
, and TEARDOWN_NEVER
. TEARDOWN_ALWAYS
means workers are always torn down regardless of whether the job succeeds. TEARDOWN_ON_SUCCESS
means workers are torn down if the job succeeds. TEARDOWN_NEVER
means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the TEARDOWN_ALWAYS
policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.