public sealed class CancelBuildRequest : IMessage<CancelBuildRequest>, IEquatable<CancelBuildRequest>, IDeepCloneable<CancelBuildRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class CancelBuildRequest.
[[["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-19 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eCancelBuildRequest\u003c/code\u003e class within the Google Cloud Build v1 API for .NET, with the current version being 2.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCancelBuildRequest\u003c/code\u003e class, used to request the cancellation of an ongoing build, 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.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on the class's constructors (\u003ccode\u003eCancelBuildRequest()\u003c/code\u003e, \u003ccode\u003eCancelBuildRequest(CancelBuildRequest)\u003c/code\u003e), as well as properties like \u003ccode\u003eBuildName\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides links to all available versions of the \u003ccode\u003eCancelBuildRequest\u003c/code\u003e documentation, ranging from version 1.0.0 up to the latest version, 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe format required to use the \u003ccode\u003eName\u003c/code\u003e property to cancel a build is \u003ccode\u003eprojects/{project}/locations/{location}/builds/{build}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]