Show / Hide Table of Contents

Class AuthenticationRule

Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.

Inheritance
object
AuthenticationRule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceUsage.v1beta1.Data
Assembly: Google.Apis.ServiceUsage.v1beta1.dll
Syntax
public class AuthenticationRule : IDirectResponseSchema

Properties

AllowWithoutCredential

If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.

Declaration
[JsonProperty("allowWithoutCredential")]
public virtual bool? AllowWithoutCredential { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Oauth

The requirements for OAuth credentials.

Declaration
[JsonProperty("oauth")]
public virtual OAuthRequirements Oauth { get; set; }
Property Value
Type Description
OAuthRequirements

Requirements

Requirements for additional authentication providers.

Declaration
[JsonProperty("requirements")]
public virtual IList<AuthRequirement> Requirements { get; set; }
Property Value
Type Description
IList<AuthRequirement>

Selector

Selects the methods to which this rule applies. Refer to selector for syntax details.

Declaration
[JsonProperty("selector")]
public virtual string Selector { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX