Class Control
Selects and configures the service controller used by the service. The
service controller handles features like abuse, quota, billing, logging,
monitoring, etc.
Inheritance
System.Object
Control
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class Control : IMessage<Control>, IMessage, IEquatable<Control>, IDeepCloneable<Control>
Constructors
Control()
Declaration
Control(Control)
Declaration
public Control(Control other)
Parameters
Type |
Name |
Description |
Control |
other |
|
Fields
EnvironmentFieldNumber
Field number for the "environment" field.
Declaration
public const int EnvironmentFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Environment
The service control environment to use. If empty, no control plane
feature (like quota and billing) will be enabled.
Declaration
public string Environment { get; set; }
Property Value
Type |
Description |
System.String |
|
Parser
Declaration
public static MessageParser<Control> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
Returns
Implements
Equals(Control)
Declaration
public bool Equals(Control other)
Parameters
Type |
Name |
Description |
Control |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
MergeFrom(Control)
Declaration
public void MergeFrom(Control other)
Parameters
Type |
Name |
Description |
Control |
other |
|
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements