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 \ V1Methods
__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: |
↳ 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:
gs://bucket/script.sh
| Returns | |
|---|---|
| Type | Description |
string |
|
setPostStartupScriptUrl
Optional. Post startup script url to download. Example:
gs://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 |
Enum of type PostStartupScriptBehavior. |
setPostStartupScriptBehavior
Optional. Post startup script behavior that defines download and execution behavior.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PostStartupScriptBehavior. |
| Returns | |
|---|---|
| Type | Description |
$this |
|