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

target.apidocs.com.google.api.services.androidmanagement.v1.AndroidManagement.Enterprises.Policies.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241204-2.0.0
Show newest version






AndroidManagement.Enterprises.Policies (Android Management API v1-rev20241114-2.0.0)












com.google.api.services.androidmanagement.v1

Class AndroidManagement.Enterprises.Policies

  • java.lang.Object
    • com.google.api.services.androidmanagement.v1.AndroidManagement.Enterprises.Policies
    • Constructor Detail

      • Policies

        public Policies()
    • Method Detail

      • delete

        public AndroidManagement.Enterprises.Policies.Delete delete(String name)
                                                             throws IOException
        Deletes a policy. This operation is only permitted if no devices are currently referencing the policy. Create a request for the method "policies.delete". This request holds the parameters needed by the androidmanagement server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.
        Returns:
        the request
        Throws:
        IOException
      • get

        public AndroidManagement.Enterprises.Policies.Get get(String name)
                                                       throws IOException
        Gets a policy. Create a request for the method "policies.get". This request holds the parameters needed by the androidmanagement server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.
        Returns:
        the request
        Throws:
        IOException
      • list

        public AndroidManagement.Enterprises.Policies.List list(String parent)
                                                         throws IOException
        Lists policies for a given enterprise. Create a request for the method "policies.list". This request holds the parameters needed by the androidmanagement server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - The name of the enterprise in the form enterprises/{enterpriseId}.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public AndroidManagement.Enterprises.Policies.Patch patch(String name,
                                                                  Policy content)
                                                           throws IOException
        Updates or creates a policy. Create a request for the method "policies.patch". This request holds the parameters needed by the androidmanagement server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.
        content - the Policy
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy