Returns the service configurations and enabled states for a given list of services.
HTTP request
GET https://serviceusage.googleapis.com/v1/{parent=*/*}/services:batchGet
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Parent to retrieve services from. If this is set, the parent of all of the services specified in Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
names[] |
Names of the services to retrieve. An example name would be: |
Request body
The request body must be empty.
Response body
Response message for the services.batchGet
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"services": [
{
object ( |
Fields | |
---|---|
services[] |
The requested Service states. |
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.