Google Drive Labels
No catalog description yet.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "GOOGLE_DRIVE_LABELS_LABELS_CREATE", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("GOOGLE_DRIVE_LABELS_LABELS_CREATE", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute GOOGLE_DRIVE_LABELS_LABELS_CREATE --data '{ }'Tool catalog
Available tools
17 callable operations
Drivelabels Labels CreateGOOGLE_DRIVE_LABELS_LABELS_CREATECreates a label. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label).Connection2 scopes
Creates a label. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label).
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels DeltaGOOGLE_DRIVE_LABELS_LABELS_DELTAUpdates a single label by applying a set of update requests resulting in a new draft revision. For more information, see [Update a label](https://developers.google.com/workspace/drive/labels/guides/update-label). The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive items.Connection2 scopes
Updates a single label by applying a set of update requests resulting in a new draft revision. For more information, see [Update a label](https://developers.google.com/workspace/drive/labels/guides/update-label). The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive items.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels DisableGOOGLE_DRIVE_LABELS_LABELS_DISABLEDisable a published label. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). Disabling a label will result in a new disabled published revision based on the current published revision. If there's a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with `DeleteLabel`.Connection2 scopes
Disable a published label. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). Disabling a label will result in a new disabled published revision based on the current published revision. If there's a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with `DeleteLabel`.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels EnableGOOGLE_DRIVE_LABELS_LABELS_ENABLEEnable a disabled label and restore it to its published state. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). This will result in a new published revision based on the current disabled published revision. If there's an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.Connection2 scopes
Enable a disabled label and restore it to its published state. For more information, see [Disable, enable, and delete a label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). This will result in a new published revision based on the current disabled published revision. If there's an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels GetGOOGLE_DRIVE_LABELS_LABELS_GETGet a label by its resource name. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label). Resource name may be any of: * `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the label. * `labels/{id}@published` - Gets the current published revision of the label. * `labels/{id}@{revision_id}` - Gets the label at the specified revision ID.Connection4 scopes
Get a label by its resource name. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label). Resource name may be any of: * `labels/{id}` - See `labels/{id}@latest` * `labels/{id}@latest` - Gets the latest revision of the label. * `labels/{id}@published` - Gets the current published revision of the label. * `labels/{id}@{revision_id}` - Gets the label at the specified revision ID.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.admin.labels.readonlyhttps://www.googleapis.com/auth/drive.labelshttps://www.googleapis.com/auth/drive.labels.readonlyTags
Drivelabels Labels ListGOOGLE_DRIVE_LABELS_LABELS_LISTList labels. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label).Connection4 scopes
List labels. For more information, see [Search for labels](https://developers.google.com/workspace/drive/labels/guides/search-label).
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.admin.labels.readonlyhttps://www.googleapis.com/auth/drive.labelshttps://www.googleapis.com/auth/drive.labels.readonlyTags
Drivelabels Labels PublishGOOGLE_DRIVE_LABELS_LABELS_PUBLISHPublish all draft changes to the label. Once published, the label may not return to its draft state. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label). Publishing a label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. For more information, see [Label lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label will be rejected. For example, the following changes to a label will be rejected after the label is published: * The label cannot be directly deleted. It must be disabled first, then deleted. * `Field.FieldType` cannot be changed. * Changes to field validation options cannot reject something that was previously accepted. * Reducing the maximum entries.Connection2 scopes
Publish all draft changes to the label. Once published, the label may not return to its draft state. For more information, see [Create and publish a label](https://developers.google.com/workspace/drive/labels/guides/create-label). Publishing a label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. For more information, see [Label lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the label will be rejected. For example, the following changes to a label will be rejected after the label is published: * The label cannot be directly deleted. It must be disabled first, then deleted. * `Field.FieldType` cannot be changed. * Changes to field validation options cannot reject something that was previously accepted. * Reducing the maximum entries.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels Revisions Locks ListGOOGLE_DRIVE_LABELS_LABELS_REVISIONS_LOCKS_LISTLists the label locks on a label.Connection4 scopes
Lists the label locks on a label.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.admin.labels.readonlyhttps://www.googleapis.com/auth/drive.labelshttps://www.googleapis.com/auth/drive.labels.readonlyTags
Drivelabels Labels Revisions Permissions BatchDeleteGOOGLE_DRIVE_LABELS_LABELS_REVISIONS_PERMISSIONS_BATCH_DELETEDeletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.Connection2 scopes
Deletes label permissions. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels Revisions Permissions BatchUpdateGOOGLE_DRIVE_LABELS_LABELS_REVISIONS_PERMISSIONS_BATCH_UPDATEUpdates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.Connection2 scopes
Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels Revisions Permissions CreateGOOGLE_DRIVE_LABELS_LABELS_REVISIONS_PERMISSIONS_CREATEUpdates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.Connection2 scopes
Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels Revisions Permissions DeleteGOOGLE_DRIVE_LABELS_LABELS_REVISIONS_PERMISSIONS_DELETEDeletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.Connection2 scopes
Deletes a label's permission. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels Revisions Permissions ListGOOGLE_DRIVE_LABELS_LABELS_REVISIONS_PERMISSIONS_LISTLists a label's permissions.Connection4 scopes
Lists a label's permissions.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.admin.labels.readonlyhttps://www.googleapis.com/auth/drive.labelshttps://www.googleapis.com/auth/drive.labels.readonlyTags
Drivelabels Labels Revisions UpdatePermissionsGOOGLE_DRIVE_LABELS_LABELS_REVISIONS_UPDATE_PERMISSIONSUpdates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.Connection2 scopes
Updates a label's permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels UpdateLabelCopyModeGOOGLE_DRIVE_LABELS_LABELS_UPDATE_LABEL_COPY_MODEUpdates a label's `CopyMode`. Changes to this policy aren't revisioned, don't require publishing, and take effect immediately.Connection2 scopes
Updates a label's `CopyMode`. Changes to this policy aren't revisioned, don't require publishing, and take effect immediately.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.labelsTags
Drivelabels Labels UpdateLabelEnabledAppSettingsGOOGLE_DRIVE_LABELS_LABELS_UPDATE_LABEL_ENABLED_APP_SETTINGSUpdates a label's `EnabledAppSettings`. Enabling a label in a Google Workspace app allows it to be used in that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.Connection
Updates a label's `EnabledAppSettings`. Enabling a label in a Google Workspace app allows it to be used in that app. This change isn't revisioned, doesn't require publishing, and takes effect immediately.
Authentication
Connected account requiredTags
Drivelabels Limits GetLabelGOOGLE_DRIVE_LABELS_LIMITS_GET_LABELGet the constraints on the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.Connection4 scopes
Get the constraints on the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.
Authentication
Connected account requiredScopes
https://www.googleapis.com/auth/drive.admin.labelshttps://www.googleapis.com/auth/drive.admin.labels.readonlyhttps://www.googleapis.com/auth/drive.labelshttps://www.googleapis.com/auth/drive.labels.readonlyTags