Interface AuthenticationRuleOrBuilder (2.15.0)

public interface AuthenticationRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowWithoutCredential()

public abstract boolean getAllowWithoutCredential()

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

bool allow_without_credential = 5;

Returns
TypeDescription
boolean

The allowWithoutCredential.

getOauth()

public abstract OAuthRequirements getOauth()

The requirements for OAuth credentials.

.google.api.OAuthRequirements oauth = 2;

Returns
TypeDescription
OAuthRequirements

The oauth.

getOauthOrBuilder()

public abstract OAuthRequirementsOrBuilder getOauthOrBuilder()

The requirements for OAuth credentials.

.google.api.OAuthRequirements oauth = 2;

Returns
TypeDescription
OAuthRequirementsOrBuilder

getRequirements(int index)

public abstract AuthRequirement getRequirements(int index)

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
AuthRequirement

getRequirementsCount()

public abstract int getRequirementsCount()

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Returns
TypeDescription
int

getRequirementsList()

public abstract List<AuthRequirement> getRequirementsList()

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Returns
TypeDescription
List<AuthRequirement>

getRequirementsOrBuilder(int index)

public abstract AuthRequirementOrBuilder getRequirementsOrBuilder(int index)

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
AuthRequirementOrBuilder

getRequirementsOrBuilderList()

public abstract List<? extends AuthRequirementOrBuilder> getRequirementsOrBuilderList()

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Returns
TypeDescription
List<? extends com.google.api.AuthRequirementOrBuilder>

getSelector()

public abstract String getSelector()

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

string selector = 1;

Returns
TypeDescription
String

The selector.

getSelectorBytes()

public abstract ByteString getSelectorBytes()

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

string selector = 1;

Returns
TypeDescription
ByteString

The bytes for selector.

hasOauth()

public abstract boolean hasOauth()

The requirements for OAuth credentials.

.google.api.OAuthRequirements oauth = 2;

Returns
TypeDescription
boolean

Whether the oauth field is set.