2.11.0 (latest) 2.10.3 2.7.0 2.6.2 2.5.0 2.4.0 2.3.0 2.2.1 2.1.2 2.0.2 1.3.5 1.2.3 1.1.2 1.0.3 Reference documentation and code samples for the Google BigQuery Reservation V1 Client class SchedulingPolicy.

The scheduling policy controls how a reservation's resources are distributed.

Generated from protobuf message `google.cloud.bigquery.reservation.v1.SchedulingPolicy`

## Namespace

Google \\ Cloud \\ BigQuery \\ Reservation \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ concurrency` | `int|string` Optional. If present and \> 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value. This feature is not yet generally available. |
| `↳ max_slots` | `int|string` Optional. If present and \> 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value. This feature is not yet generally available. |

### getConcurrency

Optional. If present and \> 0, the reservation will attempt to limit the
concurrency of jobs running for any particular project within it to the
given value.

This feature is not yet generally available.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasConcurrency

### clearConcurrency

### setConcurrency

Optional. If present and \> 0, the reservation will attempt to limit the
concurrency of jobs running for any particular project within it to the
given value.

This feature is not yet generally available.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMaxSlots

Optional. If present and \> 0, the reservation will attempt to limit the
slot consumption of queries running for any particular project within it to
the given value.

This feature is not yet generally available.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasMaxSlots

### clearMaxSlots

### setMaxSlots

Optional. If present and \> 0, the reservation will attempt to limit the
slot consumption of queries running for any particular project within it to
the given value.

This feature is not yet generally available.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |