Class GoogleCloudSecuritypostureV1PolicyRuleStringValues
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.
Implements
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1.Data
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class GoogleCloudSecuritypostureV1PolicyRuleStringValues : IDirectResponseSchema
Properties
AllowedValues
The allowed values for the constraint.
Declaration
[JsonProperty("allowedValues")]
public virtual IList<string> AllowedValues { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
DeniedValues
The denied values for the constraint.
Declaration
[JsonProperty("deniedValues")]
public virtual IList<string> DeniedValues { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |