Google Cloud OsConfig V1 Client - Class ExecStep (1.0.5)

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

A step that runs an executable for a PatchJob.

Generated from protobuf message google.cloud.osconfig.v1.ExecStep

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ linux_exec_step_config Google\Cloud\OsConfig\V1\ExecStepConfig

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

↳ windows_exec_step_config Google\Cloud\OsConfig\V1\ExecStepConfig

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

getLinuxExecStepConfig

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\ExecStepConfig|null

hasLinuxExecStepConfig

clearLinuxExecStepConfig

setLinuxExecStepConfig

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\ExecStepConfig
Returns
TypeDescription
$this

getWindowsExecStepConfig

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\ExecStepConfig|null

hasWindowsExecStepConfig

clearWindowsExecStepConfig

setWindowsExecStepConfig

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

Parameter
NameDescription
var Google\Cloud\OsConfig\V1\ExecStepConfig
Returns
TypeDescription
$this