# 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 table data was changed.

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

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata \\ TableDataChange

## 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;`

### JOB

    Value: 1

Table was used as a job destination table.

Generated from protobuf enum `JOB = 1;`

### QUERY

    Value: 2

Table data was updated using a DML or DDL query.

Generated from protobuf enum `QUERY = 2;`

### MATERIALIZED_VIEW_REFRESH

    Value: 3

Table data was updated during a materialized view refresh.

Generated from protobuf enum `MATERIALIZED_VIEW_REFRESH = 3;`

### WRITE_API

    Value: 4

Table data was added using the Write API.

Generated from protobuf enum `WRITE_API = 4;`