public final class ServiceAccountKey
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 Google Play EMM 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ServiceAccountKey() |
Modifier and Type | Method and Description |
---|---|
ServiceAccountKey |
clone() |
String |
getData()
The body of the private key credentials file, in string format.
|
String |
getId()
An opaque, unique identifier for this ServiceAccountKey.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getPublicData()
Public key data for the credentials file.
|
String |
getType()
The file format of the generated key data.
|
ServiceAccountKey |
set(String fieldName,
Object value) |
ServiceAccountKey |
setData(String data)
The body of the private key credentials file, in string format.
|
ServiceAccountKey |
setId(String id)
An opaque, unique identifier for this ServiceAccountKey.
|
ServiceAccountKey |
setKind(String kind)
Identifies what kind of resource this is.
|
ServiceAccountKey |
setPublicData(String publicData)
Public key data for the credentials file.
|
ServiceAccountKey |
setType(String type)
The file format of the generated key data.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getData()
null
for nonepublic ServiceAccountKey setData(String data)
data
- data or null
for nonepublic String getId()
null
for nonepublic ServiceAccountKey setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic ServiceAccountKey setKind(String kind)
kind
- kind or null
for nonepublic String getPublicData()
null
for nonepublic ServiceAccountKey setPublicData(String publicData)
publicData
- publicData or null
for nonepublic String getType()
null
for nonepublic ServiceAccountKey setType(String type)
type
- type or null
for nonepublic ServiceAccountKey set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ServiceAccountKey clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.