Class OSPolicyResourceConfigStep (1.16.0)

OSPolicyResourceConfigStep(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
type_ google.cloud.osconfig_v1.types.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep.Type
Configuration step type.
error_message str
An error message recorded during the execution of this step. Only populated if errors were encountered during this step execution.

Classes

Type

Type(value)

Supported configuration step types

Values: TYPE_UNSPECIFIED (0): Default value. This value is unused. VALIDATION (1): Checks for resource conflicts such as schema errors. DESIRED_STATE_CHECK (2): Checks the current status of the desired state for a resource. DESIRED_STATE_ENFORCEMENT (3): Enforces the desired state for a resource that is not in desired state. DESIRED_STATE_CHECK_POST_ENFORCEMENT (4): 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.