public MapField<string, JobDependency.Types.Type> Items { get; }
Each item maps a Job name to a Type.
All items must be satisfied for the JobDependency to be satisfied (the AND
operation).
Once a condition for one item becomes true, it won't go back to false
even the dependent Job state changes again.
[[["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\u003e\u003ccode\u003eJobDependency\u003c/code\u003e is a class in the Batch v1alpha API that defines dependencies for a job based on the state of other jobs within the same region.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJobDependency\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJobDependency\u003c/code\u003e class can be constructed with no parameters, or an object of itself, \u003ccode\u003eJobDependency\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eItems\u003c/code\u003e property of the \u003ccode\u003eJobDependency\u003c/code\u003e class uses a \u003ccode\u003eMapField\u003c/code\u003e to map job names to their dependency \u003ccode\u003eType\u003c/code\u003e, where all mapped items must be satisfied for the dependency to be met.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is specific to the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.Batch.V1Alpha.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Batch v1alpha API - Class JobDependency (1.0.0-alpha31)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha31 (latest)](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.JobDependency)\n- [1.0.0-alpha30](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/1.0.0-alpha30/Google.Cloud.Batch.V1Alpha.JobDependency) \n\n public sealed class JobDependency : IMessage\u003cJobDependency\u003e, IEquatable\u003cJobDependency\u003e, IDeepCloneable\u003cJobDependency\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Batch v1alpha API class JobDependency.\n\nJobDependency describes the state of other Jobs that the start of this Job\ndepends on.\nAll dependent Jobs must have been submitted in the same region. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e JobDependency \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[JobDependency](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.JobDependency), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[JobDependency](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.JobDependency), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[JobDependency](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha.JobDependency), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Batch.V1Alpha](/dotnet/docs/reference/Google.Cloud.Batch.V1Alpha/latest/Google.Cloud.Batch.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Batch.V1Alpha.dll\n\nConstructors\n------------\n\n### JobDependency()\n\n public JobDependency()\n\n### JobDependency(JobDependency)\n\n public JobDependency(JobDependency other)\n\nProperties\n----------\n\n### Items\n\n public MapField\u003cstring, JobDependency.Types.Type\u003e Items { get; }\n\nEach item maps a Job name to a Type.\nAll items must be satisfied for the JobDependency to be satisfied (the AND\noperation).\nOnce a condition for one item becomes true, it won't go back to false\neven the dependent Job state changes again."]]