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, specifically detailing its functionality as a barrier runnable that blocks until all tasks within a task group reach it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing its capabilities and place within the larger system, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions ranging from 1.0.0 up to the latest version 2.13.0 of the API, allowing users to navigate to different versions of the \u003ccode\u003eRunnable.Types.Barrier\u003c/code\u003e documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default \u003ccode\u003eBarrier()\u003c/code\u003e constructor and one copy constructor \u003ccode\u003eBarrier(Runnable.Types.Barrier other)\u003c/code\u003e, allowing the creation of new instances or the duplication of existing ones.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property, a string, allows barriers to be identified by an index in the runnable list and optionally by a unique identifier.\u003c/p\u003e\n"]]],[],null,[]]