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 page provides documentation for the \u003ccode\u003eCancelBuildRequest\u003c/code\u003e class within the Google Cloud Build v1 API, detailing its usage and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented here is 2.15.0, with versions ranging down to 1.0.0 accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCancelBuildRequest\u003c/code\u003e is used to cancel an ongoing build, as specified in the request to the API.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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, allowing it to interact with them.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCancelBuildRequest\u003c/code\u003e include \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, and \u003ccode\u003eBuildName\u003c/code\u003e, all of which are necessary to identify and locate the build that is to be canceled.\u003c/p\u003e\n"]]],[],null,[]]