public sealed class EnableServiceRequest : IMessage<EnableServiceRequest>, IEquatable<EnableServiceRequest>, IDeepCloneable<EnableServiceRequest>, IBufferMessage, IMessage
Request message for the EnableService
method.
Implements
IMessage<EnableServiceRequest>, IEquatable<EnableServiceRequest>, IDeepCloneable<EnableServiceRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceUsage.V1Assembly
Google.Cloud.ServiceUsage.V1.dll
Constructors
EnableServiceRequest()
public EnableServiceRequest()
EnableServiceRequest(EnableServiceRequest)
public EnableServiceRequest(EnableServiceRequest other)
Parameter | |
---|---|
Name | Description |
other | EnableServiceRequest |
Properties
Name
public string Name { get; set; }
Name of the consumer and service to enable the service on.
The EnableService
and DisableService
methods currently only support
projects.
Enabling a service requires that the service is public or is shared with the user enabling the service.
An example name would be:
projects/123/services/serviceusage.googleapis.com
where 123
is the
project number.
Property Value | |
---|---|
Type | Description |
String |