Skip to content

Commit 0673555

Browse files
Google APIscopybara-github
authored andcommitted
feat: add sha256 field to Package proto
PiperOrigin-RevId: 891887357
1 parent fa1f3e3 commit 0673555

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

google/dataflow/v1beta3/environment.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ message Package {
165165
// storage.googleapis.com/{bucket}
166166
// bucket.storage.googleapis.com/
167167
string location = 2;
168+
169+
// Optional. The hex-encoded SHA256 checksum of the package.
170+
// If the checksum is provided, the worker will verify the checksum of the
171+
// package before using it. If the checksum does not match, the worker will
172+
// fail to start.
173+
string sha256 = 3 [(google.api.field_behavior) = OPTIONAL];
168174
}
169175

170176
// Specifies the processing model used by a

0 commit comments

Comments
 (0)