@@ -22,6 +22,7 @@ import "google/cloud/aiplatform/v1/artifact.proto";
22
22
import "google/cloud/aiplatform/v1/context.proto" ;
23
23
import "google/cloud/aiplatform/v1/encryption_spec.proto" ;
24
24
import "google/cloud/aiplatform/v1/execution.proto" ;
25
+ import "google/cloud/aiplatform/v1/pipeline_failure_policy.proto" ;
25
26
import "google/cloud/aiplatform/v1/pipeline_state.proto" ;
26
27
import "google/cloud/aiplatform/v1/value.proto" ;
27
28
import "google/protobuf/struct.proto" ;
@@ -72,6 +73,14 @@ message PipelineJob {
72
73
// `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built
73
74
// using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
74
75
map <string , google.protobuf.Value > parameter_values = 3 ;
76
+
77
+ // Represents the failure policy of a pipeline. Currently, the default of a
78
+ // pipeline is that the pipeline will continue to run until no more tasks
79
+ // can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW.
80
+ // However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it
81
+ // will stop scheduling any new tasks when a task has failed. Any scheduled
82
+ // tasks will continue to completion.
83
+ PipelineFailurePolicy failure_policy = 4 ;
75
84
}
76
85
77
86
// Output only. The resource name of the PipelineJob.
@@ -150,6 +159,27 @@ message PipelineJob {
150
159
string network = 18 [(google.api.resource_reference ) = {
151
160
type : "compute.googleapis.com/Network"
152
161
}];
162
+
163
+ // A template uri from where the [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec], if empty, will
164
+ // be downloaded.
165
+ string template_uri = 19 ;
166
+
167
+ // Output only. Pipeline template metadata. Will fill up fields if
168
+ // [PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri] is from supported template registry.
169
+ PipelineTemplateMetadata template_metadata = 20 [(google.api.field_behavior ) = OUTPUT_ONLY ];
170
+ }
171
+
172
+ // Pipeline template metadata if [PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri] is from supported
173
+ // template registry. Currently, the only supported registry is Artifact
174
+ // Registry.
175
+ message PipelineTemplateMetadata {
176
+ // The version_name in artifact registry.
177
+ //
178
+ // Will always be presented in output if the [PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri] is
179
+ // from supported template registry.
180
+ //
181
+ // Format is "sha256:abcdef123456...".
182
+ string version = 3 ;
153
183
}
154
184
155
185
// The runtime detail of PipelineJob.
0 commit comments