Class LabelField
Representation of field, which is a typed key-value pair.
Implements
Inherited Members
Namespace: Google.Apis.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class LabelField : IDirectResponseSchema
Properties
DateString
Only present if valueType is dateString. RFC 3339 formatted date: YYYY-MM-DD.
Declaration
[JsonProperty("dateString")]
public virtual IList<string> DateString { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The identifier of this label field.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Integer
Only present if valueType
is integer
.
Declaration
[JsonProperty("integer")]
public virtual IList<long?> Integer { get; set; }
Property Value
Type | Description |
---|---|
IList<long?> |
Kind
This is always drive#labelField.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Selection
Only present if valueType
is selection
Declaration
[JsonProperty("selection")]
public virtual IList<string> Selection { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Text
Only present if valueType
is text
.
Declaration
[JsonProperty("text")]
public virtual IList<string> Text { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
User
Only present if valueType
is user
.
Declaration
[JsonProperty("user")]
public virtual IList<User> User { get; set; }
Property Value
Type | Description |
---|---|
IList<User> |
ValueType
The field type. While new values may be supported in the future, the following are currently allowed: *
dateString
* integer
* selection
* text
* user
Declaration
[JsonProperty("valueType")]
public virtual string ValueType { get; set; }
Property Value
Type | Description |
---|---|
string |