projects

GET /v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/files

Changed on

Lists the files owned by the requesting project and location. Supports two mutually exclusive modes: paginated listing via an opaque page cursor, or batch fetch by ids. See ListFilesRequest.

Request

  • Base URL
    https://aiplatform.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/cloud-platform
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required
publishersIdstring required

Query parameters

limitinteger

Optional. The number of files to return per page. Defaults to 20 if unset, maximum 1000. Mutually exclusive with ids.

pagestring

Optional. Opaque pagination cursor. Pass the previous response's next_page to fetch the next page. Mutually exclusive with ids.

Response

Successful response

next_pagestring

Opaque cursor for the next page. Unset on the last page, and always unset when ids was supplied, since batch fetch is single-page.

Changes