Google Cloud Batch V1 Client - Class Script (0.3.0)

Reference documentation and code samples for the Google Cloud Batch V1 Client class Script.

Script runnable.

Generated from protobuf message google.cloud.batch.v1.Runnable.Script

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ path string

Script file path on the host VM.

↳ text string

Shell script text.

getPath

Script file path on the host VM.

Returns
Type Description
string

hasPath

setPath

Script file path on the host VM.

Parameter
Name Description
var string
Returns
Type Description
$this

getText

Shell script text.

Returns
Type Description
string

hasText

setText

Shell script text.

Parameter
Name Description
var string
Returns
Type Description
$this

getCommand

Returns
Type Description
string