1.0.0 (latest) 1.0.0-beta06

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

Reference documentation and code samples for the Storage Batch Operations v1 API class CancelJobRequest.

Message for Job to Cancel

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CancelJobRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CancelJobRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CancelJobRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CancelJobRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CancelJobRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CancelJobRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CancelJobRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.StorageBatchOperations.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1)

## Assembly

Google.Cloud.StorageBatchOperations.V1.dll

## Constructors

### CancelJobRequest()

    public CancelJobRequest()

### CancelJobRequest(CancelJobRequest)

    public CancelJobRequest(CancelJobRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CancelJobRequest` |

## Properties

### JobName

    public JobName JobName { get; set; }

[JobName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.JobName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.CancelJobRequest#Google_Cloud_StorageBatchOperations_V1_CancelJobRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.StorageBatchOperations.V1/latest/Google.Cloud.StorageBatchOperations.V1.JobName` |   |

### Name

    public string Name { get; set; }

Required. The `name` of the job to cancel. Format: projects/{project_id}/locations/global/jobs/{job_id}.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RequestId

    public string RequestId { get; set; }

Optional. An optional request ID to identify requests. Specify a unique request ID in case you need to retry your request. Requests with same `request_id` will be ignored for at least 60 minutes since the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |