Google Cloud Storage (Legacy)
Overview
The Google Cloud Storage Book integrates with Google Cloud Storage, allowing you to manage and store files effortlessly within your automations.
Prerequisites
Google Cloud Account: You need to have an active Google Cloud account. If you do not have one, you can sign up for a Google Cloud trial account to get started.
Google Cloud Storage Bucket: Ensure that a Google Cloud Storage bucket has been created. This bucket will be used to store your files and data.
Service Account with Storage Admin Role: Create a service account in Google Cloud and assign it the Storage Admin role. Kognitos will use this service account to interact with Google Cloud Storage.
Service Account Key: Download the JSON key file for your service account. This key file will be used to authenticate Kognitos with Google Cloud Storage.
Learning the Google Cloud Storage Book
Navigate to Books → All Books
Search for Google Cloud and click on it.
Click Add Connection and provide the authentication details. You will need the following credentials:
Service Account Key File: The JSON key file for your Google Cloud service account. This file contains the credentials required to authenticate with Google Cloud Storage.
Once you have successfully added the book, you are ready to use the book's procedures. You can now dump files, purge files, and enrich questions with additional information.
Procedures
Dumping Files to Google Cloud Storage
To dump a file to Google Cloud Storage, you need to specify the file and the Google Cloud Storage path. For example:
Purging Files from Google Cloud Storage
To purge a file from Google Cloud Storage, you need to specify the file path. For example:
This purges the specified file from Google Cloud Storage.
Dumping CSVs to Google Cloud Storage
To dump a CSV to Google Cloud Storage, you need to specify the CSV path and optionally the bucket prefix and folder.
Example 1:
This dumps the specified CSV to the given Google Cloud Storage path.
Example 2:
This dumps the specified CSV to the given Google Cloud Storage path with the specified bucket prefix and folder.
Purging CSVs from Google Cloud Storage
To purge a CSV from Google Cloud Storage, you need to specify the CSV path and the Google Cloud Storage path.
Example 1:
This purges the specified CSV from the given Google Cloud Storage path.
Example 2:
This purges the specified CSV from the given Google Cloud Storage path.
Enriching Questions
To enrich a question with additional information, you need to specify the details to be enriched. For example:
This enriches the question with the specified details.
Last updated
Was this helpful?

