Struct google_iam1::api::CreateServiceAccountRequest
source · pub struct CreateServiceAccountRequest {
pub account_id: Option<String>,
pub service_account: Option<ServiceAccount>,
}
Expand description
The service account create request.
§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).
- service accounts create projects (request)
Fields§
§account_id: Option<String>
Required. The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])
to comply with RFC1035.
service_account: Option<ServiceAccount>
The ServiceAccount resource to create. Currently, only the following values are user assignable: display_name
and description
.
Trait Implementations§
source§impl Clone for CreateServiceAccountRequest
impl Clone for CreateServiceAccountRequest
source§fn clone(&self) -> CreateServiceAccountRequest
fn clone(&self) -> CreateServiceAccountRequest
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 CreateServiceAccountRequest
impl Debug for CreateServiceAccountRequest
source§impl Default for CreateServiceAccountRequest
impl Default for CreateServiceAccountRequest
source§fn default() -> CreateServiceAccountRequest
fn default() -> CreateServiceAccountRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateServiceAccountRequest
impl<'de> Deserialize<'de> for CreateServiceAccountRequest
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
impl RequestValue for CreateServiceAccountRequest
Auto Trait Implementations§
impl RefUnwindSafe for CreateServiceAccountRequest
impl Send for CreateServiceAccountRequest
impl Sync for CreateServiceAccountRequest
impl Unpin for CreateServiceAccountRequest
impl UnwindSafe for CreateServiceAccountRequest
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