Class AuthorizationConfig
Configuration of authorization.
This section determines the authorization provider, if unspecified, then no authorization check will be done.
Example:
experimental: authorization: provider: firebaserules.googleapis.com
Inheritance
System.Object
AuthorizationConfig
Implements
System.IEquatable<AuthorizationConfig>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Api
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class AuthorizationConfig : IMessage<AuthorizationConfig>, IMessage, IEquatable<AuthorizationConfig>, IDeepCloneable<AuthorizationConfig>
Constructors
AuthorizationConfig()
Declaration
public AuthorizationConfig()
AuthorizationConfig(AuthorizationConfig)
Declaration
public AuthorizationConfig(AuthorizationConfig other)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationConfig | other |
Fields
ProviderFieldNumber
Field number for the "provider" field.
Declaration
public const int ProviderFieldNumber = 1
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
MessageDescriptor |
Parser
Declaration
public static MessageParser<AuthorizationConfig> Parser { get; }
Property Value
Type | Description |
---|---|
MessageParser<AuthorizationConfig> |
Provider
The name of the authorization provider, such as firebaserules.googleapis.com.
Declaration
public string Provider { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type | Description |
---|---|
System.Int32 |
Implements
Clone()
Declaration
public AuthorizationConfig Clone()
Returns
Type | Description |
---|---|
AuthorizationConfig |
Implements
Equals(AuthorizationConfig)
Declaration
public bool Equals(AuthorizationConfig other)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationConfig | 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(AuthorizationConfig)
Declaration
public void MergeFrom(AuthorizationConfig other)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationConfig | other |
Implements
MergeFrom(CodedInputStream)
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type | Name | Description |
---|---|---|
CodedInputStream | input |
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
Type | Name | Description |
---|---|---|
CodedOutputStream | output |
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type | Description |
---|---|
MessageDescriptor |