Show / Hide Table of Contents

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
IMessage<AuthorizationConfig>
IMessage
System.IEquatable<AuthorizationConfig>
IDeepCloneable<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
IMessage.CalculateSize()

Clone()

Declaration
public AuthorizationConfig Clone()
Returns
Type Description
AuthorizationConfig
Implements
IDeepCloneable<T>.Clone()

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
IMessage<T>.MergeFrom(T)

MergeFrom(CodedInputStream)

Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type Name Description
CodedInputStream input
Implements
IMessage.MergeFrom(CodedInputStream)

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
IMessage.WriteTo(CodedOutputStream)

Explicit Interface Implementations

IMessage.Descriptor

Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type Description
MessageDescriptor
Implements
IMessage.Descriptor
Back to top