Compliance data for an OS policy
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#os_policy_assignment
def os_policy_assignment() -> ::String
Returns
-
(::String) — Reference to the
OSPolicyAssignment
API resource that theOSPolicy
belongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
#os_policy_assignment=
def os_policy_assignment=(value) -> ::String
Parameter
-
value (::String) — Reference to the
OSPolicyAssignment
API resource that theOSPolicy
belongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
Returns
-
(::String) — Reference to the
OSPolicyAssignment
API resource that theOSPolicy
belongs to.Format:
projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}
#os_policy_id
def os_policy_id() -> ::String
Returns
- (::String) — The OS policy id
#os_policy_id=
def os_policy_id=(value) -> ::String
Parameter
- value (::String) — The OS policy id
Returns
- (::String) — The OS policy id
#os_policy_resource_compliances
def os_policy_resource_compliances() -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance>
Returns
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance>) — Compliance data for each
OSPolicyResource
that is applied to the VM.
#os_policy_resource_compliances=
def os_policy_resource_compliances=(value) -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance>
Parameter
-
value (::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance>) — Compliance data for each
OSPolicyResource
that is applied to the VM.
Returns
-
(::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance>) — Compliance data for each
OSPolicyResource
that is applied to the VM.
#state
def state() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState) — Compliance state of the OS policy.
#state=
def state=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState) — Compliance state of the OS policy.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState) — Compliance state of the OS policy.