Method: services.list

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 gRPC Transcoding syntax.

Query parameters

Parameters
producerProjectId

string

Include services produced by the specified project.

pageSize

integer

The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100.

pageToken

string

token identifying which result to start with; returned by a previous list call.

consumerId

string

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 (ManagedService)
    }
  ],
  "nextPageToken": string
}
Fields
services[]

object (ManagedService)

The returned services will only have the name field set.

nextPageToken

string

token that can be passed to services.list to resume a paginated query.

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 Authentication Overview.