Class OSPolicyAssignmentReport
A report of the OS policy assignment status for a given instance.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1alpha.Data
Assembly: Google.Apis.OSConfig.v1alpha.dll
Syntax
public class OSPolicyAssignmentReport : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Instance
The Compute Engine VM instance name.
Declaration
[JsonProperty("instance")]
public virtual string Instance { get; set; }
Property Value
Type | Description |
---|---|
string |
LastRunId
Unique identifier of the last attempted run to apply the OS policies associated with this assignment on the VM. This ID is logged by the OS Config agent while applying the OS policies associated with this assignment on the VM. NOTE: If the service is unable to successfully connect to the agent for this run, then this id will not be available in the agent logs.
Declaration
[JsonProperty("lastRunId")]
public virtual string LastRunId { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The OSPolicyAssignmentReport
API resource name. Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/osPolicyAssignments/{os_policy_assignment_id}/report
Declaration
[JsonProperty("name")]
public virtual string Name { 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 |
OsPolicyCompliances
Compliance data for each OSPolicy
that is applied to the VM.
Declaration
[JsonProperty("osPolicyCompliances")]
public virtual IList<OSPolicyAssignmentReportOSPolicyCompliance> OsPolicyCompliances { get; set; }
Property Value
Type | Description |
---|---|
IList<OSPolicyAssignmentReportOSPolicyCompliance> |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Timestamp for when the report was last generated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |