Google Cloud OsConfig V1 Client - Class ExecStep (1.1.1)

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
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