def build_config command, image, env_variables, cloud_sql_instances
      args = ["-i", image]
      env_variables.each do |k, v|
        args << "-e" << "#{k}=#{v}"
      end
      unless cloud_sql_instances.empty?
        cloud_sql_instances = Array(cloud_sql_instances)
        cloud_sql_instances.each do |sql|
          args << "-s" << sql
        end
      end
      args << "--"
      args += command

      {
        "steps" => [
          "name" => @wrapper_image,
          "args" => args
        ]
      }
    end
def build_config command, image, env_variables, cloud_sql_instances
      args = ["-i", image]
      env_variables.each do |k, v|
        args << "-e" << "#{k}=#{v}"
      end
      unless cloud_sql_instances.empty?
        cloud_sql_instances = Array(cloud_sql_instances)
        cloud_sql_instances.each do |sql|
          args << "-s" << sql
        end
      end
      args << "--"
      args += command

      {
        "steps" => [
          "name" => @wrapper_image,
          "args" => args
        ]
      }
    end
@private
 Builds a cloudbuild config as a data structure.

 @param command [Array<String>] The command in array form.
 @param image [String] The fully qualified image path.
 @param env_variables[Hash<String,String>] Environment variables.
 @param cloud_sql_instances[String,Array<String>] Names of cloud sql
     instances to connect to.