Rule(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A rule to be applied in a Policy. .. attribute:: action
Required
Attributes
Name | Description |
conditions |
Sequence[google.cloud.compute_v1.types.Condition]
Additional restrictions that must be met. All conditions must pass for the rule to match. |
description |
str
Human-readable description of the rule. |
ins |
Sequence[str]
If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. |
log_configs |
Sequence[google.cloud.compute_v1.types.LogConfig]
The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action. |
not_ins |
Sequence[str]
If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. |
permissions |
Sequence[str]
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. |
Classes
Action
Action(value)
Required