Class LabelField
Representation of a label field.
Inheritance
object
LabelField
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.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 |
|---|---|
| System.Collections.Generic.IList<T><string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
The identifier of this 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 |
|---|---|
| System.Collections.Generic.IList<T><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 |
|---|---|
| System.Collections.Generic.IList<T><string> |
Text
Only present if valueType is text.
Declaration
[JsonProperty("text")]
public virtual IList<string> Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<T><string> |
User
Only present if valueType is user.
Declaration
[JsonProperty("user")]
public virtual IList<User> User { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<T><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 |