For a list of methods for this resource, see the end of this page.

Resource representations

A key-value pair attached to a file that is either public or private to an application.

The following limits apply to file properties:

  • Maximum of 100 properties total per file
  • Maximum of 30 private properties per app
  • Maximum of 30 public properties
  • Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding for a single property.

  "kind": "drive#property",
  "etag": etag,
  "selfLink": string,
  "key": string,
  "visibility": string,
  "value": string
Property name Value Description Notes
kind string This is always drive#property.
etag etag ETag of the property.
key string The key of this property.
visibility string The visibility of this property.
value string The value of this property.


Deletes a property.
Gets a property by its key.
Adds a property to a file, or updates it if it already exists.
Lists a file's properties.
Updates a property, or adds it if it doesn't exist. This method supports patch semantics.
Updates a property, or adds it if it doesn't exist.

Send feedback about...

Drive REST API v2
Drive REST API v2