# 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 read.

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

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata \\ TableDataRead

## 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 source table during a BigQuery job.

Generated from protobuf enum `JOB = 1;`

### TABLEDATA_LIST_REQUEST

    Value: 2

Table data was accessed using the tabledata.list API.

Generated from protobuf enum `TABLEDATA_LIST_REQUEST = 2;`

### GET_QUERY_RESULTS_REQUEST

    Value: 3

Table data was accessed using the jobs.getQueryResults API.

Generated from protobuf enum `GET_QUERY_RESULTS_REQUEST = 3;`

### QUERY_REQUEST

    Value: 4

Table data was accessed using the jobs.query RPC.

Generated from protobuf enum `QUERY_REQUEST = 4;`

### CREATE_READ_SESSION

    Value: 5

Table data was accessed using storage.CreateReadSession API.

Generated from protobuf enum `CREATE_READ_SESSION = 5;`

### MATERIALIZED_VIEW_REFRESH

    Value: 6

Table data was accessed during a materialized view refresh.

Generated from protobuf enum `MATERIALIZED_VIEW_REFRESH = 6;`