Google Cloud Batch V1 Client - Class Script (0.2.2)

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.

Generated from protobuf field string path = 1;

Returns
TypeDescription
string

hasPath

setPath

Script file path on the host VM.

Generated from protobuf field string path = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getText

Shell script text.

Generated from protobuf field string text = 2;

Returns
TypeDescription
string

hasText

setText

Shell script text.

Generated from protobuf field string text = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCommand

Returns
TypeDescription
string