Projects: getXpnResources

Requires authorization

Get XPN resources associated with this host project.


HTTP request



Parameter name Value Description
Path parameters
project string Project ID for this request.
Optional query parameters
filter string
maxResults unsigned integer
order_by string
pageToken string


This request requires authorization with at least one of the following scopes (read more about authentication and authorization).


Request body

Do not supply a request body with this method.


If successful, this method returns a response body with the following structure:

  "kind": "compute#projectsGetXpnResources",
  "resources": [
      "type": string,
      "id": string
  "nextPageToken": string
Property name Value Description Notes
kind string [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of XPN resources.
resources[] list XPN resources attached to this project as their XPN host.
resources[].type string The type of the XPN resource.
resources[].id string The ID of the XPN resource. In the case of projects, this field matches the project's name, not the canonical ID.
nextPageToken string [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

Send feedback about...

Compute Engine