GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues class
A message that holds specific allowed and denied values. This message can define specific values and subtrees of the Resource Manager resource hierarchy (Organizations, Folders, Projects) that are allowed or denied. This is achieved by using the under: and optional is: prefixes. The under: prefix is used to denote resource subtree values. The is: prefix is used to denote specific values, and is required only if the value contains a ":". Values prefixed with "is:" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - projects/ (for example, projects/tokyo-rain-123) - folders/ (for example, folders/1234) - organizations/ (for example, organizations/1234) The supports_under field of the associated Constraint defines whether ancestry prefixes can be used.
Constructors
-
GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues({Input<
List< ? allowedValues, Input<String> >List< ? deniedValues})String> > -
Creates a new GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues.
allowedValuesList of values allowed at this resource.deniedValuesList of values denied at this resource.const -
GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowedValues
→ Input<
List< ?String> > -
List of values allowed at this resource.
final
-
deniedValues
→ Input<
List< ?String> > -
List of values denied at this resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited