Class: Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance::OSPolicyResourceCompliance::OSPolicyResourceConfigStep

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.rb

Overview

Step performed by the OS Config agent for configuring an OSPolicy resource to its desired state.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#error_message::String

Returns An error message recorded during the execution of this step. Only populated if errors were encountered during this step execution.

Returns:

  • (::String)

    An error message recorded during the execution of this step. Only populated if errors were encountered during this step execution.



212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.rb', line 212

class OSPolicyResourceConfigStep
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported configuration step types
  module Type
    # Default value. This value is unused.
    TYPE_UNSPECIFIED = 0

    # Checks for resource conflicts such as schema errors.
    VALIDATION = 1

    # Checks the current status of the desired state for a resource.
    DESIRED_STATE_CHECK = 2

    # Enforces the desired state for a resource that is not in desired
    # state.
    DESIRED_STATE_ENFORCEMENT = 3

    # Re-checks the status of the desired state. This check is done
    # for a resource after the enforcement of all OS policies.
    #
    # This step is used to determine the final desired state status for
    # the resource. It accounts for any resources that might have drifted
    # from their desired state due to side effects from executing other
    # resources.
    DESIRED_STATE_CHECK_POST_ENFORCEMENT = 4
  end
end

#type::Google::Cloud::OsConfig::V1alpha::OSPolicyAssignmentReport::OSPolicyCompliance::OSPolicyResourceCompliance::OSPolicyResourceConfigStep::Type

Returns Configuration step type.



212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.rb', line 212

class OSPolicyResourceConfigStep
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported configuration step types
  module Type
    # Default value. This value is unused.
    TYPE_UNSPECIFIED = 0

    # Checks for resource conflicts such as schema errors.
    VALIDATION = 1

    # Checks the current status of the desired state for a resource.
    DESIRED_STATE_CHECK = 2

    # Enforces the desired state for a resource that is not in desired
    # state.
    DESIRED_STATE_ENFORCEMENT = 3

    # Re-checks the status of the desired state. This check is done
    # for a resource after the enforcement of all OS policies.
    #
    # This step is used to determine the final desired state status for
    # the resource. It accounts for any resources that might have drifted
    # from their desired state due to side effects from executing other
    # resources.
    DESIRED_STATE_CHECK_POST_ENFORCEMENT = 4
  end
end