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

target.apidocs.com.google.api.services.directory.Directory.Mobiledevices.html Maven / Gradle / Ivy

There is a newer version: directory_v1-rev20240709-2.0.0
Show newest version






Directory.Mobiledevices (Admin SDK API directory_v1-rev20220606-1.32.1)












com.google.api.services.directory

Class Directory.Mobiledevices

  • Enclosing class:
    Directory


    public class Directory.Mobiledevices
    extends Object
    The "mobiledevices" collection of methods.
    • Constructor Detail

      • Mobiledevices

        public Mobiledevices()
    • Method Detail

      • action

        public Directory.Mobiledevices.Action action(String customerId,
                                                     String resourceId,
                                                     MobileDeviceAction content)
                                              throws IOException
        Takes an action that affects a mobile device. For example, remotely wiping a device. Create a request for the method "mobiledevices.action". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customerId - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).
        resourceId - The unique ID the API service uses to identify the mobile device.
        content - the MobileDeviceAction
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Directory.Mobiledevices.Delete delete(String customerId,
                                                     String resourceId)
                                              throws IOException
        Removes a mobile device. Create a request for the method "mobiledevices.delete". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customerId - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).
        resourceId - The unique ID the API service uses to identify the mobile device.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Directory.Mobiledevices.Get get(String customerId,
                                               String resourceId)
                                        throws IOException
        Retrieves a mobile device's properties. Create a request for the method "mobiledevices.get". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customerId - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).
        resourceId - The unique ID the API service uses to identify the mobile device.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Mobiledevices.List list(String customerId)
                                          throws IOException
        Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. Create a request for the method "mobiledevices.list". This request holds the parameters needed by the admin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        customerId - The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](/admin-sdk/directory/v1/reference/users).
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy