Cloud Build v1 API - Class CancelBuildRequest (2.11.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
Name Description
other CancelBuildRequest

Properties

BuildName

public BuildName BuildName { get; set; }

BuildName-typed view over the Name resource name property.

Property Value
Type Description
BuildName

Id

public string Id { get; set; }

Required. ID of the build.

Property Value
Type Description
string

Name

public string Name { get; set; }

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

Property Value
Type Description
string

ProjectId

public string ProjectId { get; set; }

Required. ID of the project.

Property Value
Type Description
string