public sealed class Runnable.Types.Barrier : IMessage<Runnable.Types.Barrier>, IEquatable<Runnable.Types.Barrier>, IDeepCloneable<Runnable.Types.Barrier>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class Runnable.Types.Barrier.
Barrier runnable blocks until all tasks in a taskgroup reach it.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e class within the Google Cloud Batch v1 API, with version 2.13.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e is a class that implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and represents a barrier that blocks until all tasks in a task group reach it.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e can be constructed with either no arguments or another instance of \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e that has been passed in.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e allows you to identify a barrier by its index in the runnable list, and is of the string type.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation for \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e available, ranging from 1.0.0 up to the latest 2.13.0 version.\u003c/p\u003e\n"]]],[],null,[]]