Method: services.batchGet

Get the details of a collection of services.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the parent resource.

Query parameters

Parameters
services[]

string

Required. The names of the service states to get.

A valid identifier would be: projects/123/services/serviceusage.googleapis.com A single request can get a maximum of 20 services at a time.

view

enum (ServiceStateView)

The view of the service state to use.

Request body

The request body must be empty.

Response body

The response message of the services.batchGet method.

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

JSON representation
{
  "services": [
    {
      object (ServiceState)
    }
  ]
}
Fields
services[]

object (ServiceState)

The details about the requested services.

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.