public final class IdentityAwareProxy
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 App Engine Admin 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 |
---|
IdentityAwareProxy() |
Modifier and Type | Method and Description |
---|---|
IdentityAwareProxy |
clone() |
java.lang.Boolean |
getEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests.If
true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.
|
java.lang.String |
getOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
|
java.lang.String |
getOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot
be retrieved via the API.
|
java.lang.String |
getOauth2ClientSecretSha256()
Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
IdentityAwareProxy |
set(java.lang.String fieldName,
java.lang.Object value) |
IdentityAwareProxy |
setEnabled(java.lang.Boolean enabled)
Whether the serving infrastructure will authenticate and authorize all incoming requests.If
true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.
|
IdentityAwareProxy |
setOauth2ClientId(java.lang.String oauth2ClientId)
OAuth2 client ID to use for the authentication flow.
|
IdentityAwareProxy |
setOauth2ClientSecret(java.lang.String oauth2ClientSecret)
OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot
be retrieved via the API.
|
IdentityAwareProxy |
setOauth2ClientSecretSha256(java.lang.String oauth2ClientSecretSha256)
Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getEnabled()
null
for nonepublic IdentityAwareProxy setEnabled(java.lang.Boolean enabled)
enabled
- enabled or null
for nonepublic java.lang.String getOauth2ClientId()
null
for nonepublic IdentityAwareProxy setOauth2ClientId(java.lang.String oauth2ClientId)
oauth2ClientId
- oauth2ClientId or null
for nonepublic java.lang.String getOauth2ClientSecret()
null
for nonepublic IdentityAwareProxy setOauth2ClientSecret(java.lang.String oauth2ClientSecret)
oauth2ClientSecret
- oauth2ClientSecret or null
for nonepublic java.lang.String getOauth2ClientSecretSha256()
null
for nonepublic IdentityAwareProxy setOauth2ClientSecretSha256(java.lang.String oauth2ClientSecretSha256)
oauth2ClientSecretSha256
- oauth2ClientSecretSha256 or null
for nonepublic IdentityAwareProxy set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public IdentityAwareProxy clone()
clone
in class com.google.api.client.json.GenericJson