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.
A barrier runnable automatically blocks the execution of subsequent
runnables until all the tasks in the task group reach the barrier.
[[["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 documentation page covers the \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e class within the Google.Cloud.Batch.V1 namespace, specifically for version 2.12.0 of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e class is used to synchronize tasks within a task group, ensuring that subsequent runnables do not execute until all tasks reach the barrier.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a history of versions of the \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e class, from 1.0.0 up to the latest 2.13.0, allowing users to navigate between them.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBarrier\u003c/code\u003e class has two constructors: one default and one that accepts another \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e object as a parameter, allowing for the creation of instances and copies.\u003c/p\u003e\n"]]],[],null,[]]