InstanceOSPoliciesCompliance class

This API resource represents the OS policies compliance data for a Compute Engine virtual machine (VM) instance at a given point in time.

A Compute Engine VM can have multiple OS policy assignments, and each assignment can have multiple OS policies. As a result, multiple OS policies could be applied to a single VM. You can use this API resource to determine both the compliance state of your VM as well as the compliance state of an individual OS policy. For more information, see View compliance.

Constructors

InstanceOSPoliciesCompliance({String? detailedState, String? detailedStateReason, String? instance, String? lastComplianceCheckTime, String? lastComplianceRunId, String? name, List<InstanceOSPoliciesComplianceOSPolicyCompliance>? osPolicyCompliances, String? state})
InstanceOSPoliciesCompliance.fromJson(Map _json)

Properties

detailedState String?
Detailed compliance state of the VM.
getter/setter pair
detailedStateReason String?
The reason for the detailed_state of the VM (if any).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
instance String?
The Compute Engine VM instance name.
getter/setter pair
lastComplianceCheckTime String?
Timestamp of the last compliance check for the VM.
getter/setter pair
lastComplianceRunId String?
Unique identifier for the last compliance run.
getter/setter pair
name String?
The InstanceOSPoliciesCompliance API resource name.
getter/setter pair
osPolicyCompliances List<InstanceOSPoliciesComplianceOSPolicyCompliance>?
Compliance data for each OSPolicy that is applied to the VM.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
Compliance state of the VM.
getter/setter pair

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