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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference information for the `EnableServiceRequest` class within the Google Cloud Service Usage v1 API, specifically version 2.2.0."],["`EnableServiceRequest` is a request message used in the `EnableService` method, and it inherits from the base `object` class while implementing several interfaces, such as `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The `EnableServiceRequest` class includes two constructors: a default constructor and a copy constructor that takes another `EnableServiceRequest` as a parameter."],["The `Name` property of the `EnableServiceRequest` class is a string representing the name of the consumer and service, formatted like `projects/123/services/serviceusage.googleapis.com`, where `123` is the project number."],["The `EnableService` method, which uses the `EnableServiceRequest` class, allows users to enable a service, however it is restricted to services that are either public or shared with the user."]]],[]]