Google Cloud Workload Manager V1 Client - Class AgentCommand (0.1.0)

Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class AgentCommand.

An AgentCommand specifies a one-time executable program for the agent to run.

Generated from protobuf message google.cloud.workloadmanager.v1.AgentCommand

Namespace

Google \ Cloud \ WorkloadManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ command string

The name of the agent one-time executable that will be invoked.

↳ parameters array|Google\Protobuf\Internal\MapField

A map of key/value pairs that can be used to specify additional one-time executable settings.

getCommand

The name of the agent one-time executable that will be invoked.

Returns
Type Description
string

setCommand

The name of the agent one-time executable that will be invoked.

Parameter
Name Description
var string
Returns
Type Description
$this

getParameters

A map of key/value pairs that can be used to specify additional one-time executable settings.

Returns
Type Description
Google\Protobuf\Internal\MapField

setParameters

A map of key/value pairs that can be used to specify additional one-time executable settings.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this