บริการ BigQuery ช่วยให้คุณสามารถใช้ Google BigQuery API ใน Apps Script API นี้ ช่วยให้ผู้ใช้จัดการโปรเจ็กต์ BigQuery, อัปโหลดข้อมูลใหม่ และดำเนินการค้นหา
ข้อมูลอ้างอิง
สำหรับข้อมูลโดยละเอียดเกี่ยวกับบริการนี้ โปรดดูที่ เอกสารอ้างอิงสำหรับ BigQuery API บริการ BigQuery จะใช้บริการเดียวกัน เช่นเดียวกับบริการขั้นสูงทั้งหมดใน Apps Script ออบเจ็กต์ เมธอด และพารามิเตอร์เป็น API สาธารณะ ดูข้อมูลเพิ่มเติมได้ที่วิธีกำหนดลายเซ็นของเมธอด
หากต้องการรายงานปัญหาและค้นหาการสนับสนุนอื่นๆ โปรดดู คู่มือการสนับสนุนของ Google Cloud
โค้ดตัวอย่าง
โค้ดตัวอย่างด้านล่างใช้ API เวอร์ชัน 2
ทำการค้นหา
ตัวอย่างนี้จะค้นหารายการข้อความค้นหายอดนิยมประจำวันของ Google Search
โหลดข้อมูล CSV
ตัวอย่างนี้จะสร้างตารางใหม่และโหลดไฟล์ CSV จาก Google ไดรฟ์ลงในตาราง