public sealed class EnableServiceRequest : IMessage<EnableServiceRequest>, IEquatable<EnableServiceRequest>, IDeepCloneable<EnableServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Usage v1 API class EnableServiceRequest.
[[["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\u003eEnableServiceRequest\u003c/code\u003e class within the Google Cloud Service Usage v1 API, specifically version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEnableServiceRequest\u003c/code\u003e is a request message used in the \u003ccode\u003eEnableService\u003c/code\u003e method, and it inherits from the base \u003ccode\u003eobject\u003c/code\u003e class while implementing several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableServiceRequest\u003c/code\u003e class includes two constructors: a default constructor and a copy constructor that takes another \u003ccode\u003eEnableServiceRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of the \u003ccode\u003eEnableServiceRequest\u003c/code\u003e class is a string representing the name of the consumer and service, formatted like \u003ccode\u003eprojects/123/services/serviceusage.googleapis.com\u003c/code\u003e, where \u003ccode\u003e123\u003c/code\u003e is the project number.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableService\u003c/code\u003e method, which uses the \u003ccode\u003eEnableServiceRequest\u003c/code\u003e class, allows users to enable a service, however it is restricted to services that are either public or shared with the user.\u003c/p\u003e\n"]]],[],null,[]]