Lists managed services.
Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for.
BETA: If the caller specifies the consumerId
, it returns only the services enabled on the consumer. The consumerId
must have the format of "project:{PROJECT-ID}".
HTTP request
GET https://servicemanagement.googleapis.com/v1/services
The URL uses Google API HTTP annotation syntax.
Query parameters
Parameters | |
---|---|
producerProjectId |
Include services produced by the specified project. |
pageSize |
Requested size of the next page of data. |
pageToken |
token identifying which result to start with; returned by a previous list call. |
consumerId |
Include services consumed by the specified consumer. The Google Service Management implementation accepts the following forms: - project: |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for services.list
method.
JSON representation | |
---|---|
{
"services": [
{
object( |
Fields | |
---|---|
services[] |
The returned services will only have the name field set. |
nextPageToken |
token that can be passed to |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/service.management.readonly
https://www.googleapis.com/auth/cloud-platform.read-only
https://www.googleapis.com/auth/service.management
https://www.googleapis.com/auth/cloud-platform
For more information, see the Auth Guide.