def instance_insert_req(name, image, machineType, disk)
      { :api_method  => @compute.instances.insert,
        :parameters  => { 'project' => @options[:gce_project], 'zone' => DEFAULT_ZONE_NAME },
        :body_object => { 'name' => name,
                          'image' => image,
                          'zone' => default_zone,
                          'machineType' => machineType,
                          'disks' => [ { 'source' => disk,
                                         'type' => 'PERSISTENT', 'boot' => 'true'} ],
                                         'networkInterfaces' => [ { 'accessConfigs' => [{ 'type' => 'ONE_TO_ONE_NAT', 'name' => 'External NAT' }],
                                                                    'network' => default_network } ] } }
    end
def instance_insert_req(name, image, machineType, disk)
      { :api_method  => @compute.instances.insert,
        :parameters  => { 'project' => @options[:gce_project], 'zone' => DEFAULT_ZONE_NAME },
        :body_object => { 'name' => name,
                          'image' => image,
                          'zone' => default_zone,
                          'machineType' => machineType,
                          'disks' => [ { 'source' => disk,
                                         'type' => 'PERSISTENT', 'boot' => 'true'} ],
                                         'networkInterfaces' => [ { 'accessConfigs' => [{ 'type' => 'ONE_TO_ONE_NAT', 'name' => 'External NAT' }],
                                                                    'network' => default_network } ] } }
    end
Create a Google Compute instance create request

 @param [String] name The name of the instance to create

 @param [String] image The link to the image to use for instance create

 @param [String] machineType The link to the type of Google Compute
 instance to create (indicates cpus and memory size)

 @param [String] disk The link to the disk to be used by the newly created
 instance

 @return [Hash] A correctly formatted Google Compute request hash