Create a file or a folder.
yaml
type: "io.kestra.plugin.googleworkspace.drive.Create"
yaml
id: googleworkspace_drive_create
namespace: company.team
tasks:
- id: create
type: io.kestra.plugin.googleworkspace.drive.Create
name: "My Folder"
mimeType: "application/vnd.google-apps.folder"
Dynamic YES
A short description of the file.
Dynamic YES
The MIME type of the file.
Drive will attempt to automatically detect an appropriate value from uploaded content if no value is provided. The value cannot be changed unless a new revision is uploaded. If a file is created with a Google Doc MIME type, the uploaded content will be imported if possible. The supported import formats are published here.
Dynamic YES
The name of the file
This is not necessarily unique within a folder
SubType string
Dynamic YES
The destination path
Dynamic YES
Default 120
SubType string
Dynamic YES
Default ["https://www.googleapis.com/auth/drive"]
The GCP scopes to used
Dynamic YES
The GCP service account key
Dynamic YES
ID of the Team Drive the file resides in.
The file metadata created
Dynamic NO
Format date-time
Dynamic NO
Dynamic NO
Dynamic NO
SubType string
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO