Method: sharedServices.list

List shared services to the given resource.

HTTP request

GET https://serviceusage.googleapis.com/v2beta/{parent=*/*}/sharedServices

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name that services are shared with. Format: projects/100, folders/101 or organizations/102.

Query parameters

Parameters
pageSize

integer

The maximum number of services to return. The service may return fewer than this value. If unspecified, at most 50 services will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken

string

A page token, received from a previous sharedServices.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to sharedServices.list must match the call that provided the page token.

filter

string

A filter to apply to the list of services.

Supported filter strings include: - mcpServer:urls True if service's mcpServer.urls field is not empty.

Request body

The request body must be empty.

Response body

The response message of the sharedServices.list method.

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

JSON representation
{
  "sharedServices": [
    {
      object (SharedService)
    }
  ],
  "nextPageToken": string
}
Fields
sharedServices[]

object (SharedService)

Output only. The services that are shared with the parent resource.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

SharedService

A shared service available to the parent resource.

JSON representation
{
  "name": string,
  "service": {
    object (Service)
  }
}
Fields
name

string

Output only. The name of the shared service in format, e.g., projects/{project}/services/{service}, folders/{folder}/services/{service}, organizations/{organization}/services/{service}.

service

object (Service)

Output only. The service referenced by this shared service.