Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance.
Compliance data for an OS policy resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config_steps
def config_steps() -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep>
Returns
- (::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep>) — Ordered list of configuration steps taken by the agent for the OS policy resource.
#config_steps=
def config_steps=(value) -> ::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep>
Parameter
- value (::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep>) — Ordered list of configuration steps taken by the agent for the OS policy resource.
Returns
- (::Array<::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep>) — Ordered list of configuration steps taken by the agent for the OS policy resource.
#exec_resource_output
def exec_resource_output() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance::ExecResourceOutput
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance::ExecResourceOutput) — ExecResource specific output.
#exec_resource_output=
def exec_resource_output=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance::ExecResourceOutput
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance::ExecResourceOutput) — ExecResource specific output.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceCompliance::ExecResourceOutput) — ExecResource specific output.
#os_policy_resource_id
def os_policy_resource_id() -> ::String
Returns
- (::String) — The id of the OS policy resource.
#os_policy_resource_id=
def os_policy_resource_id=(value) -> ::String
Parameter
- value (::String) — The id of the OS policy resource.
Returns
- (::String) — The id of the OS policy resource.
#state
def state() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState) — Compliance state of the OS policy resource.
#state=
def state=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState) — Compliance state of the OS policy resource.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicyComplianceState) — Compliance state of the OS policy resource.