Method: projects.locations.services.list

Lists Services. Results are sorted by creation time, descending.

HTTP request

GET https://run.googleapis.com/v2/{parent}/services

Path parameters

Parameters
parent

string

Required. The location and project to list resources on. Location must be a valid Google Cloud region, and cannot be the "-" wildcard. Format: projects/{project}/locations/{location}, where {project} can be project id or number. It takes the formprojects/{project}/locations/{location}.

Authorization requires the followingIAM permission on the specified resourceparent:

  • run.services.list

Query parameters

Parameters
pageSize

integer

Maximum number of Services to return in this call.

pageToken

string

A page token received from a previous call to services.list. All other parameters must match.

showDeleted

boolean

If true, returns deleted (but unexpired) resources along with active ones.

Request body

The request body must be empty.

Response body

Response message containing a list of Services.

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

JSON representation
{"services":[{object (Service)}],"nextPageToken":string,"unreachable":[string]}
Fields
services[]

object (Service)

The resulting list of Services.

nextPageToken

string

A token indicating there are more items than pageSize. Use it in the next services.list request to continue.

unreachable[]

string

Output only. For global requests, returns the list of regions that could not be reached within the deadline.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see theAuthentication Overview.

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 2026-02-10 UTC.