Class Policy
The details of a policy, including the constraints that it includes.
Implements
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1.Data
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class Policy : IDirectResponseSchema
Properties
ComplianceStandards
Optional. The compliance standards that the policy helps enforce.
Declaration
[JsonProperty("complianceStandards")]
public virtual IList<ComplianceStandard> ComplianceStandards { get; set; }
Property Value
Type | Description |
---|---|
IList<ComplianceStandard> |
Constraint
Required. The constraints that the policy includes.
Declaration
[JsonProperty("constraint")]
public virtual Constraint Constraint { get; set; }
Property Value
Type | Description |
---|---|
Constraint |
Description
Optional. A description of the policy.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PolicyId
Required. A user-specified identifier for the policy. In a PolicySet, each policy must have a unique identifier.
Declaration
[JsonProperty("policyId")]
public virtual string PolicyId { get; set; }
Property Value
Type | Description |
---|---|
string |