Interface Params$Resource$Files$List

Hierarchy

  • StandardParameters
    • Params$Resource$Files$List

Properties

alt?: string

Data format for the response.

auth?: string | OAuth2Client | Compute | JWT | UserRefreshClient | BaseExternalAccountClient | GoogleAuth<JSONClient>

Auth client or API Key for the request

corpora?: string

Groupings of files to which the query applies. Supported groupings are: 'user' (files created by, opened by, or shared directly with the user), 'drive' (files in the specified shared drive as indicated by the 'driveId'), 'domain' (files shared to the user's domain), and 'allDrives' (A combination of 'user' and 'drive' for all drives where the user is a member). When able, use 'user' or 'drive', instead of 'allDrives', for efficiency.

corpus?: string

The source of files to list. Deprecated: use 'corpora' instead.

driveId?: string

ID of the shared drive to search.

fields?: string

Selector specifying which fields to include in a partial response.

includeItemsFromAllDrives?: boolean

Whether both My Drive and shared drive items should be included in results.

includePermissionsForView?: string

Specifies which additional view's permissions to include in the response. Only 'published' is supported.

includeTeamDriveItems?: boolean

Deprecated use includeItemsFromAllDrives instead.

key?: string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token?: string

OAuth 2.0 token for the current user.

orderBy?: string

A comma-separated list of sort keys. Valid keys are 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', 'name_natural', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and 'viewedByMeTime'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.

pageSize?: number

The maximum number of files to return per page. Partial or empty result pages are possible even before the end of the files list has been reached.

pageToken?: string

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

prettyPrint?: boolean

Returns response with indentations and line breaks.

q?: string

A query for filtering the file results. See the "Search for Files" guide for supported syntax.

quotaUser?: string

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

spaces?: string

A comma-separated list of spaces to query within the corpus. Supported values are 'drive' and 'appDataFolder'.

supportsAllDrives?: boolean

Whether the requesting application supports both My Drives and shared drives.

supportsTeamDrives?: boolean

Deprecated use supportsAllDrives instead.

teamDriveId?: string

Deprecated use driveId instead.

userIp?: string

Deprecated. Please use quotaUser instead.

Generated using TypeDoc