async function callCreateComputeReservationInstanceTemplate() {
    // Create reservation for 3 VMs in zone us-central1-a by specifying a instance template.
    const specificReservation = new compute.AllocationSpecificSKUReservation({
      count: vmsNumber,
      sourceInstanceTemplate: `projects/${projectId}/${location}/instanceTemplates/${instanceTemplateName}`,
    });

    // Create a reservation.
    const reservation = new compute.Reservation({
      name: reservationName,
      specificReservation,
      // To specify that only VMs that specifically target this reservation can consume it,
      // set specificReservationRequired field to true.
      specificReservationRequired: true,
    });

    const [response] = await reservationsClient.insert({
      project: projectId,
      reservationResource: reservation,
      zone,
    });

    let operation = response.latestResponse;

    // Wait for the create reservation operation to complete.
    while (operation.status !== 'DONE') {
      [operation] = await zoneOperationsClient.wait({
        operation: operation.name,
        project: projectId,
        zone: operation.zone.split('/').pop(),
      });
    }

    console.log(`Reservation: ${reservationName} created.`);
  }
// The location of the instance template.
TODO(developer): Uncomment the `location` variable depending on which template you want to use.