[Obsolete]
public sealed class OSPolicyCompliance : IMessage<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IEquatable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IDeepCloneable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IBufferMessage, IMessage
Compliance data for an OS policy
Implements
IMessage<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IEquatable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IDeepCloneable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1AlphaAssembly
Google.Cloud.OsConfig.V1Alpha.dll
Constructors
OSPolicyCompliance()
public OSPolicyCompliance()
OSPolicyCompliance(InstanceOSPoliciesCompliance.Types.OSPolicyCompliance)
public OSPolicyCompliance(InstanceOSPoliciesCompliance.Types.OSPolicyCompliance other)
Parameter | |
---|---|
Name | Description |
other | InstanceOSPoliciesCompliance.Types.OSPolicyCompliance |
Properties
OsPolicyAssignment
public string OsPolicyAssignment { get; set; }
Reference to the OSPolicyAssignment
API resource that the OSPolicy
belongs to.
Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
Property Value | |
---|---|
Type | Description |
String |
OsPolicyId
public string OsPolicyId { get; set; }
The OS policy id
Property Value | |
---|---|
Type | Description |
String |
OsPolicyResourceCompliances
[Obsolete]
public RepeatedField<OSPolicyResourceCompliance> OsPolicyResourceCompliances { get; }
Compliance data for each OSPolicyResource
that is applied to the
VM.
Property Value | |
---|---|
Type | Description |
RepeatedField<OSPolicyResourceCompliance> |
State
public OSPolicyComplianceState State { get; set; }
Compliance state of the OS policy.
Property Value | |
---|---|
Type | Description |
OSPolicyComplianceState |