Google Cloud Batch V1 Client - Class Script (0.4.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
NameDescription
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
TypeDescription
string

hasPath

setPath

Script file path on the host VM.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getText

Shell script text.

Returns
TypeDescription
string

hasText

setText

Shell script text.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCommand

Returns
TypeDescription
string