Skip to content

Commit d02570b

Browse files
feat: [batch] expose display_name to batch v1 API (#4742)
* feat: expose display_name to batch v1 API PiperOrigin-RevId: 573914933 Source-Link: googleapis/googleapis@ab87375 Source-Link: googleapis/googleapis-gen@0eabaac Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhdGNoLy5Pd2xCb3QueWFtbCIsImgiOiIwZWFiYWFjYmY3ZmZhMWRlNmE4NTE4YzkwNGFjYzNhMWMzYmM3NWJlIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: sofisl <[email protected]>
1 parent e61a513 commit d02570b

4 files changed

Lines changed: 42 additions & 0 deletions

File tree

packages/google-cloud-batch/protos/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;

packages/google-cloud-batch/protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-batch/protos/protos.js

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-batch/protos/protos.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)