SearchableField Stay organized with collections Save and categorize content based on your preferences.
Page Summary
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 finalSearchableMetadataField<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 finalSearchableMetadataField<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 finalSearchableMetadataField<Boolean>STARRED
Whether the user has starred the item.
public static finalSearchableMetadataField<String>TITLE
The title of the item.
public static finalSearchableMetadataField<Boolean>TRASHED
Whether the item is in the trash.
Public Constructors
publicSearchableField()
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.