Google Cloud Ai Platform V1 Client - Class NotebookIdleShutdownConfig (1.2.0)

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

The idle shutdown configuration of NotebookRuntimeTemplate, which contains the idle_timeout as required field.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ idle_timeout Google\Protobuf\Duration

Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60.

↳ idle_shutdown_disabled bool

Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.

getIdleTimeout

Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440

  • 60.
Returns
Type Description
Google\Protobuf\Duration|null

hasIdleTimeout

clearIdleTimeout

setIdleTimeout

Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440

  • 60.
Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getIdleShutdownDisabled

Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.

Returns
Type Description
bool

setIdleShutdownDisabled

Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.

Parameter
Name Description
var bool
Returns
Type Description
$this