Skip to content

Commit ab87375

Browse files
Google APIscopybara-github
authored andcommitted
feat: expose display_name to batch v1 API
PiperOrigin-RevId: 573914933
1 parent a9ebb31 commit ab87375

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

google/cloud/batch/v1/task.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ message Runnable {
234234
Barrier barrier = 6;
235235
}
236236

237+
// Optional. DisplayName is an optional field that can be provided by the
238+
// caller. If provided, it will be used in logs and other outputs to identify
239+
// the script, making it easier for users to understand the logs. If not
240+
// provided the index of the runnable will be used for outputs.
241+
string display_name = 10 [(google.api.field_behavior) = OPTIONAL];
242+
237243
// Normally, a non-zero exit status causes the Task to fail. This flag allows
238244
// execution of other Runnables to continue instead.
239245
bool ignore_exit_status = 3;

0 commit comments

Comments
 (0)