Skip to content

Commit 0ff6b33

Browse files
feat(google-cloud-batch-v1): expose display_name to batch v1 API (googleapis#23443)
1 parent 85ebd9e commit 0ff6b33

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

  • google-cloud-batch-v1

google-cloud-batch-v1/lib/google/cloud/batch/v1/task_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-batch-v1/proto_docs/google/cloud/batch/v1/task.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ module State
153153
# @!attribute [rw] barrier
154154
# @return [::Google::Cloud::Batch::V1::Runnable::Barrier]
155155
# Barrier runnable.
156+
# @!attribute [rw] display_name
157+
# @return [::String]
158+
# Optional. DisplayName is an optional field that can be provided by the
159+
# caller. If provided, it will be used in logs and other outputs to identify
160+
# the script, making it easier for users to understand the logs. If not
161+
# provided the index of the runnable will be used for outputs.
156162
# @!attribute [rw] ignore_exit_status
157163
# @return [::Boolean]
158164
# Normally, a non-zero exit status causes the Task to fail. This flag allows

0 commit comments

Comments
 (0)