Class EnableServiceRequest (1.2.0)

public sealed class EnableServiceRequest : IMessage<EnableServiceRequest>, IEquatable<EnableServiceRequest>, IDeepCloneable<EnableServiceRequest>, IBufferMessage, IMessage

Request message for the EnableService method.

Inheritance

Object > EnableServiceRequest

Namespace

Google.Cloud.ServiceUsage.V1

Assembly

Google.Cloud.ServiceUsage.V1.dll

Constructors

EnableServiceRequest()

public EnableServiceRequest()

EnableServiceRequest(EnableServiceRequest)

public EnableServiceRequest(EnableServiceRequest other)
Parameter
NameDescription
otherEnableServiceRequest

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
TypeDescription
String