GoogleCloudSecuritypostureV1PolicyRuleStringValues class
The allowed and denied values for a list constraint.
For all constraints, these fields can contain literal values. Optionally,
you can add the is: prefix to these values. If the value contains a colon
(:), then the is: prefix is required. Some constraints allow you to
specify a portion of the resource hierarchy, known as a
hierarchy subtree,
that the constraint applies to. To specify a hierarchy subtree, use the
under: prefix, followed by a value with one of these formats: -
projects/{project_id} (for example, projects/tokyo-rain-123) -
folders/{folder_id} (for example, folders/1234567890123) -
organizations/{organization_id} (for example,
organizations/123456789012) A constraint's supports_under field
indicates whether you can specify a hierarchy subtree. To learn which
predefined constraints let you specify a hierarchy subtree, see the
constraints reference.
Constructors
-
GoogleCloudSecuritypostureV1PolicyRuleStringValues({List<
String> ? allowedValues, List<String> ? deniedValues}) - GoogleCloudSecuritypostureV1PolicyRuleStringValues.fromJson(Map json_)
Properties
-
allowedValues
↔ List<
String> ? -
The allowed values for the constraint.
getter/setter pair
-
deniedValues
↔ List<
String> ? -
The denied values for the constraint.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited