Class Control (2.2.0)

 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
Name
Description
other

Fields

EnvironmentFieldNumber

  public 
  
 const 
  
 int 
  
 EnvironmentFieldNumber 
  
 = 
  
 1 
 

Field number for the "environment" field.

Field Value
Type
Description

Properties

Descriptor

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

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
Type
Description

Parser

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

Methods

CalculateSize()

 public int CalculateSize() 
Returns
Type
Description

Clone()

 public Control Clone() 
Returns
Type
Description

Equals(Control)

 public bool Equals(Control other) 
Parameter
Name
Description
other
Returns
Type
Description

Equals(Object)

 public override bool Equals(object other) 
Parameter
Name
Description
other
Returns
Type
Description

GetHashCode()

 public override int GetHashCode() 
Returns
Type
Description

MergeFrom(Control)

 public void MergeFrom(Control other) 
Parameter
Name
Description
other

MergeFrom(Protobuf.CodedInputStream)

 public void MergeFrom(Protobuf.CodedInputStream input) 
Parameter
Name
Description

ToString()

 public override string ToString() 
Returns
Type
Description

WriteTo(Protobuf.CodedOutputStream)

 public void WriteTo(Protobuf.CodedOutputStream output) 
Parameter
Name
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: