GoogleCloudAiplatformV1NotebookRuntime.fromJson constructor
GoogleCloudAiplatformV1NotebookRuntime.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1NotebookRuntime.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
encryptionSpec: json_.containsKey('encryptionSpec')
? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
json_['encryptionSpec']
as core.Map<core.String, core.dynamic>)
: null,
expirationTime: json_.containsKey('expirationTime')
? json_['expirationTime'] as core.String
: null,
healthState: json_.containsKey('healthState')
? json_['healthState'] as core.String
: null,
idleShutdownConfig: json_.containsKey('idleShutdownConfig')
? GoogleCloudAiplatformV1NotebookIdleShutdownConfig.fromJson(
json_['idleShutdownConfig']
as core.Map<core.String, core.dynamic>)
: null,
isUpgradable: json_.containsKey('isUpgradable')
? json_['isUpgradable'] as core.bool
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
networkTags: json_.containsKey('networkTags')
? (json_['networkTags'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
notebookRuntimeTemplateRef:
json_.containsKey('notebookRuntimeTemplateRef')
? GoogleCloudAiplatformV1NotebookRuntimeTemplateRef.fromJson(
json_['notebookRuntimeTemplateRef']
as core.Map<core.String, core.dynamic>)
: null,
notebookRuntimeType: json_.containsKey('notebookRuntimeType')
? json_['notebookRuntimeType'] as core.String
: null,
proxyUri: json_.containsKey('proxyUri')
? json_['proxyUri'] as core.String
: null,
runtimeState: json_.containsKey('runtimeState')
? json_['runtimeState'] as core.String
: null,
runtimeUser: json_.containsKey('runtimeUser')
? json_['runtimeUser'] as core.String
: null,
satisfiesPzi: json_.containsKey('satisfiesPzi')
? json_['satisfiesPzi'] as core.bool
: null,
satisfiesPzs: json_.containsKey('satisfiesPzs')
? json_['satisfiesPzs'] as core.bool
: null,
serviceAccount: json_.containsKey('serviceAccount')
? json_['serviceAccount'] as core.String
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);