Struct google_bigqueryreservation1::api::Assignment
source · pub struct Assignment {
pub assignee: Option<String>,
pub job_type: Option<String>,
pub name: Option<String>,
pub state: Option<String>,
}
Expand description
An assignment allows a project to submit jobs of a certain type using slots from the specified reservation.
§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 reservations assignments create projects (request|response)
- locations reservations assignments move projects (response)
- locations reservations assignments patch projects (request|response)
Fields§
§assignee: Option<String>
The resource which will use the reservation. E.g. projects/myproject
, folders/123
, or organizations/456
.
job_type: Option<String>
Which type of jobs will use the reservation.
name: Option<String>
Output only. Name of the resource. E.g.: projects/myproject/locations/US/reservations/team1-prod/assignments/123
. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.
state: Option<String>
Output only. State of the assignment.
Trait Implementations§
source§impl Clone for Assignment
impl Clone for Assignment
source§fn clone(&self) -> Assignment
fn clone(&self) -> Assignment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Assignment
impl Debug for Assignment
source§impl Default for Assignment
impl Default for Assignment
source§fn default() -> Assignment
fn default() -> Assignment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Assignment
impl<'de> Deserialize<'de> for Assignment
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Assignment
impl Serialize for Assignment
impl RequestValue for Assignment
impl ResponseResult for Assignment
Auto Trait Implementations§
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnwindSafe for Assignment
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more