{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-dataproc/json-schema/google-cloud-dataproc-job-schema.json",
  "title": "Job",
  "description": "A Dataproc job resource.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-dataproc-dataproc-projects-api-openapi.yml#/components/schemas/Job",
  "properties": {
    "status": {
      "$ref": "#/$defs/JobStatus",
      "description": "Output only. The job status. Additional application-specific status information might be contained in the type_job and yarn_applications fields."
    },
    "pysparkJob": {
      "$ref": "#/$defs/PySparkJob",
      "description": "Optional. Job is a PySpark job."
    },
    "hiveJob": {
      "$ref": "#/$defs/HiveJob",
      "description": "Optional. Job is a Hive job."
    },
    "statusHistory": {
      "description": "Output only. The previous job status.",
      "items": {
        "$ref": "#/$defs/JobStatus"
      },
      "readOnly": true,
      "type": "array"
    },
    "reference": {
      "$ref": "#/$defs/JobReference",
      "description": "Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a job_id."
    },
    "hadoopJob": {
      "$ref": "#/$defs/HadoopJob",
      "description": "Optional. Job is a Hadoop job."
    },
    "yarnApplications": {
      "description": "Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It might be changed before final release.",
      "items": {
        "$ref": "#/$defs/YarnApplication"
      },
      "readOnly": true,
      "type": "array"
    },
    "pigJob": {
      "$ref": "#/$defs/PigJob",
      "description": "Optional. Job is a Pig job."
    },
    "scheduling": {
      "$ref": "#/$defs/JobScheduling",
      "description": "Optional. Job scheduling configuration."
    },
    "labels": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.",
      "type": "object"
    },
    "sparkRJob": {
      "$ref": "#/$defs/SparkRJob",
      "description": "Optional. Job is a SparkR job."
    },
    "trinoJob": {
      "$ref": "#/$defs/TrinoJob",
      "description": "Optional. Job is a Trino job."
    },
    "driverOutputResourceUri": {
      "description": "Output only. A URI pointing to the location of the stdout of the job's driver program.",
      "readOnly": true,
      "type": "string"
    },
    "driverSchedulingConfig": {
      "$ref": "#/$defs/DriverSchedulingConfig",
      "description": "Optional. Driver scheduling configuration."
    },
    "done": {
      "readOnly": true,
      "description": "Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.",
      "type": "boolean"
    },
    "jobUuid": {
      "readOnly": true,
      "description": "Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that might be reused over time.",
      "type": "string"
    },
    "driverControlFilesUri": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. If present, the location of miscellaneous control files which can be used as part of job setup and handling. If not present, control files might be placed in the same location as driver_output_uri."
    },
    "placement": {
      "$ref": "#/$defs/JobPlacement",
      "description": "Required. Job information, including how, when, and where to run the job."
    },
    "sparkSqlJob": {
      "$ref": "#/$defs/SparkSqlJob",
      "description": "Optional. Job is a SparkSql job."
    },
    "sparkJob": {
      "$ref": "#/$defs/SparkJob",
      "description": "Optional. Job is a Spark job."
    },
    "prestoJob": {
      "$ref": "#/$defs/PrestoJob",
      "description": "Optional. Job is a Presto job."
    },
    "flinkJob": {
      "$ref": "#/$defs/FlinkJob",
      "description": "Optional. Job is a Flink job."
    }
  },
  "type": "object",
  "$defs": {
    "DriverSchedulingConfig": {
      "type": "object",
      "properties": {
        "memoryMb": {
          "format": "int32",
          "description": "Required. The amount of memory in MB the driver is requesting.",
          "type": "integer"
        },
        "vcores": {
          "type": "integer",
          "description": "Required. The number of vCPUs the driver is requesting.",
          "format": "int32"
        }
      },
      "description": "Driver scheduling configuration."
    },
    "FlinkJob": {
      "properties": {
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "mainClass": {
          "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jarFileUris.",
          "type": "string"
        },
        "mainJarFileUri": {
          "description": "The HCFS URI of the jar file that contains the main class.",
          "type": "string"
        },
        "savepointUri": {
          "description": "Optional. HCFS URI of the savepoint, which contains the last saved progress for starting the current job.",
          "type": "string"
        },
        "jarFileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Flink driver and tasks."
        },
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. A mapping of property names to values, used to configure Flink. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/flink/conf/flink-defaults.conf and classes in user code.",
          "type": "object"
        },
        "args": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision might occur that causes an incorrect job submission.",
          "type": "array"
        }
      },
      "description": "A Dataproc job for running Apache Flink applications on YARN.",
      "type": "object"
    },
    "HadoopJob": {
      "properties": {
        "mainJarFileUri": {
          "description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'",
          "type": "string"
        },
        "fileUris": {
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.",
          "type": "array"
        },
        "mainClass": {
          "type": "string",
          "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris."
        },
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "jarFileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks."
        },
        "archiveUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.",
          "items": {
            "type": "string"
          }
        },
        "args": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision might occur that causes an incorrect job submission.",
          "type": "array"
        },
        "properties": {
          "type": "object",
          "description": "Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "type": "object",
      "description": "A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html)."
    },
    "HiveJob": {
      "description": "A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.",
      "properties": {
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains Hive queries."
        },
        "queryList": {
          "$ref": "#/$defs/QueryList",
          "description": "A list of queries."
        },
        "continueOnFailure": {
          "type": "boolean",
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries."
        },
        "properties": {
          "description": "Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "scriptVariables": {
          "description": "Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "jarFileUris": {
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "JobPlacement": {
      "type": "object",
      "properties": {
        "clusterUuid": {
          "readOnly": true,
          "description": "Output only. A cluster UUID generated by the Dataproc service when the job is submitted.",
          "type": "string"
        },
        "clusterLabels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Cluster labels to identify a cluster where the job will be submitted."
        },
        "clusterName": {
          "description": "Required. The name of the cluster where the job will be submitted.",
          "type": "string"
        }
      },
      "description": "Dataproc job config."
    },
    "JobReference": {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string",
          "description": "Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server."
        },
        "projectId": {
          "description": "Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID.",
          "type": "string"
        }
      },
      "description": "Encapsulates the full scoping used to reference a job."
    },
    "JobScheduling": {
      "description": "Job scheduling options.",
      "properties": {
        "maxFailuresTotal": {
          "format": "int32",
          "description": "Optional. Maximum total number of times a driver can be restarted as a result of the driver exiting with a non-zero code. After the maximum number is reached, the job will be reported as failed.Maximum value is 240.Note: Currently, this restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).",
          "type": "integer"
        },
        "maxFailuresPerHour": {
          "type": "integer",
          "description": "Optional. Maximum number of times per hour a driver can be restarted as a result of driver exiting with non-zero code before job is reported failed.A job might be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.Maximum value is 10.Note: This restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).",
          "format": "int32"
        }
      },
      "type": "object"
    },
    "JobStatus": {
      "description": "Dataproc job status.",
      "properties": {
        "substate": {
          "description": "Output only. Additional state information, which includes status reported by the agent.",
          "type": "string",
          "enum": [
            "UNSPECIFIED",
            "SUBMITTED",
            "QUEUED",
            "STALE_STATUS"
          ],
          "readOnly": true
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "SETUP_DONE",
            "RUNNING",
            "CANCEL_PENDING",
            "CANCEL_STARTED",
            "CANCELLED",
            "DONE",
            "ERROR",
            "ATTEMPT_FAILURE"
          ],
          "readOnly": true,
          "description": "Output only. A state message specifying the overall job state."
        },
        "stateStartTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. The time when this state was entered."
        },
        "details": {
          "type": "string",
          "description": "Optional. Job state details, such as an error description if the state is ERROR."
        }
      },
      "type": "object"
    },
    "LoggingConfig": {
      "properties": {
        "driverLogLevels": {
          "description": "The per-package log levels for the driver. This can include \"root\" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG'",
          "additionalProperties": {
            "type": "string",
            "enum": [
              "LEVEL_UNSPECIFIED",
              "ALL",
              "TRACE",
              "DEBUG",
              "INFO",
              "WARN",
              "ERROR",
              "FATAL",
              "OFF"
            ]
          },
          "type": "object"
        }
      },
      "description": "The runtime logging config of the job.",
      "type": "object"
    },
    "PigJob": {
      "type": "object",
      "description": "A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.",
      "properties": {
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "scriptVariables": {
          "type": "object",
          "description": "Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryList": {
          "$ref": "#/$defs/QueryList",
          "description": "A list of queries."
        },
        "queryFileUri": {
          "description": "The HCFS URI of the script that contains the Pig queries.",
          "type": "string"
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "continueOnFailure": {
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
          "type": "boolean"
        },
        "jarFileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs."
        }
      }
    },
    "PrestoJob": {
      "properties": {
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. A mapping of property names to values. Used to set Presto session properties (https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI"
        },
        "queryList": {
          "$ref": "#/$defs/QueryList",
          "description": "A list of queries."
        },
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "continueOnFailure": {
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
          "type": "boolean"
        },
        "clientTags": {
          "type": "array",
          "description": "Optional. Presto client tags to attach to this query",
          "items": {
            "type": "string"
          }
        },
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains SQL queries."
        },
        "outputFormat": {
          "description": "Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats",
          "type": "string"
        }
      },
      "description": "A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.",
      "type": "object"
    },
    "PySparkJob": {
      "properties": {
        "properties": {
          "type": "object",
          "description": "Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "mainPythonFileUri": {
          "description": "Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.",
          "type": "string"
        },
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "args": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
          "type": "array"
        },
        "fileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks."
        },
        "pythonFileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip."
        },
        "jarFileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks."
        },
        "archiveUris": {
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.Note: Spark applications must be deployed in cluster mode (https://spark.apache.org/docs/latest/cluster-overview.html) for correct environment propagation.",
          "type": "array"
        }
      },
      "description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/latest/api/python/index.html#pyspark-overview) applications on YARN.",
      "type": "object"
    },
    "QueryList": {
      "description": "A list of queries to run on a cluster.",
      "type": "object",
      "properties": {
        "queries": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: \"hiveJob\": { \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\", ] } } "
        }
      }
    },
    "SparkJob": {
      "description": "A Dataproc job for running Apache Spark (https://spark.apache.org/) applications on YARN.",
      "properties": {
        "fileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks."
        },
        "jarFileUris": {
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "archiveUris": {
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mainClass": {
          "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in SparkJob.jar_file_uris.",
          "type": "string"
        },
        "args": {
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mainJarFileUri": {
          "type": "string",
          "description": "The HCFS URI of the jar file that contains the main class."
        },
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "SparkRJob": {
      "type": "object",
      "properties": {
        "args": {
          "type": "array",
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
          "items": {
            "type": "string"
          }
        },
        "archiveUris": {
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "fileUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
          "items": {
            "type": "string"
          }
        },
        "mainRFileUri": {
          "type": "string",
          "description": "Required. The HCFS URI of the main R file to use as the driver. Must be a .R file."
        },
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, used to configure SparkR. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "description": "A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) applications on YARN."
    },
    "SparkSqlJob": {
      "type": "object",
      "properties": {
        "scriptVariables": {
          "type": "object",
          "description": "Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).",
          "additionalProperties": {
            "type": "string"
          }
        },
        "jarFileUris": {
          "description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API might be overwritten.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "queryList": {
          "$ref": "#/$defs/QueryList",
          "description": "A list of queries."
        },
        "queryFileUri": {
          "description": "The HCFS URI of the script that contains SQL queries.",
          "type": "string"
        }
      },
      "description": "A Dataproc job for running Apache Spark SQL (https://spark.apache.org/sql/) queries."
    },
    "TrinoJob": {
      "properties": {
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains SQL queries."
        },
        "continueOnFailure": {
          "type": "boolean",
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries."
        },
        "outputFormat": {
          "description": "Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats",
          "type": "string"
        },
        "clientTags": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Trino client tags to attach to this query",
          "type": "array"
        },
        "queryList": {
          "$ref": "#/$defs/QueryList",
          "description": "A list of queries."
        },
        "loggingConfig": {
          "$ref": "#/$defs/LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "properties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. A mapping of property names to values. Used to set Trino session properties (https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI"
        }
      },
      "type": "object",
      "description": "A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/trino) must be enabled when the cluster is created to submit a Trino job to the cluster."
    },
    "YarnApplication": {
      "properties": {
        "memoryMbSeconds": {
          "type": "string",
          "description": "Optional. The cumulative memory usage of the application for a job, measured in mb-seconds.",
          "format": "int64"
        },
        "progress": {
          "type": "number",
          "description": "Required. The numerical progress of the application, from 1 to 100.",
          "format": "float"
        },
        "state": {
          "description": "Required. The application state.",
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "NEW",
            "NEW_SAVING",
            "SUBMITTED",
            "ACCEPTED",
            "RUNNING",
            "FINISHED",
            "FAILED",
            "KILLED"
          ]
        },
        "name": {
          "type": "string",
          "description": "Required. The application name."
        },
        "trackingUrl": {
          "type": "string",
          "description": "Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access."
        },
        "vcoreSeconds": {
          "format": "int64",
          "description": "Optional. The cumulative CPU time consumed by the application for a job, measured in vcore-seconds.",
          "type": "string"
        }
      },
      "description": "A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
      "type": "object"
    }
  }
}