Google Cloud OsConfig V1 Client - Class ExecStep (1.3.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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\OsConfig\V1\ExecStepConfig|null

hasLinuxExecStepConfig

clearLinuxExecStepConfig

setLinuxExecStepConfig

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

Parameter
Name Description
var Google\Cloud\OsConfig\V1\ExecStepConfig
Returns
Type Description
$this

getWindowsExecStepConfig

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

Returns
Type Description
Google\Cloud\OsConfig\V1\ExecStepConfig|null

hasWindowsExecStepConfig

clearWindowsExecStepConfig

setWindowsExecStepConfig

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

Parameter
Name Description
var Google\Cloud\OsConfig\V1\ExecStepConfig
Returns
Type Description
$this