NotebookIdleShutdownConfig class final

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

Inheritance
  • Object
  • ProtoMessage
  • NotebookIdleShutdownConfig

Constructors

NotebookIdleShutdownConfig({required Duration? idleTimeout, bool idleShutdownDisabled = false})
NotebookIdleShutdownConfig.fromJson(Object? j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
idleShutdownDisabled bool
Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
final
idleTimeout → 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
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String