Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Watches for changes to specific files, emitting an event any time a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.
Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files
Emit new event when a UUID receives a value for the configured Event Name. The latest value as well a history of all values ever received for that Event Name will be returned.
Emit new event when the UUID is significant enough to be classified as a lead. You define the field of significance and if a UUID gets a value for this field, it will trigger.
Emit new event when any UUID is created or updated. To learn more about how Confection handles UUIDs, visit https://confection.io/main/demo/#uuid.
Add a sharing permission to the sharing preferences of a file or folder and provide a sharing URL. See the docs for more information
This action will retrieve the full details of a specified UUID.
This action will retrieve all UUIDs that have a likeness score of at least 50 (default) with the provided UUID. The likeness score can be customized in configuration.
Create a copy of the specified file. See the docs for more information
Create a new file from a URL or /tmp/filepath. See the docs for more information
Using the Google Drive API, you can build applications that:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_drive: {
type: "app",
app: "google_drive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
},
})
},
})
Confection is an API that enables you to easily create and manage serverless
functions. Using Confection, you can deploy your functions to any number of
providers, including AWS Lambda, Google Cloud Functions, and Azure Functions.
Confection also provides a convenient command-line interface, making it easy to
manage your functions from your terminal.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
confection: {
type: "app",
app: "confection",
}
},
async run({steps, $}) {
const data = {
"key": `${this.confection.$auth.secret_key}`,
}
return await axios($, {
url: `https://transmission.confection.io/${this.confection.$auth.account_id}/account/`,
data,
})
},
})