Class CancelBuildRequest (1.2.0)

public sealed class CancelBuildRequest : IMessage<CancelBuildRequest>, IEquatable<CancelBuildRequest>, IDeepCloneable<CancelBuildRequest>, IBufferMessage, IMessage

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