Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Instance yang dihosting pelanggan mungkin tidak dapat mengaktifkan tindakan dari Looker Action Hub, terutama tindakan yang mendukung hasil streaming atau yang menggunakan OAuth, jika instance Looker yang dihosting pelanggan tidak memenuhi persyaratan Looker Action Hub.
Anda dapat menggunakan tindakan Google Drive berbasis OAuth yang aman dari Looker untuk mengirim Look, Jelajah, dan dasbor dari Looker ke Google Drive secara satu kali atau berulang. Tindakan
Google Drive terintegrasi dengan Looker melalui Looker Action Hub.
Setelah admin Looker mengaktifkan tindakan Google Drive di Action Hub,
pengguna dapat memilih Google Drive sebagai kemungkinan tujuan saat mengirim atau menjadwalkan
Tampilan, Jelajah, dan dasbor.
Karena tindakan Google Drive memanfaatkan Google OAuth, pengguna hanya dapat mengirim konten ke folder Drive yang dapat diakses dengan kredensial Google mereka. Tindakan Google Drive memungkinkan pengguna menghubungkan Google Drive mereka ke Looker menggunakan Google OAuth 2.0 sehingga mereka dapat menyimpan file di folder Google Drive mereka.
Halaman ini memandu admin mengaktifkan tindakan Google Drive. Panduan ini juga menjelaskan
cara pengguna yang memiliki
izin
yang sesuai dapat mengirim atau menjadwalkan pengiriman data ke folder Google Drive.
Mengaktifkan tindakan Google Drive di Looker
Admin Looker dapat mengaktifkan tindakan Google Drive di Looker dengan langkah-langkah
berikut:
Buka panel Admin, lalu di bagian Platform, buka halaman Tindakan.
Pada daftar tindakan Action Hub, scroll ke Google Drive, lalu klik tombol
Enable.
Di halaman tindakan Google Drive, klik tombol Enabled ke posisi aktif,
lalu klik Save.
Saat Anda kembali ke daftar tindakan Action Hub, tindakan Google Drive Anda
akan diaktifkan.
Anda dan pengguna — jika mereka memiliki izin send_to_integration — kini dapat mengirim atau menjadwalkan Tampilan, Jelajah, dan dasbor ke folder Google Drive.
Mengirim data ke folder Google Drive
Setiap pengguna Looker yang memiliki izin send_to_integration dapat mengirim atau
menjadwalkan Look, Jelajah, atau dasbor ke folder Google Drive.
Opsi format untuk mengirim dan menjadwalkan dasbor mencakup hal berikut:
PDF
Visualisasi
CSV (file ZIP) — jika mengirimkan file ZIP, setiap kartu di dasbor Anda akan
dikirim sebagai file CSV terpisah. Anda dapat mengekstrak file di Cloud
dengan ekstensi Chrome, atau Anda dapat mengekstraknya dari Drive.
Opsi format untuk mengirim dan menjadwalkan Tampilan atau Jelajah mencakup hal berikut:
CSV
XLSX
JSON — Sederhana
JSON — Label
JSON — Sederhana, Inline
JSON — Mendetail, Inline
Teks
HTML
Untuk mengirim atau menjadwalkan konten, ikuti langkah-langkah berikut:
Dari Penjadwal, di samping Ke mana data ini akan dikirim?, pilih Google Drive sebagai tujuan pengiriman Anda.
Jika Anda mengirimkan ke Google Drive untuk pertama kalinya, Anda harus mengautentikasi dengan kredensial Google Anda. Klik Login dengan Google, tentukan Akun Google Anda, lalu klik Izinkan untuk menghubungkan akun Looker Anda ke kredensial OAuth Google Anda. Anda hanya dapat menghubungkan satu kumpulan kredensial OAuth 2.0 Google ke integrasi ini.
Di Penjadwal, klik Verifikasi kredensial untuk memuat Google Drive Anda.
Dari menu drop-down Pilih Drive untuk menyimpan file, pilih Google Drive tempat file Anda akan disimpan.
Selanjutnya, Anda dapat memasukkan URL untuk folder di Drive ini atau mengambil semua folder di Drive Anda.
Di kolom URL Tujuan Google Drive, masukkan URL Google Drive lengkap folder tempat Anda ingin menyimpan data. Contoh: https://drive.google.com/corp/drive/folders/abcxyz. Jika URL ini tidak dapat diakses, data Anda akan disimpan ke folder root Google Drive Anda.
Dari drop-down Pilih Ambil untuk mengambil daftar folder di drive ini, pilih Ambil. Setelah dialog Penjadwal dimuat ulang, dari drop-down Select folder to save file, pilih folder Google Drive tempat file Anda akan disimpan.
Tentukan nama file Anda di kolom Enter a filename. Anda tidak perlu menyertakan ekstensi file — tindakan ini akan otomatis menambahkannya selama pengiriman.
Opsi lanjutan untuk menyesuaikan pengiriman konten Anda bergantung pada format
data. Klik Kirim atau Jadwalkan.
Muat ulang folder Google Drive untuk melihat pengiriman file Anda.
File Anda tidak akan ditimpa atau diganti namanya selama pengiriman file berikutnya
dengan nama file yang sama. Jadi, jika Anda telah menjadwalkan konten untuk pengiriman berulang,
folder Drive Anda akan berisi beberapa file dengan nama yang sama.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-25 UTC."],[],[],null,["# Looker actions - Google Drive\n\n\u003cbr /\u003e\n\n\u003e Customer-hosted instances may be unable to enable actions from the Looker Action Hub, especially actions that [support streamed results](/looker/docs/action-hub#uses_streaming) or that use [OAuth](/looker/docs/action-hub#configuring_an_action_for_oauth), if the customer-hosted Looker instance does not fulfill the [Looker Action Hub requirements](/looker/docs/action-hub#looker_action_hub_requirements).\n\u003e\n\u003e See the [Sharing data through an action hub](/looker/docs/action-hub#considerations_for_customer-hosted_instances) documentation page for suggested solutions to this potential issue.\n\n\nYou can use Looker's secure OAuth-based Google Drive action to send Looks, Explores,\nand dashboards from Looker to Google Drive on a one-off or recurring basis. The\nGoogle Drive action is integrated with Looker through the Looker Action Hub.\nOnce the Looker admin has enabled the Google Drive action in the Action Hub,\nusers can select Google Drive as a possible destination when sending or scheduling\nLooks, Explores, and dashboards.\n\n\nSince the Google Drive action leverages Google OAuth, users will be able\nto deliver content only to the Drive folders that their Google credentials enable\nthem to access. The Google Drive action enables users to connect their Google\nDrive to Looker using Google OAuth 2.0 so that they can store files in their Google\nDrive folders.\n\n\nThis page walks admins through enabling the Google Drive action. It also describes\nhow any user who has the appropriate\n[permissions](/looker/docs/admin-panel-users-roles#permissions_list)\ncan send or schedule data deliveries to a Google Drive folder.\n| **Note:** If you have a permission that provides access to only select pages in the Admin panel, such as [`manage_schedules`](/looker/docs/admin-panel-users-roles#manage_schedules), [`manage_themes`](/looker/docs/admin-panel-users-roles#manage_themes), or [`see_admin`](/looker/docs/admin-panel-users-roles#see_admin), but you don't have the [Admin role](/looker/docs/admin-panel-users-roles#default_roles), the page or pages that are described here may not be visible to you in the Admin panel.\n\nEnabling the Google Drive action in Looker\n------------------------------------------\n\n\nLooker admins can enable the Google Drive action in Looker with the following\nsteps:\n\n1. Go the **Admin** panel and, under **Platform** , go to the **Actions** page.\n2. On the list of Action Hub actions, scroll to Google Drive and click the **Enable** button.\n3. On the Google Drive action page, click the **Enabled** toggle to the on position, and click **Save**.\n4. When you return to the list of Action Hub actions, your Google Drive action should be enabled.\n\n\nYou and your users --- if they have `send_to_integration` permissions --- can now send or schedule Looks, Explores, and dashboards to a Google Drive\nfolder.\n\nDelivering data to a Google Drive folder\n----------------------------------------\n\n\nAny Looker user who has `send_to_integration` permissions can send or\nschedule Looks, Explores, or dashboards to a Google Drive folder.\n\n\nYour format options to send and schedule dashboards include the following:\n\n- PDF\n- Visualization\n- CSV (ZIP file) --- if delivering a ZIP file, each tile on your dashboard will be delivered as a separate CSV file. You can extract the file in the Cloud with a Chrome extension, or you can extract it from your Drive.\n\n\nYour format options to send and schedule Looks or Explores include the following:\n\n- CSV\n- XLSX\n- JSON --- Simple\n- JSON --- Label\n- JSON --- Simple, Inline\n- JSON --- Detailed, Inline\n- Text\n- HTML\n\nTo send or schedule your content, follow these steps:\n\n1. From the [Scheduler](/looker/docs/delivering-looks-explores), next to **Where should this data go?** , select **Google Drive** as your delivery destination.\n2. If you're delivering to Google Drive for the first time, you'll need to authenticate with your Google credentials. Click **Sign in with Google** , specify your Google Account, and then click **Allow** to connect your Looker account to your Google OAuth credentials. You can connect only one set of Google OAuth 2.0 credentials to this integration.\n3. In the Scheduler, click **Verify credentials** to load your Google Drive.\n4. From the **Select Drive to save file** drop-down, choose the Google Drive where your file will be saved.\n\n Next, you can either enter the URL for a folder in this Drive or fetch all folders in your Drive.\n - In the **Google Drive Destination URL** field, enter the full Google Drive URL of the folder where you want to save your data. For example: `https://drive.google.com/corp/drive/folders/abcxyz`. If this URL isn't accessible, your data will be saved to the root folder of your Google Drive.\n - From the **Select Fetch to fetch a list of folders in this drive** drop-down, select **Fetch** . After the Scheduler dialog refreshes, from the **Select folder to save file** drop-down, select the Google Drive folder where your file will be saved.\n5. Specify the name of your file in the **Enter a filename** field. You don't need to include the file extension --- the action will automatically append it during delivery.\n6. Advanced options for customizing your content delivery depend on the data format. Click **Send** or **Schedule**.\n7. Refresh your Google Drive folder to see your file delivery.\n\n\u003e Your files won't be overwritten or renamed during subsequent deliveries of files with the same filename, so if you have scheduled content for repeated delivery, your Drive folder will contain multiple files of the same name.\n\nSwitching Google Accounts\n-------------------------\n\nTo associate a different Google Account with this action, you must delete the account's connection to the Looker instance. To learn more, see [Manage connections between your Google Account and third-parties](https://support.google.com/accounts/answer/13533235)."]]