[Obsolete]
public sealed class InstanceOSPoliciesCompliance.Types.OSPolicyCompliance : IMessage<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IEquatable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IDeepCloneable<InstanceOSPoliciesCompliance.Types.OSPolicyCompliance>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Config v1alpha API class InstanceOSPoliciesCompliance.Types.OSPolicyCompliance.
Compliance data for an OS policy
Implements
IMessageInstanceOSPoliciesComplianceTypesOSPolicyCompliance, IEquatableInstanceOSPoliciesComplianceTypesOSPolicyCompliance, IDeepCloneableInstanceOSPoliciesComplianceTypesOSPolicyCompliance, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1AlphaAssembly
Google.Cloud.OsConfig.V1Alpha.dll
Constructors
OSPolicyCompliance()
public OSPolicyCompliance()
OSPolicyCompliance(OSPolicyCompliance)
public OSPolicyCompliance(InstanceOSPoliciesCompliance.Types.OSPolicyCompliance other)
Parameter | |
---|---|
Name | Description |
other |
InstanceOSPoliciesComplianceTypesOSPolicyCompliance |
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 |
OsPolicyAssignmentAsOSPolicyAssignmentName
[Obsolete]
public OSPolicyAssignmentName OsPolicyAssignmentAsOSPolicyAssignmentName { get; set; }
OSPolicyAssignmentName-typed view over the OsPolicyAssignment resource name property.
Property Value | |
---|---|
Type | Description |
OSPolicyAssignmentName |
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 |
RepeatedFieldOSPolicyResourceCompliance |
State
public OSPolicyComplianceState State { get; set; }
Compliance state of the OS policy.
Property Value | |
---|---|
Type | Description |
OSPolicyComplianceState |