Skip to content

Commit eb382ed

Browse files
Google APIscopybara-github
Google APIs
authored andcommitted
feat: add read_mask to ListPipelineJobsRequest in aiplatform v1 pipeline_service
feat: add input_artifacts to PipelineJob.runtime_config in aiplatform v1 pipeline_job PiperOrigin-RevId: 469843667
1 parent 97fa02d commit eb382ed

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

google/cloud/aiplatform/v1/pipeline_job.proto

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ message PipelineJob {
5050

5151
// The runtime config of a PipelineJob.
5252
message RuntimeConfig {
53+
// The type of an input artifact.
54+
message InputArtifact {
55+
oneof kind {
56+
// Artifact resource id from MLMD. Which is the last portion of an
57+
// artifact resource
58+
// name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}).
59+
// The artifact must stay within the same project, location and default
60+
// metadatastore as the pipeline.
61+
string artifact_id = 1;
62+
}
63+
}
64+
5365
// Deprecated. Use [RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values] instead. The runtime
5466
// parameters of the PipelineJob. The parameters will be passed into
5567
// [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec] to replace the placeholders at runtime.
@@ -81,6 +93,10 @@ message PipelineJob {
8193
// will stop scheduling any new tasks when a task has failed. Any scheduled
8294
// tasks will continue to completion.
8395
PipelineFailurePolicy failure_policy = 4;
96+
97+
// The runtime artifacts of the PipelineJob. The key will be the input
98+
// artifact name and the value would be one of the InputArtifact.
99+
map<string, InputArtifact> input_artifacts = 5;
84100
}
85101

86102
// Output only. The resource name of the PipelineJob.

google/cloud/aiplatform/v1/pipeline_service.proto

+3
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,9 @@ message ListPipelineJobsRequest {
366366
// * `end_time`
367367
// * `start_time`
368368
string order_by = 6;
369+
370+
// Mask specifying which fields to read.
371+
google.protobuf.FieldMask read_mask = 7;
369372
}
370373

371374
// Response message for [PipelineService.ListPipelineJobs][google.cloud.aiplatform.v1.PipelineService.ListPipelineJobs]

0 commit comments

Comments
 (0)