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\u003eThis document provides reference information for the \u003ccode\u003eBatchEnableServicesRequest\u003c/code\u003e class within the Service Usage v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchEnableServicesRequest\u003c/code\u003e class is used to send a request to enable multiple services, up to 20 at a time, on a specified project.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for use within the Service Usage v1 API, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for specifying the parent project (e.g., \u003ccode\u003eprojects/123\u003c/code\u003e) and a list of \u003ccode\u003eServiceIds\u003c/code\u003e to enable, with each \u003ccode\u003eServiceId\u003c/code\u003e being a string like "serviceusage.googleapis.com".\u003c/p\u003e\n"],["\u003cp\u003eThe document specifies information about the available versions of this class, from 1.0.0 up to the latest, 2.5.0, with links for each.\u003c/p\u003e\n"]]],[],null,[]]