Class JsonKey

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

    public final class JsonKey
    extends com.google.api.client.json.GenericJson
    The Google Developer Console provides private keys for service accounts in two different ways. one of them is a .json file that can be downloaded from the Google Developer Console.

    The structure of this json file is: { "private_key":"-----BEGIN PRIVATE KEY-----\n ... \n-----END PRIVATE KEY-----\n", "client_email":"...@developer.gserviceaccount.com", ... }

    • Constructor Detail

      • JsonKey

        public JsonKey()
    • Method Detail

      • getClientEmail

        public String getClientEmail()
      • setClientEmail

        public void setClientEmail​(String clientEmail)
      • getPrivateKey

        public String getPrivateKey()
      • setPrivateKey

        public void setPrivateKey​(String privateKey)