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
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 Clone for Rule
[src]
fn clone(&self) -> Rule
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more