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,
expirationTime: json_.containsKey('expirationTime')
? json_['expirationTime'] as core.String
: null,
healthState: json_.containsKey('healthState')
? json_['healthState'] as core.String
: 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,
reservationAffinity: json_.containsKey('reservationAffinity')
? GoogleCloudAiplatformV1NotebookReservationAffinity.fromJson(
json_['reservationAffinity']
as core.Map<core.String, core.dynamic>)
: null,
runtimeState: json_.containsKey('runtimeState')
? json_['runtimeState'] as core.String
: null,
runtimeUser: json_.containsKey('runtimeUser')
? json_['runtimeUser'] as core.String
: 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,
);