Property class

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.


Property.fromJson(Map _json)


etag String
ETag of the property.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
key String
The key of this property.
read / write
kind String
This is always drive#property.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
The link back to this property.
read / write
value String
The value of this property.
read / write
visibility String
The visibility of this property. Allowed values are PRIVATE and PUBLIC. (Default: PRIVATE)
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]