Class DisableServiceRequest (1.2.0)

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

Request message for DisableService method.

Inheritance

Object > DisableServiceRequest

Namespace

Google.Cloud.ServiceManagement.V1

Assembly

Google.Cloud.ServiceManagement.V1.dll

Constructors

DisableServiceRequest()

public DisableServiceRequest()

DisableServiceRequest(DisableServiceRequest)

public DisableServiceRequest(DisableServiceRequest other)
Parameter
NameDescription
otherDisableServiceRequest

Properties

ConsumerId

public string ConsumerId { get; set; }

Required. The identity of consumer resource which service disablement 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 disable. Specifying an unknown service name will cause the request to fail.

Property Value
TypeDescription
String