Method: projects.locations.persistentResources.list

Lists PersistentResources in a Location.

HTTP request

GET https://{service-endpoint}/v1/{parent}/persistentResources

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

Parameters
parent

string

Required. The resource name of the Location to list the PersistentResources from. Format: projects/{project}/locations/{location}

Query parameters

Parameters
pageSize

integer

Optional. The standard list page size.

pageToken

string

Optional. The standard list page token. Typically obtained via [ListPersistentResourceResponse.next_page_token][] of the previous [PersistentResourceService.ListPersistentResource][] call.

Request body

The request body must be empty.

Response body

Response message for PersistentResourceService.ListPersistentResources

If successful, the response body contains data with the following structure:

JSON representation
{
  "persistentResources": [
    {
      object (PersistentResource)
    }
  ],
  "nextPageToken": string
}
Fields
persistentResources[]

object (PersistentResource)

nextPageToken

string

A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • aiplatform.persistentResources.list

For more information, see the IAM documentation.