Cloud Build v1 API - Class CancelBuildRequest (2.5.0)

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.

Request to cancel an ongoing build.

Inheritance

object > CancelBuildRequest

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

CancelBuildRequest()

public CancelBuildRequest()

CancelBuildRequest(CancelBuildRequest)

public CancelBuildRequest(CancelBuildRequest other)
Parameter
NameDescription
otherCancelBuildRequest

Properties

BuildName

public BuildName BuildName { get; set; }

BuildName-typed view over the Name resource name property.

Property Value
TypeDescription
BuildName

Id

public string Id { get; set; }

Required. ID of the build.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

The name of the Build to cancel. Format: projects/{project}/locations/{location}/builds/{build}

Property Value
TypeDescription
string

ProjectId

public string ProjectId { get; set; }

Required. ID of the project.

Property Value
TypeDescription
string