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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `CancelBuildRequest` class within the Google Cloud Build v1 API, which is used to request the cancellation of an ongoing build."],["The latest version of the `CancelBuildRequest` class is 2.15.0, and the page provides links to documentation for previous versions ranging back to 1.0.0."],["The `CancelBuildRequest` class inherits from `object` and implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `CancelBuildRequest` class include `BuildName`, `Id`, `Name`, and `ProjectId`, which are all essential for identifying the specific build to be cancelled."],["The class offers two constructors: a parameterless one for default initialization and another that accepts a `CancelBuildRequest` instance for copying."]]],[]]