Class: Google::Apis::OsconfigV1alpha::OsPolicyResourceCompliance
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1alpha::OsPolicyResourceCompliance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1alpha/classes.rb,
lib/google/apis/osconfig_v1alpha/representations.rb,
lib/google/apis/osconfig_v1alpha/representations.rb
Overview
Compliance data for an OS policy resource.
Instance Attribute Summary collapse
-
#config_steps ⇒ Array<Google::Apis::OsconfigV1alpha::OsPolicyResourceConfigStep>
Ordered list of configuration steps taken by the agent for the OS policy resource.
-
#exec_resource_output ⇒ Google::Apis::OsconfigV1alpha::OsPolicyResourceComplianceExecResourceOutput
ExecResource specific output.
-
#os_policy_resource_id ⇒ String
The id of the OS policy resource.
-
#state ⇒ String
Compliance state of the OS policy resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OsPolicyResourceCompliance
constructor
A new instance of OsPolicyResourceCompliance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OsPolicyResourceCompliance
Returns a new instance of OsPolicyResourceCompliance.
1286 1287 1288 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1286 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config_steps ⇒ Array<Google::Apis::OsconfigV1alpha::OsPolicyResourceConfigStep>
Ordered list of configuration steps taken by the agent for the OS policy
resource.
Corresponds to the JSON property configSteps
1269 1270 1271 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1269 def config_steps @config_steps end |
#exec_resource_output ⇒ Google::Apis::OsconfigV1alpha::OsPolicyResourceComplianceExecResourceOutput
ExecResource specific output.
Corresponds to the JSON property execResourceOutput
1274 1275 1276 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1274 def exec_resource_output @exec_resource_output end |
#os_policy_resource_id ⇒ String
The id of the OS policy resource.
Corresponds to the JSON property osPolicyResourceId
1279 1280 1281 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1279 def os_policy_resource_id @os_policy_resource_id end |
#state ⇒ String
Compliance state of the OS policy resource.
Corresponds to the JSON property state
1284 1285 1286 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1284 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1291 1292 1293 1294 1295 1296 |
# File 'lib/google/apis/osconfig_v1alpha/classes.rb', line 1291 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 |