Google Cloud OsConfig V1 Client - Class ExecStep (2.0.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
Name Description
data array

Optional. Data for populating the Message object.

↳ linux_exec_step_config ExecStepConfig

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

↳ windows_exec_step_config 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
ExecStepConfig|null

hasLinuxExecStepConfig

clearLinuxExecStepConfig

setLinuxExecStepConfig

The ExecStepConfig for all Linux VMs targeted by the PatchJob.

Parameter
Name Description
var ExecStepConfig
Returns
Type Description
$this

getWindowsExecStepConfig

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

Returns
Type Description
ExecStepConfig|null

hasWindowsExecStepConfig

clearWindowsExecStepConfig

setWindowsExecStepConfig

The ExecStepConfig for all Windows VMs targeted by the PatchJob.

Parameter
Name Description
var ExecStepConfig
Returns
Type Description
$this