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

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

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






Directory.Chromeosdevices (Admin SDK API directory_v1-rev20220802-2.0.0)












com.google.api.services.directory

Class Directory.Chromeosdevices

  • Enclosing class:
    Directory


    public class Directory.Chromeosdevices
    extends Object
    The "chromeosdevices" collection of methods.
    • Constructor Detail

      • Chromeosdevices

        public Chromeosdevices()
    • Method Detail

      • action

        public Directory.Chromeosdevices.Action action(String customerId,
                                                       String resourceId,
                                                       ChromeOsDeviceAction content)
                                                throws IOException
        Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re- enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re- enrolled. * Lost or stolen devices should use the disable action. * Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error. For more information about deprovisioning and disabling devices, visit the [help center](https://support.google.com/chrome/a/answer/3523633). Create a request for the method "chromeosdevices.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 of the device. The `resourceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method.
        content - the ChromeOsDeviceAction
        Returns:
        the request
        Throws:
        IOException
      • get

        public Directory.Chromeosdevices.Get get(String customerId,
                                                 String deviceId)
                                          throws IOException
        Retrieves a Chrome OS device's properties. Create a request for the method "chromeosdevices.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).
        deviceId - The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Directory.Chromeosdevices.List list(String customerId)
                                            throws IOException
        Retrieves a paginated list of Chrome OS devices within an account. Create a request for the method "chromeosdevices.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
      • patch

        public Directory.Chromeosdevices.Patch patch(String customerId,
                                                     String deviceId,
                                                     ChromeOsDevice content)
                                              throws IOException
        Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports [patch semantics](/admin- sdk/directory/v1/guides/performance#patch). Create a request for the method "chromeosdevices.patch". 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).
        deviceId - The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method.
        content - the ChromeOsDevice
        Returns:
        the request
        Throws:
        IOException
      • update

        public Directory.Chromeosdevices.Update update(String customerId,
                                                       String deviceId,
                                                       ChromeOsDevice content)
                                                throws IOException
        Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. Create a request for the method "chromeosdevices.update". 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).
        deviceId - The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](/admin-sdk/v1/reference/chromeosdevices/list) method.
        content - the ChromeOsDevice
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy