Class EnableServiceRequest (1.3.0)

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

Request message for EnableService method.

Inheritance

Object > EnableServiceRequest

Namespace

Google.Cloud.ServiceManagement.V1

Assembly

Google.Cloud.ServiceManagement.V1.dll

Constructors

EnableServiceRequest()

public EnableServiceRequest()

EnableServiceRequest(EnableServiceRequest)

public EnableServiceRequest(EnableServiceRequest other)
Parameter
NameDescription
otherEnableServiceRequest

Properties

ConsumerId

public string ConsumerId { get; set; }

Required. The identity of consumer resource which service enablement will be applied to.

The Google Service Management implementation accepts the following forms:

  • "project:<project_id>"

Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id.

Property Value
TypeDescription
String

ServiceName

public string ServiceName { get; set; }

Required. Name of the service to enable. Specifying an unknown service name will cause the request to fail.

Property Value
TypeDescription
String