Google Cloud Ai Platform V1 Client - Class PostStartupScriptConfig (1.17.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PostStartupScriptConfig.

Post startup script config.

Generated from protobuf message google.cloud.aiplatform.v1.PostStartupScriptConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ post_startup_script string

Optional. Post startup script to run after runtime is started.

↳ post_startup_script_url string

Optional. Post startup script url to download. Example: https://bucket/script.sh

↳ post_startup_script_behavior int

Optional. Post startup script behavior that defines download and execution behavior.

getPostStartupScript

Optional. Post startup script to run after runtime is started.

Returns
Type Description
string

setPostStartupScript

Optional. Post startup script to run after runtime is started.

Parameter
Name Description
var string
Returns
Type Description
$this

getPostStartupScriptUrl

Optional. Post startup script url to download. Example: https://bucket/script.sh

Returns
Type Description
string

setPostStartupScriptUrl

Optional. Post startup script url to download. Example: https://bucket/script.sh

Parameter
Name Description
var string
Returns
Type Description
$this

getPostStartupScriptBehavior

Optional. Post startup script behavior that defines download and execution behavior.

Returns
Type Description
int

setPostStartupScriptBehavior

Optional. Post startup script behavior that defines download and execution behavior.

Parameter
Name Description
var int
Returns
Type Description
$this