Skip to content

Commit 02b3022

Browse files
Google APIscopybara-github
authored andcommitted
feat: add template_metadata to PipelineJob in aiplatform v1beta1 pipeline_job.proto
PiperOrigin-RevId: 447082691
1 parent 9b1c49d commit 02b3022

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/pipeline_job.proto

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,27 @@ message PipelineJob {
150150
string network = 18 [(google.api.resource_reference) = {
151151
type: "compute.googleapis.com/Network"
152152
}];
153+
154+
// A template uri from where the [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec], if empty, will
155+
// be downloaded.
156+
string template_uri = 19;
157+
158+
// Output only. Pipeline template metadata. Will fill up fields if
159+
// [PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri] is from supported template registry.
160+
PipelineTemplateMetadata template_metadata = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
161+
}
162+
163+
// Pipeline template metadata if [PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri] is from supported
164+
// template registry. Currently, the only supported registry is Artifact
165+
// Registry.
166+
message PipelineTemplateMetadata {
167+
// The version_name in artifact registry.
168+
//
169+
// Will always be presented in output if the [PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri] is
170+
// from supported template registry.
171+
//
172+
// Format is "sha256:abcdef123456...".
173+
string version = 3;
153174
}
154175

155176
// The runtime detail of PipelineJob.

0 commit comments

Comments
 (0)