public sealed class ComputeResource : IMessage<ComputeResource>, IEquatable<ComputeResource>, IDeepCloneable<ComputeResource>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class ComputeResource.
[[["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 webpage provides documentation for the \u003ccode\u003eComputeResource\u003c/code\u003e class within the Google Cloud Batch v1 API, detailing its various versions and functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eComputeResource\u003c/code\u003e class is designed to define the resource requirements for tasks in the Batch API, including CPU, memory, and boot disk size.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the API, ranging from version 1.0.0 up to the latest version 2.13.0, where the most recent version is identified.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the inheritance hierarchy and interfaces implemented by \u003ccode\u003eComputeResource\u003c/code\u003e, such as \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\u003eKey properties of \u003ccode\u003eComputeResource\u003c/code\u003e are explained, including \u003ccode\u003eBootDiskMib\u003c/code\u003e, \u003ccode\u003eCpuMilli\u003c/code\u003e, and \u003ccode\u003eMemoryMib\u003c/code\u003e, which specify the resource allocations for each task.\u003c/p\u003e\n"]]],[],null,[]]