public final class GenerateAccessTokenResponse extends 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 IAM Service Account Credentials API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
GenerateAccessTokenResponse() |
Modifier and Type | Method and Description |
---|---|
GenerateAccessTokenResponse |
clone() |
String |
getAccessToken()
The OAuth 2.0 access token.
|
String |
getExpireTime()
Token expiration time.
|
GenerateAccessTokenResponse |
set(String fieldName,
Object value) |
GenerateAccessTokenResponse |
setAccessToken(String accessToken)
The OAuth 2.0 access token.
|
GenerateAccessTokenResponse |
setExpireTime(String expireTime)
Token expiration time.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccessToken()
null
for nonepublic GenerateAccessTokenResponse setAccessToken(String accessToken)
accessToken
- accessToken or null
for nonepublic String getExpireTime()
null
for nonepublic GenerateAccessTokenResponse setExpireTime(String expireTime)
expireTime
- expireTime or null
for nonepublic GenerateAccessTokenResponse set(String fieldName, Object value)
set
in class GenericJson
public GenerateAccessTokenResponse clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.