# BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::BiReservation (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.2 Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::BiReservation.

Represents a BI Reservation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.
**Returns**

- (::String) --- Identifier. The resource name of the singleton BI reservation. Reservation names have the form `projects/{project_id}/locations/{location_id}/biReservation`.

### #preferred_tables

    def preferred_tables() -> ::Array<::Google::Cloud::Bigquery::Reservation::V1::TableReference>

**Returns**

- (::Array\<[::Google::Cloud::Bigquery::Reservation::V1::TableReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-TableReference)\>) --- Optional. Preferred tables to use BI capacity for.

### #preferred_tables=

    def preferred_tables=(value) -> ::Array<::Google::Cloud::Bigquery::Reservation::V1::TableReference>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Bigquery::Reservation::V1::TableReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-TableReference)\>) --- Optional. Preferred tables to use BI capacity for.
**Returns**

- (::Array\<[::Google::Cloud::Bigquery::Reservation::V1::TableReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-TableReference)\>) --- Optional. Preferred tables to use BI capacity for.

### #size

    def size() -> ::Integer

**Returns**

- (::Integer) --- Optional. Size of a reservation, in bytes.

### #size=

    def size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Size of a reservation, in bytes.
**Returns**

- (::Integer) --- Optional. Size of a reservation, in bytes.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The last update timestamp of a reservation.