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, covering versions from 1.0.0 to the latest 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCancelBuildRequest\u003c/code\u003e class is used to request the cancellation of an ongoing build within the Google Cloud Build service, as outlined in the class description.\u003c/p\u003e\n"],["\u003cp\u003eKey properties for \u003ccode\u003eCancelBuildRequest\u003c/code\u003e include \u003ccode\u003eBuildName\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eProjectId\u003c/code\u003e, which are used to identify the specific build to be canceled.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCancelBuildRequest\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, providing functionality for message handling, equality checks, deep cloning, and buffer message operations, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe page details the constructors for the \u003ccode\u003eCancelBuildRequest\u003c/code\u003e class, allowing for the creation of a new instance, and creating a copy.\u003c/p\u003e\n"]]],[],null,[]]