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

target.apidocs.com.google.api.services.androidenterprise.AndroidEnterprise.Serviceaccountkeys.html Maven / Gradle / Ivy

The newest version!






AndroidEnterprise.Serviceaccountkeys (Google Play EMM API v1-rev20241113-2.0.0)












com.google.api.services.androidenterprise

Class AndroidEnterprise.Serviceaccountkeys

  • java.lang.Object
    • com.google.api.services.androidenterprise.AndroidEnterprise.Serviceaccountkeys
  • Enclosing class:
    AndroidEnterprise


    public class AndroidEnterprise.Serviceaccountkeys
    extends Object
    The "serviceaccountkeys" collection of methods.
    • Constructor Detail

      • Serviceaccountkeys

        public Serviceaccountkeys()
    • Method Detail

      • delete

        public AndroidEnterprise.Serviceaccountkeys.Delete delete(String enterpriseId,
                                                                  String keyId)
                                                           throws IOException
        Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Create a request for the method "serviceaccountkeys.delete". This request holds the parameters needed by the androidenterprise server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        enterpriseId - The ID of the enterprise.
        keyId - The ID of the key.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public AndroidEnterprise.Serviceaccountkeys.Insert insert(String enterpriseId,
                                                                  ServiceAccountKey content)
                                                           throws IOException
        Generates new credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Only the type of the key should be populated in the resource to be inserted. Create a request for the method "serviceaccountkeys.insert". This request holds the parameters needed by the androidenterprise server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        enterpriseId - The ID of the enterprise.
        content - the ServiceAccountKey
        Returns:
        the request
        Throws:
        IOException
      • list

        public AndroidEnterprise.Serviceaccountkeys.List list(String enterpriseId)
                                                       throws IOException
        Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount. Create a request for the method "serviceaccountkeys.list". This request holds the parameters needed by the androidenterprise server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        enterpriseId - The ID of the enterprise.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy