Google Workspace Create

Google Workspace Create

Certified

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.

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"
Properties

File description

Optional short description; supports templating

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

File name

Display name; not necessarily unique inside a folder

SubTypestring

Destination folders

Parent folder IDs; leave empty for My Drive root

Reference (ref) of the pluginDefaults to apply to this task.

Default120

The read timeout for the request (in seconds)

SubTypestring
Default["https://www.googleapis.com/auth/drive"]

The GCP scopes to used

The GCP service account key

Shared Drive ID

Target Shared Drive (teamDriveId) when writing outside My Drive

Created file metadata

Drive file resource returned by create call

Definitions
createdTimestring
Formatdate-time
idstring
mimeTypestring
namestring
parentsarray
SubTypestring
sizeinteger
trashedboolean
versioninteger