target.apidocs.com.google.api.services.androidenterprise.model.ServiceAccountKey.html Maven / Gradle / Ivy
The newest version!
ServiceAccountKey (Google Play EMM API v1-rev20241113-2.0.0)
com.google.api.services.androidenterprise.model
Class ServiceAccountKey
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidenterprise.model.ServiceAccountKey
-
public final class ServiceAccountKey
extends com.google.api.client.json.GenericJson
*Deprecated:* New integrations cannot use this method and can refer to our new recommendations
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
ServiceAccountKey()
-
Method Summary
All Methods Instance Methods Concrete Methods
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
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
setPublicData(String publicData)
Public key data for the credentials file.
ServiceAccountKey
setType(String type)
The file format of the generated key data.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getData
public String getData()
The body of the private key credentials file, in string format. This is only populated when the
ServiceAccountKey is created, and is not stored by Google.
- Returns:
- value or
null
for none
-
setData
public ServiceAccountKey setData(String data)
The body of the private key credentials file, in string format. This is only populated when the
ServiceAccountKey is created, and is not stored by Google.
- Parameters:
data
- data or null
for none
-
getId
public String getId()
An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.
- Returns:
- value or
null
for none
-
setId
public ServiceAccountKey setId(String id)
An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.
- Parameters:
id
- id or null
for none
-
getPublicData
public String getPublicData()
Public key data for the credentials file. This is an X.509 cert. If you are using the
googleCredentials key type, this is identical to the cert that can be retrieved by using the
X.509 cert url inside of the credentials file.
- Returns:
- value or
null
for none
-
setPublicData
public ServiceAccountKey setPublicData(String publicData)
Public key data for the credentials file. This is an X.509 cert. If you are using the
googleCredentials key type, this is identical to the cert that can be retrieved by using the
X.509 cert url inside of the credentials file.
- Parameters:
publicData
- publicData or null
for none
-
getType
public String getType()
The file format of the generated key data.
- Returns:
- value or
null
for none
-
setType
public ServiceAccountKey setType(String type)
The file format of the generated key data.
- Parameters:
type
- type or null
for none
-
set
public ServiceAccountKey set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ServiceAccountKey clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy