Show / Hide Table of Contents

Class GoogleAppsDriveLabelsV2Field

Defines a field that has a display name, data type, and other configuration options. This field defines the kind of metadata that may be set on a Drive item.

Inheritance
object
GoogleAppsDriveLabelsV2Field
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DriveLabels.v2.Data
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class GoogleAppsDriveLabelsV2Field : IDirectResponseSchema

Properties

AppliedCapabilities

Output only. The capabilities this user has on this field and its value when the label is applied on Drive items.

Declaration
[JsonProperty("appliedCapabilities")]
public virtual GoogleAppsDriveLabelsV2FieldAppliedCapabilities AppliedCapabilities { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldAppliedCapabilities

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The time this field was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Creator

Output only. The user who created this field.

Declaration
[JsonProperty("creator")]
public virtual GoogleAppsDriveLabelsV2UserInfo Creator { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2UserInfo

DateOptions

Date field options.

Declaration
[JsonProperty("dateOptions")]
public virtual GoogleAppsDriveLabelsV2FieldDateOptions DateOptions { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldDateOptions

DisableTime

object representation of DisableTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DisableTimeDateTimeOffset instead.")]
public virtual object DisableTime { get; set; }
Property Value
Type Description
object

DisableTimeDateTimeOffset

DateTimeOffset representation of DisableTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? DisableTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

DisableTimeRaw

Output only. The time this field was disabled. This value has no meaning when the field is not disabled.

Declaration
[JsonProperty("disableTime")]
public virtual string DisableTimeRaw { get; set; }
Property Value
Type Description
string

Disabler

Output only. The user who disabled this field. This value has no meaning when the field is not disabled.

Declaration
[JsonProperty("disabler")]
public virtual GoogleAppsDriveLabelsV2UserInfo Disabler { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2UserInfo

DisplayHints

Output only. UI display hints for rendering a field.

Declaration
[JsonProperty("displayHints")]
public virtual GoogleAppsDriveLabelsV2FieldDisplayHints DisplayHints { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldDisplayHints

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

Output only. The key of a field, unique within a label or library. This value is autogenerated. Matches the regex: ([a-zA-Z0-9])+

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

IntegerOptions

Integer field options.

Declaration
[JsonProperty("integerOptions")]
public virtual GoogleAppsDriveLabelsV2FieldIntegerOptions IntegerOptions { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldIntegerOptions

Lifecycle

Output only. The lifecycle of this field.

Declaration
[JsonProperty("lifecycle")]
public virtual GoogleAppsDriveLabelsV2Lifecycle Lifecycle { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2Lifecycle

LockStatus

Output only. The LockStatus of this field.

Declaration
[JsonProperty("lockStatus")]
public virtual GoogleAppsDriveLabelsV2LockStatus LockStatus { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2LockStatus

Properties

The basic properties of the field.

Declaration
[JsonProperty("properties")]
public virtual GoogleAppsDriveLabelsV2FieldProperties Properties { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldProperties

Publisher

Output only. The user who published this field. This value has no meaning when the field is not published.

Declaration
[JsonProperty("publisher")]
public virtual GoogleAppsDriveLabelsV2UserInfo Publisher { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2UserInfo

QueryKey

Output only. The key to use when constructing Drive search queries to find files based on values defined for this field on files. For example, "{query_key} > 2001-01-01".

Declaration
[JsonProperty("queryKey")]
public virtual string QueryKey { get; set; }
Property Value
Type Description
string

SchemaCapabilities

Output only. The capabilities this user has when editing this field.

Declaration
[JsonProperty("schemaCapabilities")]
public virtual GoogleAppsDriveLabelsV2FieldSchemaCapabilities SchemaCapabilities { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldSchemaCapabilities

SelectionOptions

Selection field options.

Declaration
[JsonProperty("selectionOptions")]
public virtual GoogleAppsDriveLabelsV2FieldSelectionOptions SelectionOptions { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldSelectionOptions

TextOptions

Text field options.

Declaration
[JsonProperty("textOptions")]
public virtual GoogleAppsDriveLabelsV2FieldTextOptions TextOptions { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldTextOptions

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The time this field was updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Updater

Output only. The user who modified this field.

Declaration
[JsonProperty("updater")]
public virtual GoogleAppsDriveLabelsV2UserInfo Updater { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2UserInfo

UserOptions

User field options.

Declaration
[JsonProperty("userOptions")]
public virtual GoogleAppsDriveLabelsV2FieldUserOptions UserOptions { get; set; }
Property Value
Type Description
GoogleAppsDriveLabelsV2FieldUserOptions

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX