v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-139139155.5 KB
services

Enable multiple services on a project. The operation is atomic: if enabling any service fails, then the entire batch fails, and no state changes occur. To enable a single service, use the EnableService method instead.

post/v1/{+parent}/services:batchEnable

Path parameters

parentstring required

Parent to enable services on. An example name would be: projects/123 where 123 is the project number. The BatchEnableServices method currently only supports projects.

Request body

serviceIdsstring[]

The identifiers of the services to enable on the project. A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.

Response

Successful response