
Google Workspace Create
CertifiedCreate a file or folder in Drive
Google Workspace Create
Create a file or folder in Drive
Creates metadata only (or empty folder) using a service account. Set mimeType to application/vnd.google-apps.folder for folders; parents can target Shared Drive.
type: io.kestra.plugin.googleworkspace.drive.CreateExamples
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"
Properties
description string
File description
Optional short description; supports templating
mimeType string
MIME type
Explicit MIME type; Drive auto-detects if omitted. Google MIME types import content when possible. Supported import formats: https://developers.google.com/drive/api/v3/mime-types
name string
File name
Display name; not necessarily unique inside a folder
parents array
Destination folders
Parent folder IDs; leave empty for My Drive root
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
readTimeout integerstring
120The read timeout for the request (in seconds)
scopes array
["https://www.googleapis.com/auth/drive"]The GCP scopes to used
serviceAccount string
The GCP service account key
teamDriveId string
Shared Drive ID
Target Shared Drive (teamDriveId) when writing outside My Drive
Outputs
file
Created file metadata
Drive file resource returned by create call
io.kestra.plugin.googleworkspace.drive.models.File
date-time