GoogleCloudAiplatformV1TuningJob.fromJson constructor
GoogleCloudAiplatformV1TuningJob.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1TuningJob.fromJson(core.Map json_)
: this(
baseModel: json_.containsKey('baseModel')
? json_['baseModel'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
encryptionSpec: json_.containsKey('encryptionSpec')
? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
json_['encryptionSpec']
as core.Map<core.String, core.dynamic>)
: null,
endTime: json_.containsKey('endTime')
? json_['endTime'] as core.String
: null,
error: json_.containsKey('error')
? GoogleRpcStatus.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
experiment: json_.containsKey('experiment')
? json_['experiment'] as core.String
: 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,
startTime: json_.containsKey('startTime')
? json_['startTime'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
supervisedTuningSpec: json_.containsKey('supervisedTuningSpec')
? GoogleCloudAiplatformV1SupervisedTuningSpec.fromJson(
json_['supervisedTuningSpec']
as core.Map<core.String, core.dynamic>)
: null,
tunedModel: json_.containsKey('tunedModel')
? GoogleCloudAiplatformV1TunedModel.fromJson(
json_['tunedModel'] as core.Map<core.String, core.dynamic>)
: null,
tunedModelDisplayName: json_.containsKey('tunedModelDisplayName')
? json_['tunedModelDisplayName'] as core.String
: null,
tuningDataStats: json_.containsKey('tuningDataStats')
? GoogleCloudAiplatformV1TuningDataStats.fromJson(
json_['tuningDataStats']
as core.Map<core.String, core.dynamic>)
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);