# Common Protos for Google Cloud APIs Client - Class Reason (1.0.0)

1.0.0 (latest) 0.8.3 0.7.0 0.6.0 0.5.2 0.4.2 0.3.8 Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class Reason.

Describes how the dataset was changed.

Protobuf type `google.cloud.audit.BigQueryAuditMetadata.DatasetChange.Reason`

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata \\ DatasetChange

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### REASON_UNSPECIFIED

    Value: 0

Unknown.

Generated from protobuf enum `REASON_UNSPECIFIED = 0;`

### UPDATE

    Value: 1

Dataset was changed using the datasets.update or datasets.patch API.

Generated from protobuf enum `UPDATE = 1;`

### SET_IAM_POLICY

    Value: 2

Dataset was changed using the SetIamPolicy API.

Generated from protobuf enum `SET_IAM_POLICY = 2;`

### QUERY

    Value: 3

Dataset was changed using a query job, e.g., ALTER SCHEMA statement.

Generated from protobuf enum `QUERY = 3;`