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