AI-generated Key Takeaways
-
SearchableField represents an attribute of a file that can be searched.
-
SearchableField provides constants to access various searchable attributes of a file, such as whether it's pinned, its last viewed date, MIME type, modified date, parent folders, starred status, title, and trashed status.
-
The class has a public constructor.
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.

