- Resource: Job
- State
- JobSpec
- AutotuningConfig
- Fixed
- Elastic
- ManagedKafkaConfig
- DisplayGraph
- State
- Methods
Resource: Job
Describes a BigQuery Engine for Apache Flink job resource.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
Identifier. The name of the job. |
state |
Output only. The state of the Apache Flink job. |
create |
Output only. The time when the job was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The time when the job was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. User defined labels as key value pairs. |
deployment |
Optional. The deployment that this job belongs to. If empty, the job is created in an ephemeral on-demand Apache Flink cluster. |
job |
Required. The specification of the Apache Flink job. |
display |
Output only. The display graph of the Apache Flink job. This is only populated on a |
State
The states of an Apache Flink job. The states are based on the Apache Flink REST API.
Enums | |
---|---|
STATE_UNSPECIFIED |
State unspecified. |
PENDING_CREATION |
Job is pending creation. |
INITIALIZING |
Job is initializing. |
CREATED |
Job has been created. |
RUNNING |
Job is running. |
FAILING |
Job is failing. |
FAILED |
Job has failed. |
CANCELLING |
Job is getting cancelled. |
CANCELLED |
Job has been cancelled. |
FINISHED |
Job has finished. |
RESTARTING |
Job is restarting. |
SUSPENDED |
Job has been suspended. |
RECONCILING |
Job is reconciling. |
JobSpec
The specification of the Apache Flink job.
JSON representation |
---|
{ "jarUris": [ string ], "jobGraphUri": string, "artifactUris": [ string ], "autotuningConfig": { object ( |
Fields | |
---|---|
jar |
Optional. The list of URIs for the job JARs in Cloud Storage. |
job |
Required. The job graph URI in Cloud Storage. |
artifact |
Required. The list of URIs for the job artifact files in Cloud Storage. |
autotuning |
Optional. Autotuning configuration for the job. |
network |
Optional. Network configuration for the job. |
display |
Optional. Display name of the job. This name is explicitly set by the user. |
job |
Optional. Job name of the job. The client automatically derives this name from the job graph. |
managed |
Optional. The configuration for the Google Cloud Managed Service for Apache Kafka clusters to be used by the job. |
job |
Optional. The encoding type of the job graph. |
AutotuningConfig
The autotuning configuration for the Apache Flink job.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field horizontal_autoscaling_policy . The horizontal autoscaling policy for the job. horizontal_autoscaling_policy can be only one of the following: |
|
fixed |
Fixed policy to disable autoscaling. |
throughput |
The throughput-based autoscaling policy that leverages observed throughput and true processing rate (estimated maximum achievable throughput) to autoscale the task parallelism per job vertex. |
Fixed
Fixed policy to disable autoscaling.
JSON representation |
---|
{ "parallelism": integer } |
Fields | |
---|---|
parallelism |
Optional. The fixed task parallelism for the job. |
Elastic
Elastic autoscaling policy to enable autoscaling with min/max limits.
JSON representation |
---|
{ "parallelism": integer, "minParallelism": integer, "maxParallelism": integer } |
Fields | |
---|---|
parallelism |
Optional. The initial task parallelism for the job. |
min |
Optional. The minimum task parallelism for the job. |
max |
Optional. The maximum task parallelism for the job. |
ManagedKafkaConfig
The configuration for the Google Cloud Managed Service for Apache Kafka clusters to be used by the job.
JSON representation |
---|
{ "managedKafkaClusters": [ string ] } |
Fields | |
---|---|
managed |
Optional. The list of Managed Service for Apache Kafka clusters connected to the job, specified in the following format: |
DisplayGraph
The Apache Flink display graph of the job.
JSON representation |
---|
{
"displayGraphJson": string,
"state": enum ( |
Fields | |
---|---|
display |
Output only. The display graph in JSON format. |
state |
Output only. The state of the display graph. |
State
Enum defining the states of a display graph.
Enums | |
---|---|
STATE_UNSPECIFIED |
Display graph state unspecified. |
DISPLAY_GRAPH_POPULATED |
Display graph is populated. |
DISPLAY_GRAPH_TOO_LARGE |
Display graph is too large. |
DISPLAY_GRAPH_EMPTY |
Display graph is empty. |
Methods |
|
---|---|
|
Creates a new job in the specified project and location. |
|
Deletes a single job. |
|
Gets details of a single job. |
|
Lists jobs in the specified project and location. |
|
Updates the parameters of a single job. |