GoogleCloudAiplatformV1Endpoint.fromJson constructor
GoogleCloudAiplatformV1Endpoint.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1Endpoint.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
deployedModels: json_.containsKey('deployedModels')
? (json_['deployedModels'] as core.List)
.map((value) => GoogleCloudAiplatformV1DeployedModel.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
enablePrivateServiceConnect:
json_.containsKey('enablePrivateServiceConnect')
? json_['enablePrivateServiceConnect'] as core.bool
: null,
encryptionSpec: json_.containsKey('encryptionSpec')
? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
json_['encryptionSpec']
as core.Map<core.String, core.dynamic>)
: null,
etag: json_.containsKey('etag') ? json_['etag'] 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,
modelDeploymentMonitoringJob:
json_.containsKey('modelDeploymentMonitoringJob')
? json_['modelDeploymentMonitoringJob'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
network: json_.containsKey('network')
? json_['network'] as core.String
: null,
predictRequestResponseLoggingConfig:
json_.containsKey('predictRequestResponseLoggingConfig')
? GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig
.fromJson(json_['predictRequestResponseLoggingConfig']
as core.Map<core.String, core.dynamic>)
: null,
privateServiceConnectConfig:
json_.containsKey('privateServiceConnectConfig')
? GoogleCloudAiplatformV1PrivateServiceConnectConfig.fromJson(
json_['privateServiceConnectConfig']
as core.Map<core.String, core.dynamic>)
: null,
trafficSplit: json_.containsKey('trafficSplit')
? (json_['trafficSplit'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.int,
),
)
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);