Class Property
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class Property : IDirectResponseSchema
Properties
ETag
ETag of the property.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Key
The key of this property.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Kind
This is always drive#property.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SelfLink
The link back to this property.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
The value of this property.
Declaration
[JsonProperty("value")]
public virtual string Value { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Visibility
The visibility of this property. Allowed values are PRIVATE and PUBLIC. (Default: PRIVATE). Private properties can only be retrieved using an authenticated request. An authenticated request uses an access token obtained with a OAuth 2 client ID. You cannot use an API key to retrieve private properties.
Declaration
[JsonProperty("visibility")]
public virtual string Visibility { get; set; }
Property Value
| Type | Description |
|---|---|
| string |