2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

    public sealed class BigQueryAuditMetadata.Types.DatasetDeletion : IMessage<BigQueryAuditMetadata.Types.DatasetDeletion>, IEquatable<BigQueryAuditMetadata.Types.DatasetDeletion>, IDeepCloneable<BigQueryAuditMetadata.Types.DatasetDeletion>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Audit API class BigQueryAuditMetadata.Types.DatasetDeletion.

Dataset deletion event.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[BigQueryAuditMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.Types.md.txt)[DatasetDeletion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.Types.DatasetDeletion.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BigQueryAuditMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.Types.md.txt)[DatasetDeletion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.Types.DatasetDeletion.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[BigQueryAuditMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.Types.md.txt)[DatasetDeletion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.BigQueryAuditMetadata.Types.DatasetDeletion.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Audit](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Audit/latest/Google.Cloud.Audit.md.txt)

## Assembly

Google.Cloud.Audit.dll

## Constructors

### DatasetDeletion()

    public DatasetDeletion()

### DatasetDeletion(DatasetDeletion)

    public DatasetDeletion(BigQueryAuditMetadata.Types.DatasetDeletion other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `BigQueryAuditMetadataTypesDatasetDeletion` |

## Properties

### JobName

    public string JobName { get; set; }

The URI of the job that deleted the dataset.
Present if the reason is QUERY.

Format: `projects/<project_id>/jobs/<job_id>`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Reason

    public BigQueryAuditMetadata.Types.DatasetDeletion.Types.Reason Reason { get; set; }

Describes how the dataset was deleted.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `BigQueryAuditMetadataTypesDatasetDeletionTypesReason` |   |