#[non_exhaustive]pub struct AccessGroupConfig {
pub iam_roles: Vec<String>,
/* private fields */
}Expand description
Configuration for access group inherited from the parent data product.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.iam_roles: Vec<String>Optional. IAM roles granted on the resource to this access group. Role name follows https://cloud.google.com/iam/docs/reference/rest/v1/roles.
Example: [ "roles/bigquery.dataViewer" ]
Implementations§
Source§impl AccessGroupConfig
impl AccessGroupConfig
pub fn new() -> Self
Sourcepub fn set_iam_roles<T, V>(self, v: T) -> Self
pub fn set_iam_roles<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for AccessGroupConfig
impl Clone for AccessGroupConfig
Source§fn clone(&self) -> AccessGroupConfig
fn clone(&self) -> AccessGroupConfig
Returns a duplicate 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 AccessGroupConfig
impl Debug for AccessGroupConfig
Source§impl Default for AccessGroupConfig
impl Default for AccessGroupConfig
Source§fn default() -> AccessGroupConfig
fn default() -> AccessGroupConfig
Returns the “default value” for a type. Read more
Source§impl Message for AccessGroupConfig
impl Message for AccessGroupConfig
Source§impl PartialEq for AccessGroupConfig
impl PartialEq for AccessGroupConfig
impl StructuralPartialEq for AccessGroupConfig
Auto Trait Implementations§
impl Freeze for AccessGroupConfig
impl RefUnwindSafe for AccessGroupConfig
impl Send for AccessGroupConfig
impl Sync for AccessGroupConfig
impl Unpin for AccessGroupConfig
impl UnsafeUnpin for AccessGroupConfig
impl UnwindSafe for AccessGroupConfig
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