Class InstanceOSPoliciesComplianceOSPolicyCompliance
Compliance data for an OS policy
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1alpha.Data
Assembly: Google.Apis.OSConfig.v1alpha.dll
Syntax
public class InstanceOSPoliciesComplianceOSPolicyCompliance : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
OsPolicyAssignment
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to. Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
Declaration
[JsonProperty("osPolicyAssignment")]
public virtual string OsPolicyAssignment { get; set; }
Property Value
Type | Description |
---|---|
string |
OsPolicyId
The OS policy id
Declaration
[JsonProperty("osPolicyId")]
public virtual string OsPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string |
OsPolicyResourceCompliances
Compliance data for each OSPolicyResource
that is applied to the VM.
Declaration
[JsonProperty("osPolicyResourceCompliances")]
public virtual IList<OSPolicyResourceCompliance> OsPolicyResourceCompliances { get; set; }
Property Value
Type | Description |
---|---|
IList<OSPolicyResourceCompliance> |
State
Compliance state of the OS policy.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |