public sealed class BatchEnableServicesRequest : IMessage<BatchEnableServicesRequest>, IEquatable<BatchEnableServicesRequest>, IDeepCloneable<BatchEnableServicesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Usage v1 API class BatchEnableServicesRequest.
Request message for the BatchEnableServices method.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBatchEnableServicesRequest\u003c/code\u003e class is a request message for the \u003ccode\u003eBatchEnableServices\u003c/code\u003e method in the Service Usage v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed to enable multiple services on a project, supporting up to 20 services per request, and it requires each service to be public or shared with the user.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API available is 2.5.0, and this class is available in a multitude of other versions as well, down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class, meaning it can use those common members.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchEnableServicesRequest\u003c/code\u003e class contains two properties: \u003ccode\u003eParent\u003c/code\u003e, which specifies the project to enable the services on, and \u003ccode\u003eServiceIds\u003c/code\u003e, which is a collection of the identifiers for the services to enable.\u003c/p\u003e\n"]]],[],null,[]]