Interface AuthenticationRuleOrBuilder (2.41.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
Type Description
boolean

The allowWithoutCredential.

getOauth()

public abstract OAuthRequirements getOauth()

The requirements for OAuth credentials.

.google.api.OAuthRequirements oauth = 2;

Returns
Type Description
OAuthRequirements

The oauth.

getOauthOrBuilder()

public abstract OAuthRequirementsOrBuilder getOauthOrBuilder()

The requirements for OAuth credentials.

.google.api.OAuthRequirements oauth = 2;

Returns
Type Description
OAuthRequirementsOrBuilder

getRequirements(int index)

public abstract AuthRequirement getRequirements(int index)

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Parameter
Name Description
index int
Returns
Type Description
AuthRequirement

getRequirementsCount()

public abstract int getRequirementsCount()

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Returns
Type Description
int

getRequirementsList()

public abstract List<AuthRequirement> getRequirementsList()

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Returns
Type Description
List<AuthRequirement>

getRequirementsOrBuilder(int index)

public abstract AuthRequirementOrBuilder getRequirementsOrBuilder(int index)

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Parameter
Name Description
index int
Returns
Type Description
AuthRequirementOrBuilder

getRequirementsOrBuilderList()

public abstract List<? extends AuthRequirementOrBuilder> getRequirementsOrBuilderList()

Requirements for additional authentication providers.

repeated .google.api.AuthRequirement requirements = 7;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for selector.

hasOauth()

public abstract boolean hasOauth()

The requirements for OAuth credentials.

.google.api.OAuthRequirements oauth = 2;

Returns
Type Description
boolean

Whether the oauth field is set.