GoogleCloudAiplatformV1BatchDedicatedResources.fromJson constructor

GoogleCloudAiplatformV1BatchDedicatedResources.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1BatchDedicatedResources.fromJson(core.Map json_)
    : this(
        machineSpec: json_.containsKey('machineSpec')
            ? GoogleCloudAiplatformV1MachineSpec.fromJson(
                json_['machineSpec'] as core.Map<core.String, core.dynamic>)
            : null,
        maxReplicaCount: json_.containsKey('maxReplicaCount')
            ? json_['maxReplicaCount'] as core.int
            : null,
        startingReplicaCount: json_.containsKey('startingReplicaCount')
            ? json_['startingReplicaCount'] as core.int
            : null,
      );