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

Human-readable description of the rule.

If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.

Required

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.

If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.

Additional restrictions that must be met

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]

[src]

Returns the "default value" for a type. Read more

impl Clone for Rule
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Rule
[src]

[src]

Formats the value using the given formatter.

impl Part for Rule
[src]