All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • Constructor Detail

      • ServiceAccountKey

        public ServiceAccountKey()
    • 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
      • 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