public sealed class AuthenticationRule : Protobuf.IMessage<AuthenticationRule>, Protobuf.IBufferMessage
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["`AuthenticationRule` is a class for defining authentication requirements for service methods, ensuring that requests include valid credentials."],["The class provides functionality to specify whether API keys are accepted without additional credentials via the `AllowWithoutCredential` property."],["`AuthenticationRule` includes properties to manage OAuth requirements (`Oauth`) and other authentication providers (`Requirements`) for a given method selector."],["The `Selector` property specifies which methods the rule applies to, and different fields such as `AllowWithoutCredentialFieldNumber`, `OauthFieldNumber`, `RequirementsFieldNumber` and `SelectorFieldNumber` represent the field numbers for internal logic."],["`AuthenticationRule` has multiple methods for the management of itself, such as `Clone`, `MergeFrom`, and `Equals`, as well as handling the flow of the data, such as with `WriteTo` and `MergeFrom`."]]],[]]