Google · Schema
ModifyLabelsRequest
A request to modify the set of labels on a file. This request may contain many modifications that will either all succeed or all fail atomically.
AdvertisingCloudDevelopersGooglePlatformSearchT1Agentic CommerceUniversal Commerce ProtocolAP2A2A
Properties
| Name | Type | Description |
|---|---|---|
| kind | string | This is always drive#modifyLabelsRequest. |
| labelModifications | array | The list of modifications to apply to the labels on the file. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/google/main/json-schema/google-modify-labels-request-schema.json",
"title": "ModifyLabelsRequest",
"description": "A request to modify the set of labels on a file. This request may contain many modifications that will either all succeed or all fail atomically.",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-files-api-openapi.yml#/components/schemas/ModifyLabelsRequest",
"properties": {
"kind": {
"description": "This is always drive#modifyLabelsRequest.",
"type": "string"
},
"labelModifications": {
"description": "The list of modifications to apply to the labels on the file.",
"items": {
"$ref": "#/$defs/LabelModification"
},
"type": "array"
}
},
"type": "object",
"$defs": {
"LabelFieldModification": {
"description": "A modification to a label's field.",
"properties": {
"fieldId": {
"description": "The ID of the field to be modified.",
"type": "string"
},
"kind": {
"description": "This is always drive#labelFieldModification.",
"type": "string"
},
"setDateValues": {
"description": "Replaces the value of a dateString Field with these new values. The string must be in the RFC 3339 full-date format: YYYY-MM-DD.",
"items": {
"format": "date",
"type": "string"
},
"type": "array"
},
"setIntegerValues": {
"description": "Replaces the value of an `integer` field with these new values.",
"items": {
"format": "int64",
"type": "string"
},
"type": "array"
},
"setSelectionValues": {
"description": "Replaces a `selection` field with these new values.",
"items": {
"type": "string"
},
"type": "array"
},
"setTextValues": {
"description": "Sets the value of a `text` field.",
"items": {
"type": "string"
},
"type": "array"
},
"setUserValues": {
"description": "Replaces a `user` field with these new values. The values must be valid email addresses.",
"items": {
"type": "string"
},
"type": "array"
},
"unsetValues": {
"description": "Unsets the values for this field.",
"type": "boolean"
}
},
"type": "object"
},
"LabelModification": {
"description": "A modification to a label on a file. A LabelModification can be used to apply a label to a file, update an existing label on a file, or remove a label from a file.",
"properties": {
"fieldModifications": {
"description": "The list of modifications to this label's fields.",
"items": {
"$ref": "#/$defs/LabelFieldModification"
},
"type": "array"
},
"kind": {
"description": "This is always drive#labelModification.",
"type": "string"
},
"labelId": {
"description": "The ID of the label to modify.",
"type": "string"
},
"removeLabel": {
"description": "If true, the label will be removed from the file.",
"type": "boolean"
}
},
"type": "object"
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-modify-labels-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.