toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceleratorConfigs != null)
        'acceleratorConfigs': acceleratorConfigs!,
      if (bootDisk != null) 'bootDisk': bootDisk!,
      if (containerImage != null) 'containerImage': containerImage!,
      if (dataDisks != null) 'dataDisks': dataDisks!,
      if (disablePublicIp != null) 'disablePublicIp': disablePublicIp!,
      if (enableIpForwarding != null)
        'enableIpForwarding': enableIpForwarding!,
      if (gpuDriverConfig != null) 'gpuDriverConfig': gpuDriverConfig!,
      if (machineType != null) 'machineType': machineType!,
      if (metadata != null) 'metadata': metadata!,
      if (networkInterfaces != null) 'networkInterfaces': networkInterfaces!,
      if (serviceAccounts != null) 'serviceAccounts': serviceAccounts!,
      if (shieldedInstanceConfig != null)
        'shieldedInstanceConfig': shieldedInstanceConfig!,
      if (tags != null) 'tags': tags!,
      if (vmImage != null) 'vmImage': vmImage!,
    };