Google · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Google Labels API

18 actions 18 updates phrasing extends openapi/google-labels-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Google's API. It is a proposal applied on top of the contract, not a document Google publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 18 · first 16 shown; the file carries all of them

$.info
$.paths['/v2/labels'].get
$.paths['/v2/labels'].post
$.paths['/v2/{name}'].delete
$.paths['/v2/{name}:delta'].post
$.paths['/v2/{name}:disable'].post
$.paths['/v2/{name}:enable'].post
$.paths['/v2/{name}:publish'].post
$.paths['/v2/{name}:updateLabelCopyMode'].post
$.paths['/v2/{parent}/locks'].get
$.paths['/v2/{parent}/permissions'].get
$.paths['/v2/{parent}/permissions'].post
$.paths['/v2/{parent}/permissions'].patch
$.paths['/v2/{parent}/permissions:batchDelete'].post
$.paths['/v2/{parent}/permissions:batchUpdate'].post
$.paths['/gmail/v1/users/{userId}/labels'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Google Labels API
  version: 1.0.0
extends: openapi/google-labels-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 17
- target: $.paths['/v2/labels'].get
  update:
    x-apievangelist-phrasing:
      intent: List Drive labels
      effect: read
      questions:
      - What labels are defined in my Drive account?
      - Can I list only published labels?
      instructions:
      - text: List all Drive labels.
      - text: List labels with at least role {minimumRole}.
        slots:
          minimumRole: query.minimumRole
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/labels'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a Drive label
      effect: write
      questions:
      - How do I create a new label for Drive items?
      - Can I set a custom learn-more URL on a new label?
      instructions:
      - text: Create a label of type {labelType}.
        slots:
          labelType: requestBody.labelType
      - text: Create a label with learn-more URL {learnMoreUri}.
        slots:
          learnMoreUri: requestBody.learnMoreUri
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke a label's permission
      effect: destructive
      questions:
      - How do I revoke a user's permission on a label?
      - Can I remove a group's access to a label?
      instructions:
      - text: Delete permission {name} on the label.
        slots:
          name: path.name
      - text: Revoke the group permission {name} from the label.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{name}:delta'].post
  update:
    x-apievangelist-phrasing:
      intent: Apply draft changes to a label
      effect: write
      questions:
      - How do I apply a batch of update requests to a label's draft?
      - Will invalid label update requests roll back the whole batch?
      instructions:
      - text: Apply update requests {requests} to label {name}.
        slots:
          requests: requestBody.requests
          name: path.name
      - text: Draft a new revision of label {name} with {requests}.
        slots:
          name: path.name
          requests: requestBody.requests
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{name}:disable'].post
  update:
    x-apievangelist-phrasing:
      intent: Disable a published label
      effect: destructive
      questions:
      - How do I disable a label that's already published?
      - What happens to a label's draft when I disable it?
      instructions:
      - text: Disable label {name}.
        slots:
          name: path.name
      - text: Disable label {name} with disabled policy {disabledPolicy}.
        slots:
          name: path.name
          disabledPolicy: requestBody.disabledPolicy
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{name}:enable'].post
  update:
    x-apievangelist-phrasing:
      intent: Re-enable a disabled label
      effect: write
      questions:
      - How do I bring a disabled label back to its published state?
      - Can I restore a label that was turned off?
      instructions:
      - text: Enable disabled label {name}.
        slots:
          name: path.name
      - text: Restore label {name} to published state.
        slots:
          name: path.name
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{name}:publish'].post
  update:
    x-apievangelist-phrasing:
      intent: Publish a label's draft changes
      effect: write
      questions:
      - How do I publish the draft changes to a label?
      - Can I undo a label's draft changes after publishing?
      instructions:
      - text: Publish the draft of label {name}.
        slots:
          name: path.name
      - text: Publish label {name} with language {languageCode}.
        slots:
          name: path.name
          languageCode: requestBody.languageCode
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{name}:updateLabelCopyMode'].post
  update:
    x-apievangelist-phrasing:
      intent: Change how a label copies on Drive items
      effect: write
      questions:
      - How do I make a label's field values copy when a Drive item is copied?
      - Can I change a label's copy mode without publishing it?
      instructions:
      - text: Set label {name}'s copy mode to {copyMode}.
        slots:
          name: path.name
          copyMode: requestBody.copyMode
      - text: Change how label {name} copies on Drive items to {copyMode}.
        slots:
          name: path.name
          copyMode: requestBody.copyMode
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{parent}/locks'].get
  update:
    x-apievangelist-phrasing:
      intent: List locks on a label
      effect: read
      questions:
      - Which fields of a label are locked?
      - Can I see the locks applied to a label?
      instructions:
      - text: List locks on label {parent}.
        slots:
          parent: path.parent
      - text: Show which fields of label {parent} are locked.
        slots:
          parent: path.parent
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{parent}/permissions'].get
  update:
    x-apievangelist-phrasing:
      intent: List a label's permissions
      effect: read
      questions:
      - Who has access to a particular label?
      - Can I list the permissions on a label as an admin?
      instructions:
      - text: List permissions on label {parent}.
        slots:
          parent: path.parent
      - text: Show who can edit label {parent}.
        slots:
          parent: path.parent
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{parent}/permissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Grant a user or group access to a label
      effect: write
      questions:
      - How do I give a user permission on a label?
      - Can I grant a group access to a label?
      instructions:
      - text: Grant {role} permission on label {parent} to {email}.
        slots:
          role: requestBody.role
          parent: path.parent
          email: requestBody.email
      - text: Give group {group} the {role} role on label {parent}.
        slots:
          group: requestBody.group
          role: requestBody.role
          parent: path.parent
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{parent}/permissions'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a Drive label's permissions
      effect: write
      questions:
      - How do I give a user or group permission to a Drive label?
      - Do label permissions need to be published after I change them?
      instructions:
      - text: Update the permissions on label {parent} to give {email} the {role} role.
        slots:
          parent: path.parent
          email: requestBody.email
          role: requestBody.role
      - text: Grant group {group} the {role} role on label {parent}.
        slots:
          group: requestBody.group
          role: requestBody.role
          parent: path.parent
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{parent}/permissions:batchDelete'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete Drive label permissions in bulk
      effect: destructive
      questions:
      - Can I revoke several Drive label permissions at once?
      - What happens to a label when all its permissions are removed?
      instructions:
      - text: Delete the listed permissions from label {parent}.
        slots:
          parent: path.parent
      - text: 'Revoke these Drive label permissions in one batch: {requests}.'
        slots:
          requests: requestBody.requests
      method: generated
      generated: '2026-11-15'
- target: $.paths['/v2/{parent}/permissions:batchUpdate'].post
  update:
    x-apievangelist-phrasing:
      intent: Update Drive label permissions in bulk
      effect: write
      questions:
      - Can I change several Drive label permissions in one request?
      - How do I add a new permission to a label without publishing it?
      instructions:
      - text: 'Apply these permission changes to label {parent}: {requests}.'
        slots:
          parent: path.parent
          requests: requestBody.requests
      - text: Bulk update the Drive label permissions on {parent} to {requests}.
        slots:
          parent: path.parent
          requests: requestBody.requests
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/labels'].get
  update:
    x-apievangelist-phrasing:
      intent: List a Gmail user's labels
      effect: read
      questions:
      - What labels exist in my Gmail account?
      - Can I see all the labels a user has set up?
      instructions:
      - text: List all labels in the mailbox of user {userId}.
        slots:
          userId: path.userId
      - text: Show every Gmail label for {userId}.
        slots:
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/labels/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a Gmail label
      effect: write
      questions:
      - How do I overwrite a Gmail label's settings completely?
      - Can I replace a label's details with a full new definition?
      instructions:
      - text: Replace the Gmail label {id} for user {userId} with this definition.
        slots:
          id: path.id
          userId: path.userId
      - text: Overwrite label {id} in {userId}'s mailbox.
        slots:
          id: path.id
          userId: path.userId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/gmail/v1/users/{userId}/labels/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Patch a Gmail label
      effect: write
      questions:
      - Can I change just one field of a Gmail label without resending the whole thing?
      - How do I rename a label that already exists?
      instructions:
      - text: Patch the Gmail label {id} for user {userId} with these changes.
        slots:
          id: path.id
          userId: path.userId
      - text: Rename label {id} in {userId}'s mailbox to something else.
        slots:
          id: path.id
          userId: path.userId
      method: generated
      generated: '2026-11-15'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/google-labels-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.