Class Control

public sealed class Control : Protobuf.IMessage<Control>, Protobuf.IBufferMessage

Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.

Inheritance

Object > Control

Namespace

Google.Api

Assembly

Google.Api.CommonProtos.dll

Constructors

Control()

public Control()

Control(Control)

public Control(Control other)
Parameter
TypeNameDescription
Controlother

Fields

EnvironmentFieldNumber

public const int EnvironmentFieldNumber = 1

Field number for the "environment" field.

Field Value
TypeDescription
Int32

Properties

Descriptor

public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
Protobuf.Reflection.MessageDescriptor

Environment

public string Environment { get; set; }

The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.

Property Value
TypeDescription
String

Parser

public static Protobuf.MessageParser<Control> Parser { get; }
Property Value
TypeDescription
Protobuf.MessageParser<Control>

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public Control Clone()
Returns
TypeDescription
Control

Equals(Control)

public bool Equals(Control other)
Parameter
TypeNameDescription
Controlother
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
TypeNameDescription
Objectother
Returns
TypeDescription
Boolean

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(Control)

public void MergeFrom(Control other)
Parameter
TypeNameDescription
Controlother

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
TypeNameDescription
Protobuf.CodedInputStreaminput

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
TypeNameDescription
Protobuf.CodedOutputStreamoutput

Implements