toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final acceleratorCount = this.acceleratorCount;
  final acceleratorType = this.acceleratorType;
  final gpuPartitionSize = this.gpuPartitionSize;
  final machineType = this.machineType;
  final reservationAffinity = this.reservationAffinity;
  final tpuTopology = this.tpuTopology;
  return {
    'acceleratorCount': ?acceleratorCount,
    'acceleratorType': ?acceleratorType,
    'gpuPartitionSize': ?gpuPartitionSize,
    'machineType': ?machineType,
    'reservationAffinity': ?reservationAffinity,
    'tpuTopology': ?tpuTopology,
  };
}