class Google::Apis::OsconfigV1alpha::OsPolicyResourceCompliance
Compliance data for an OS policy resource.
Attributes
config_steps[RW]
Ordered list of configuration steps taken by the agent for the OS policy resource. Corresponds to the JSON property `configSteps` @return [Array<Google::Apis::OsconfigV1alpha::OsPolicyResourceConfigStep>]
exec_resource_output[RW]
ExecResource specific output. Corresponds to the JSON property `execResourceOutput` @return [Google::Apis::OsconfigV1alpha::OsPolicyResourceComplianceExecResourceOutput]
os_policy_resource_id[RW]
The id of the OS policy resource. Corresponds to the JSON property `osPolicyResourceId` @return [String]
state[RW]
Compliance state of the OS policy resource. Corresponds to the JSON property `state` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 1460 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 1465 def update!(**args) @config_steps = args[:config_steps] if args.key?(:config_steps) @exec_resource_output = args[:exec_resource_output] if args.key?(:exec_resource_output) @os_policy_resource_id = args[:os_policy_resource_id] if args.key?(:os_policy_resource_id) @state = args[:state] if args.key?(:state) end