public final class OidcToken
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 Cloud Pub/Sub 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 |
---|
OidcToken() |
Modifier and Type | Method and Description |
---|---|
OidcToken |
clone() |
java.lang.String |
getAudience()
Audience to be used when generating OIDC token.
|
java.lang.String |
getServiceAccountEmail()
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for
generating the OIDC token.
|
OidcToken |
set(java.lang.String fieldName,
java.lang.Object value) |
OidcToken |
setAudience(java.lang.String audience)
Audience to be used when generating OIDC token.
|
OidcToken |
setServiceAccountEmail(java.lang.String serviceAccountEmail)
[Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for
generating the OIDC token.
|
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 getAudience()
null
for nonepublic OidcToken setAudience(java.lang.String audience)
audience
- audience or null
for nonepublic java.lang.String getServiceAccountEmail()
null
for nonepublic OidcToken setServiceAccountEmail(java.lang.String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic OidcToken set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public OidcToken clone()
clone
in class com.google.api.client.json.GenericJson