Google is committed to advancing racial equity for Black communities. See how.

SearchableField

public class SearchableField extends Object

An attribute of the file that is to be searched.

Field Summary

public static final SearchableMetadataField<Boolean> IS_PINNED Whether the user has pinned the item.
public static final SearchableOrderedMetadataField<Date> LAST_VIEWED_BY_ME The date this resource was most recently viewed by the user.
public static final SearchableMetadataField<String> MIME_TYPE The MIME type of the item.
public static final SearchableOrderedMetadataField<Date> MODIFIED_DATE The date when the item was most recently modified.
public static final SearchableCollectionMetadataField<DriveId> PARENTS The IDs of the parent folders (if any) of the item.
public static final SearchableMetadataField<Boolean> STARRED Whether the user has starred the item.
public static final SearchableMetadataField<String> TITLE The title of the item.
public static final SearchableMetadataField<Boolean> TRASHED Whether the item is in the trash.

Public Constructor Summary

Inherited Method Summary

Fields

public static final SearchableMetadataField<Boolean> IS_PINNED

Whether the user has pinned the item.

public static final SearchableOrderedMetadataField<Date> LAST_VIEWED_BY_ME

The date this resource was most recently viewed by the user.

public static final SearchableMetadataField<String> MIME_TYPE

The MIME type of the item.

public static final SearchableOrderedMetadataField<Date> MODIFIED_DATE

The date when the item was most recently modified.

public static final SearchableCollectionMetadataField<DriveId> PARENTS

The IDs of the parent folders (if any) of the item.

public static final SearchableMetadataField<Boolean> STARRED

Whether the user has starred the item.

public static final SearchableMetadataField<String> TITLE

The title of the item.

public static final SearchableMetadataField<Boolean> TRASHED

Whether the item is in the trash.

Public Constructors

public SearchableField ()