[−][src]Struct google_bigqueryreservation1::CapacityCommitment
Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes.
In order to remove annual commitment, its plan needs to be changed to monthly or flex first.
A capacity commitment resource exists as a child resource of the admin project.
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).
- locations capacity commitments merge projects (response)
- locations capacity commitments create projects (request|response)
- locations capacity commitments patch projects (request|response)
- locations capacity commitments get projects (response)
Fields
name: Option<String>
Output only. The resource name of the capacity commitment, e.g.,
projects/myproject/locations/US/capacityCommitments/123
commitment_start_time: Option<String>
Output only. The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
commitment_end_time: Option<String>
Output only. The end of the current commitment period. It is applicable only for ACTIVE capacity commitments.
state: Option<String>
Output only. State of the commitment.
plan: Option<String>
Capacity commitment commitment plan.
slot_count: Option<String>
Number of slots in this commitment.
failure_status: Option<Status>
Output only. For FAILED commitment plan, provides the reason of failure.
renewal_plan: Option<String>
The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.
Trait Implementations
impl Clone for CapacityCommitment
[src]
fn clone(&self) -> CapacityCommitment
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CapacityCommitment
[src]
impl Default for CapacityCommitment
[src]
fn default() -> CapacityCommitment
[src]
impl<'de> Deserialize<'de> for CapacityCommitment
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for CapacityCommitment
[src]
impl ResponseResult for CapacityCommitment
[src]
impl Serialize for CapacityCommitment
[src]
Auto Trait Implementations
impl RefUnwindSafe for CapacityCommitment
impl Send for CapacityCommitment
impl Sync for CapacityCommitment
impl Unpin for CapacityCommitment
impl UnwindSafe for CapacityCommitment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,