Google Cloud OsConfig V1 Client - Class OSPolicyResourceConfigStep (1.3.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class OSPolicyResourceConfigStep.

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

Generated from protobuf message google.cloud.osconfig.v1.OSPolicyAssignmentReport.OSPolicyCompliance.OSPolicyResourceCompliance.OSPolicyResourceConfigStep

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicyAssignmentReport \ OSPolicyCompliance \ OSPolicyResourceCompliance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Configuration step type.

↳ error_message string

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

getType

Configuration step type.

Returns
Type Description
int

setType

Configuration step type.

Parameter
Name Description
var int
Returns
Type Description
$this

getErrorMessage

An error message recorded during the execution of this step.

Only populated if errors were encountered during this step execution.

Returns
Type Description
string

setErrorMessage

An error message recorded during the execution of this step.

Only populated if errors were encountered during this step execution.

Parameter
Name Description
var string
Returns
Type Description
$this