Interface NotebookIdleShutdownConfigOrBuilder (3.56.0)

public interface NotebookIdleShutdownConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIdleShutdownDisabled()

public abstract boolean getIdleShutdownDisabled()

Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.

bool idle_shutdown_disabled = 2;

Returns
Type Description
boolean

The idleShutdownDisabled.

getIdleTimeout()

public abstract Duration 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.

.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The idleTimeout.

getIdleTimeoutOrBuilder()

public abstract DurationOrBuilder getIdleTimeoutOrBuilder()

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.

.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

hasIdleTimeout()

public abstract boolean hasIdleTimeout()

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.

.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the idleTimeout field is set.