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 Service Usage v1 API from Google Cloud.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableServiceRequest\u003c/code\u003e class is used as the request message for the \u003ccode\u003eEnableService\u003c/code\u003e method, and is part of the \u003ccode\u003eGoogle.Cloud.ServiceUsage.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class is available in multiple versions, with version 2.5.0 being the latest, and 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEnableServiceRequest\u003c/code\u003e can be constructed with no arguments or with another \u003ccode\u003eEnableServiceRequest\u003c/code\u003e instance, and it contains a \u003ccode\u003eName\u003c/code\u003e property, which holds the resource name of the consumer and service.\u003c/p\u003e\n"],["\u003cp\u003eThe document shows that enabling a service using \u003ccode\u003eEnableServiceRequest\u003c/code\u003e requires that the service is public or is shared with the user.\u003c/p\u003e\n"]]],[],null,[]]