- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists services in a project and location.
HTTP request
GET https://metastore.googleapis.com/v1/{parent}/services
Path parameters
parent
string
Required. The relative resource name of the location of metastore services to list, in the following form:
projects/{projectNumber}/locations/{locationId}
.
Authorization requires the following IAM
permission on the specified resource parent
:
-
metastore.services.list
Query parameters
Parameters | |
---|---|
pageSize
|
Optional. The maximum number of services to return. The response may contain less than the maximum number. If unspecified, no more than 500 services are returned. The maximum value is 1000; values above 1000 are changed to 1000. |
pageToken
|
Optional. A page token, received from a previous To retrieve the first page, supply an empty page token. When paginating, other parameters provided to |
filter
|
Optional. The filter to apply to list results. |
orderBy
|
Optional. Specify the ordering of results as described in Sorting Order . If not specified, the results will be sorted in the default order. |
Request body
The request body must be empty.
Response body
Response message for DataprocMetastore.ListServices
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"services"
:
[
{
object (
|
Fields | |
---|---|
services[]
|
The services in the specified location. |
nextPageToken
|
A token that can be sent as |
unreachable[]
|
Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .