[][src]Struct google_bigqueryreservation1::Reservation

pub struct Reservation {
    pub ignore_idle_slots: Option<bool>,
    pub slot_capacity: Option<String>,
    pub name: Option<String>,
}

A reservation is a mechanism used to guarantee slots to users.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

ignore_idle_slots: Option<bool>

If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

slot_capacity: Option<String>

Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism.

Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false.

If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with google.rpc.Code.RESOURCE_EXHAUSTED.

name: Option<String>

The resource name of the reservation, e.g., projects/*/locations/*/reservations/team1-prod.

Trait Implementations

impl Clone for Reservation[src]

impl Debug for Reservation[src]

impl Default for Reservation[src]

impl<'de> Deserialize<'de> for Reservation[src]

impl RequestValue for Reservation[src]

impl ResponseResult for Reservation[src]

impl Serialize for Reservation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any