google_api_compute v0.11.0 GoogleApi.Compute.V1.Model.Rule View Source
A rule to be applied in a Policy.
Attributes
action
(type:String.t
, default:nil
) - Requiredconditions
(type:list(GoogleApi.Compute.V1.Model.Condition.t)
, default:nil
) - Additional restrictions that must be met. All conditions must pass for the rule to match.description
(type:String.t
, default:nil
) - Human-readable description of the rule.ins
(type:list(String.t)
, default:nil
) - If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.logConfigs
(type:list(GoogleApi.Compute.V1.Model.LogConfig.t)
, default:nil
) - The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.notIns
(type:list(String.t)
, default:nil
) - If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.permissions
(type:list(String.t)
, default:nil
) - 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Compute.V1.Model.Rule{ action: String.t(), conditions: [GoogleApi.Compute.V1.Model.Condition.t()], description: String.t(), ins: [String.t()], logConfigs: [GoogleApi.Compute.V1.Model.LogConfig.t()], notIns: [String.t()], permissions: [String.t()] }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.