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.
Implements
IMessage<CancelBuildRequest>, IEquatable<CancelBuildRequest>, IDeepCloneable<CancelBuildRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
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; }
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 |