public final class AuthRequirement
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 Consumer 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 |
---|
AuthRequirement() |
Modifier and Type | Method and Description |
---|---|
AuthRequirement |
clone() |
java.lang.String |
getAudiences()
NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in
all the runtime components.
|
java.lang.String |
getProviderId()
id from authentication provider.
|
AuthRequirement |
set(java.lang.String fieldName,
java.lang.Object value) |
AuthRequirement |
setAudiences(java.lang.String audiences)
NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in
all the runtime components.
|
AuthRequirement |
setProviderId(java.lang.String providerId)
id from authentication provider.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAudiences()
null
for nonepublic AuthRequirement setAudiences(java.lang.String audiences)
audiences
- audiences or null
for nonepublic java.lang.String getProviderId()
null
for nonepublic AuthRequirement setProviderId(java.lang.String providerId)
providerId
- providerId or null
for nonepublic AuthRequirement set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AuthRequirement clone()
clone
in class com.google.api.client.json.GenericJson