Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 357276619
  • Loading branch information
tfx-copybara committed Feb 12, 2021
1 parent b2aa8d5 commit 50614eb
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions tfx/orchestration/kubeflow/v2/proto/pipeline.proto
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,13 @@ message ComponentOutputsSpec {
// Definition of an artifact output.
message ArtifactSpec {
ArtifactTypeSchema artifact_type = 1;
map<string, ValueOrRuntimeParameter> properties = 2;
map<string, ValueOrRuntimeParameter> custom_properties = 3;
// Deprecated. Use [ArtifactSpec.metadata][] instead.
map<string, ValueOrRuntimeParameter> properties = 2 [deprecated = true];
// Deprecated. Use [ArtifactSpec.metadata][] instead.
map<string, ValueOrRuntimeParameter> custom_properties = 3
[deprecated = true];
// Properties of the Artifact.
google.protobuf.Struct metadata = 4;
}
// Definition of a parameter output.
message ParameterSpec {
Expand Down Expand Up @@ -633,10 +638,16 @@ message PipelineDeploymentConfig {
ArtifactTypeSchema type_schema = 2;

// The properties of the artifact.
map<string, ValueOrRuntimeParameter> properties = 3;
// Deprecated. Use [ImporterSpec.metadata][] instead.
map<string, ValueOrRuntimeParameter> properties = 3 [deprecated = true];

// The custom properties of the artifact.
map<string, ValueOrRuntimeParameter> custom_properties = 4;
// Deprecated. Use [ImporterSpec.metadata][] instead.
map<string, ValueOrRuntimeParameter> custom_properties = 4
[deprecated = true];

// Properties of the Artifact.
google.protobuf.Struct metadata = 6;

// Whether or not import an artifact regardless it has been imported before.
bool reimport = 5;
Expand Down Expand Up @@ -725,10 +736,15 @@ message RuntimeArtifact {
string uri = 3;

// The properties of the artifact.
map<string, Value> properties = 4;
// Deprecated. Use [RuntimeArtifact.metadata][] instead.
map<string, Value> properties = 4 [deprecated = true];

// The custom properties of the artifact.
map<string, Value> custom_properties = 5;
// Deprecated. Use [RuntimeArtifact.metadata][] instead.
map<string, Value> custom_properties = 5 [deprecated = true];

// Properties of the Artifact.
google.protobuf.Struct metadata = 6;
}

// Message that represents a list of artifacts.
Expand Down

0 comments on commit 50614eb

Please sign in to comment.