@@ -198,6 +198,39 @@ message WorkflowTemplate {
198198 history : ORIGINALLY_SINGLE_PATTERN
199199 };
200200
201+ // Encryption settings for encrypting workflow template job arguments.
202+ message EncryptionConfig {
203+ // Optional. The Cloud KMS key name to use for encrypting
204+ // workflow template job arguments.
205+ //
206+ // When this this key is provided, the following workflow template
207+ // [job arguments]
208+ // (https://cloud.google.com/dataproc/docs/concepts/workflows/use-workflows#adding_jobs_to_a_template),
209+ // if present, are
210+ // [CMEK
211+ // encrypted](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_workflow_template_data):
212+ //
213+ // * [FlinkJob
214+ // args](https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob)
215+ // * [HadoopJob
216+ // args](https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob)
217+ // * [SparkJob
218+ // args](https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob)
219+ // * [SparkRJob
220+ // args](https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob)
221+ // * [PySparkJob
222+ // args](https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob)
223+ // * [SparkSqlJob](https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob)
224+ // scriptVariables and queryList.queries
225+ // * [HiveJob](https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob)
226+ // scriptVariables and queryList.queries
227+ // * [PigJob](https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob)
228+ // scriptVariables and queryList.queries
229+ // * [PrestoJob](https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob)
230+ // scriptVariables and queryList.queries
231+ string kms_key = 1 [(google.api.field_behavior ) = OPTIONAL ];
232+ }
233+
201234 string id = 2 [(google.api.field_behavior ) = REQUIRED ];
202235
203236 // Output only. The resource name of the workflow template, as described
@@ -270,6 +303,11 @@ message WorkflowTemplate {
270303 // the cluster is deleted.
271304 google.protobuf.Duration dag_timeout = 10
272305 [(google.api.field_behavior ) = OPTIONAL ];
306+
307+ // Optional. Encryption settings for encrypting workflow template job
308+ // arguments.
309+ EncryptionConfig encryption_config = 11
310+ [(google.api.field_behavior ) = OPTIONAL ];
273311}
274312
275313// Specifies workflow execution target.
@@ -371,6 +409,12 @@ message OrderedJob {
371409
372410 // Optional. Job is a Presto job.
373411 PrestoJob presto_job = 12 [(google.api.field_behavior ) = OPTIONAL ];
412+
413+ // Optional. Job is a Trino job.
414+ TrinoJob trino_job = 13 [(google.api.field_behavior ) = OPTIONAL ];
415+
416+ // Optional. Job is a Flink job.
417+ FlinkJob flink_job = 14 [(google.api.field_behavior ) = OPTIONAL ];
374418 }
375419
376420 // Optional. The labels to associate with this job.
@@ -806,6 +850,11 @@ message ListWorkflowTemplatesResponse {
806850 // results to fetch. To fetch additional results, provide this value as the
807851 // page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>.
808852 string next_page_token = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
853+
854+ // Output only. List of workflow templates that could not be included in the
855+ // response. Attempting to get one of these resources may indicate why it was
856+ // not included in the list response.
857+ repeated string unreachable = 3 [(google.api.field_behavior ) = OUTPUT_ONLY ];
809858}
810859
811860// A request to delete a workflow template.
0 commit comments