Google Cloud OsConfig V1 Client - Class OSPolicyResourceConfigStep (1.1.1)

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
NameDescription
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
TypeDescription
int

setType

Configuration step type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getErrorMessage

An error message recorded during the execution of this step.

Only populated if errors were encountered during this step execution.

Returns
TypeDescription
string

setErrorMessage

An error message recorded during the execution of this step.

Only populated if errors were encountered during this step execution.

Parameter
NameDescription
var string
Returns
TypeDescription
$this