GoogleCloudAiplatformV1ResourcePool.fromJson constructor
GoogleCloudAiplatformV1ResourcePool.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1ResourcePool.fromJson(core.Map json_)
: this(
autoscalingSpec: json_.containsKey('autoscalingSpec')
? GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec.fromJson(
json_['autoscalingSpec']
as core.Map<core.String, core.dynamic>)
: null,
diskSpec: json_.containsKey('diskSpec')
? GoogleCloudAiplatformV1DiskSpec.fromJson(
json_['diskSpec'] as core.Map<core.String, core.dynamic>)
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
machineSpec: json_.containsKey('machineSpec')
? GoogleCloudAiplatformV1MachineSpec.fromJson(
json_['machineSpec'] as core.Map<core.String, core.dynamic>)
: null,
replicaCount: json_.containsKey('replicaCount')
? json_['replicaCount'] as core.String
: null,
usedReplicaCount: json_.containsKey('usedReplicaCount')
? json_['usedReplicaCount'] as core.String
: null,
);