Struct google_connectors1::api::RoleGrant
source · pub struct RoleGrant {
pub helper_text_template: Option<String>,
pub principal: Option<String>,
pub resource: Option<Resource>,
pub roles: Option<Vec<String>>,
}
Expand description
This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account. These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a ‘grant’ button to do the same on behalf of the user.
This type is not used in any activity, and only used as part of another schema.
Fields§
§helper_text_template: Option<String>
Template that UI can use to provide helper text to customers.
principal: Option<String>
Prinicipal/Identity for whom the role need to assigned.
resource: Option<Resource>
Resource on which the roles needs to be granted for the principal.
roles: Option<Vec<String>>
List of roles that need to be granted.
Trait Implementations§
source§impl<'de> Deserialize<'de> for RoleGrant
impl<'de> Deserialize<'de> for RoleGrant
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 Part for RoleGrant
Auto Trait Implementations§
impl RefUnwindSafe for RoleGrant
impl Send for RoleGrant
impl Sync for RoleGrant
impl Unpin for RoleGrant
impl UnwindSafe for RoleGrant
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