public final class AuthenticationRule
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Service Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
AuthenticationRule() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationRule |
clone() |
java.lang.Boolean |
getAllowWithoutCredential()
Whether to allow requests without a credential.
|
OAuthRequirements |
getOauth()
The requirements for OAuth credentials.
|
java.util.List<AuthRequirement> |
getRequirements()
Requirements for additional authentication providers.
|
java.lang.String |
getSelector()
Selects the methods to which this rule applies.
|
AuthenticationRule |
set(java.lang.String fieldName,
java.lang.Object value) |
AuthenticationRule |
setAllowWithoutCredential(java.lang.Boolean allowWithoutCredential)
Whether to allow requests without a credential.
|
AuthenticationRule |
setOauth(OAuthRequirements oauth)
The requirements for OAuth credentials.
|
AuthenticationRule |
setRequirements(java.util.List<AuthRequirement> requirements)
Requirements for additional authentication providers.
|
AuthenticationRule |
setSelector(java.lang.String selector)
Selects the methods to which this rule applies.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getAllowWithoutCredential()
null for nonepublic AuthenticationRule setAllowWithoutCredential(java.lang.Boolean allowWithoutCredential)
allowWithoutCredential - allowWithoutCredential or null for nonepublic OAuthRequirements getOauth()
null for nonepublic AuthenticationRule setOauth(OAuthRequirements oauth)
oauth - oauth or null for nonepublic java.util.List<AuthRequirement> getRequirements()
null for nonepublic AuthenticationRule setRequirements(java.util.List<AuthRequirement> requirements)
requirements - requirements or null for nonepublic java.lang.String getSelector()
null for nonepublic AuthenticationRule setSelector(java.lang.String selector)
selector - selector or null for nonepublic AuthenticationRule set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic AuthenticationRule clone()
clone in class com.google.api.client.json.GenericJson