public final class Authentication
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 Service Usage 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 |
---|
Authentication() |
Modifier and Type | Method and Description |
---|---|
Authentication |
clone() |
java.util.List<AuthProvider> |
getProviders()
Defines a set of authentication providers that a service supports.
|
java.util.List<AuthenticationRule> |
getRules()
A list of authentication rules that apply to individual API methods.
|
Authentication |
set(java.lang.String fieldName,
java.lang.Object value) |
Authentication |
setProviders(java.util.List<AuthProvider> providers)
Defines a set of authentication providers that a service supports.
|
Authentication |
setRules(java.util.List<AuthenticationRule> rules)
A list of authentication rules that apply to individual API methods.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<AuthProvider> getProviders()
null
for nonepublic Authentication setProviders(java.util.List<AuthProvider> providers)
providers
- providers or null
for nonepublic java.util.List<AuthenticationRule> getRules()
null
for nonepublic Authentication setRules(java.util.List<AuthenticationRule> rules)
rules
- rules or null
for nonepublic Authentication set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Authentication clone()
clone
in class com.google.api.client.json.GenericJson