Struct google_deploymentmanager2::Rule [−][src]
pub struct Rule { pub description: Option<String>, pub not_ins: Option<Vec<String>>, pub action: Option<String>, pub permissions: Option<Vec<String>>, pub ins: Option<Vec<String>>, pub conditions: Option<Vec<Condition>>, pub log_configs: Option<Vec<LogConfig>>, }
A rule to be applied in a Policy.
This type is not used in any activity, and only used as part of another schema.
Fields
description: Option<String>
Human-readable description of the rule.
not_ins: Option<Vec<String>>
If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
action: Option<String>
Required
permissions: Option<Vec<String>>
A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '' matches all permissions, and a verb part of '' (e.g., 'storage.buckets.*') matches all verbs.
ins: Option<Vec<String>>
If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
conditions: Option<Vec<Condition>>
Additional restrictions that must be met. All conditions must pass for the rule to match.
log_configs: Option<Vec<LogConfig>>
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
Trait Implementations
impl Default for Rule
[src]
impl Default for Rule
impl Clone for Rule
[src]
impl Clone for Rule
fn clone(&self) -> Rule
[src]
fn clone(&self) -> Rule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Rule
[src]
impl Debug for Rule
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Rule
[src]
impl Part for Rule