# 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 job was inserted.

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

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata \\ JobInsertion

## 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_INSERT_REQUEST

    Value: 1

Job was inserted using the jobs.insert API.

Generated from protobuf enum `JOB_INSERT_REQUEST = 1;`

### QUERY_REQUEST

    Value: 2

Job was inserted using the jobs.query RPC.

Generated from protobuf enum `QUERY_REQUEST = 2;`