[go: nahoru, domu]

Skip to content

Commit

Permalink
docs: Refine description for field task_execution
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 633367898

Source-Link: googleapis/googleapis@7e73d48

Source-Link: googleapis/googleapis-gen@7a9547f
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQmF0Y2guVjEvLk93bEJvdC55YW1sIiwiaCI6IjdhOTU0N2ZiYTA2N2ZhM2I0NTdmYjlhYTI5Njg2Y2I1YjYwOGQ5MzAifQ==
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed May 14, 2024
1 parent 7aebc98 commit 7115e29
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Task.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -858,8 +858,18 @@ public sealed partial class TaskExecution : pb::IMessage<TaskExecution>
public const int ExitCodeFieldNumber = 1;
private int exitCode_;
/// <summary>
/// When task is completed as the status of FAILED or SUCCEEDED,
/// exit code is for one task execution result, default is 0 as success.
/// The exit code of a finished task.
///
/// If the task succeeded, the exit code will be 0. If the task failed but not
/// due to the following reasons, the exit code will be 50000.
///
/// Otherwise, it can be from different sources:
/// - Batch known failures as
/// https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
/// - Batch runnable execution failures: You can rely on Batch logs for further
/// diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
/// If there are multiple runnables failures, Batch only exposes the first
/// error caught for now.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down

0 comments on commit 7115e29

Please sign in to comment.