public sealed class Control : IMessage<Control>, IEquatable<Control>, IDeepCloneable<Control>, IBufferMessage, IMessage
Selects and configures the service controller used by the service.
Example:
control:
environment: servicecontrol.googleapis.com
Implements
IMessage Control , IEquatable Control , IDeepCloneable Control , IBufferMessage , IMessageNamespace
Google.ApiAssembly
Google.Api.CommonProtos.dll
Constructors
Control()
public Control()
Control(Control)
public Control(Control other)
Fields
EnvironmentFieldNumber
public
const
int
EnvironmentFieldNumber
=
1
Field number for the "environment" field.
MethodPoliciesFieldNumber
public
const
int
MethodPoliciesFieldNumber
=
4
Field number for the "method_policies" field.
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Environment
public string Environment { get; set; }
The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com
MethodPolicies
public RepeatedField<MethodPolicy> MethodPolicies { get; }
Defines policies applying to the API methods of the service.
Parser
public static MessageParser<Control> Parser { get; }
Methods
CalculateSize()
public int CalculateSize()
Clone()
public Control Clone()
Equals(Control)
public bool Equals(Control other)
Equals(object)
public override bool Equals(object other)
GetHashCode()
public override int GetHashCode()
MergeFrom(Control)
public void MergeFrom(Control other)
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
ToString()
public override string ToString()
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)

