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 for .NET, specifically version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchEnableServicesRequest\u003c/code\u003e is used to send requests for the \u003ccode\u003eBatchEnableServices\u003c/code\u003e method, allowing users to enable multiple services on a project simultaneously.\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, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eParent\u003c/code\u003e, which specifies the project on which to enable the services, and \u003ccode\u003eServiceIds\u003c/code\u003e, which contains a list of service identifiers to enable.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one with no parameters, and another to copy the information from an existing \u003ccode\u003eBatchEnableServicesRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]