Liking cljdoc? Tell your friends :D

happygapi.androiddeviceprovisioning.partners

Android Device Provisioning Partner API: partners. Automates Android zero-touch enrollment for device resellers, customers, and EMMs. See: https://developers.google.com/zero-touch/api/reference/rest/v1/partners

Android Device Provisioning Partner API: partners.
Automates Android zero-touch enrollment for device resellers, customers, and EMMs.
See: https://developers.google.com/zero-touch/api/reference/rest/v1/partners
raw docstring

customers-create$clj

(customers-create$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/customers/create

Required parameters: parent

Optional parameters: none

Body:

{:customer {:companyName string, :companyId string, :name string, :skipWelcomeEmail boolean, :adminEmails [string], :languageCode string, :termsStatus string, :ownerEmails [string]}}

Creates a customer for zero-touch enrollment. After the method returns successfully, admin and owner roles can manage devices and EMM configs by calling API methods or using their zero-touch enrollment portal. The customer receives an email that welcomes them to zero-touch enrollment and explains how to sign into the portal.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/customers/create

Required parameters: parent

Optional parameters: none

Body: 

{:customer {:companyName string,
            :companyId string,
            :name string,
            :skipWelcomeEmail boolean,
            :adminEmails [string],
            :languageCode string,
            :termsStatus string,
            :ownerEmails [string]}}

Creates a customer for zero-touch enrollment. After the method returns successfully, admin and owner roles can manage devices and EMM configs by calling API methods or using their zero-touch enrollment portal. The customer receives an email that welcomes them to zero-touch enrollment and explains how to sign into the portal.
sourceraw docstring

customers-list$clj

(customers-list$ auth parameters)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/customers/list

Required parameters: partnerId

Optional parameters: pageSize, pageToken

Lists the customers that are enrolled to the reseller identified by the partnerId argument. This list includes customers that the reseller created and customers that enrolled themselves using the portal.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/customers/list

Required parameters: partnerId

Optional parameters: pageSize, pageToken

Lists the customers that are enrolled to the reseller identified by the `partnerId` argument. This list includes customers that the reseller created and customers that enrolled themselves using the portal.
sourceraw docstring

devices-claim$clj

(devices-claim$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/claim

Required parameters: partnerId

Optional parameters: none

Body:

{:deviceMetadata {:entries {}}, :deviceIdentifier {:imei string, :manufacturer string, :serialNumber string, :model string, :meid string}, :customerId string, :sectionType string}

Claims a device for a customer and adds it to zero-touch enrollment. If the device is already claimed by another customer, the call returns an error.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/claim

Required parameters: partnerId

Optional parameters: none

Body: 

{:deviceMetadata {:entries {}},
 :deviceIdentifier {:imei string,
                    :manufacturer string,
                    :serialNumber string,
                    :model string,
                    :meid string},
 :customerId string,
 :sectionType string}

Claims a device for a customer and adds it to zero-touch enrollment. If the device is already claimed by another customer, the call returns an error.
sourceraw docstring

devices-claimAsync$clj

(devices-claimAsync$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/claimAsync

Required parameters: partnerId

Optional parameters: none

Body:

{:claims [{:deviceIdentifier DeviceIdentifier, :deviceMetadata DeviceMetadata, :customerId string, :sectionType string}]}

Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read Long‑running batch operations.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/claimAsync

Required parameters: partnerId

Optional parameters: none

Body: 

{:claims [{:deviceIdentifier DeviceIdentifier,
           :deviceMetadata DeviceMetadata,
           :customerId string,
           :sectionType string}]}

Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).
sourceraw docstring

devices-findByIdentifier$clj

(devices-findByIdentifier$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/findByIdentifier

Required parameters: partnerId

Optional parameters: none

Body:

{:pageToken string, :limit string, :deviceIdentifier {:imei string, :manufacturer string, :serialNumber string, :model string, :meid string}}

Finds devices by hardware identifiers, such as IMEI.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/findByIdentifier

Required parameters: partnerId

Optional parameters: none

Body: 

{:pageToken string,
 :limit string,
 :deviceIdentifier {:imei string,
                    :manufacturer string,
                    :serialNumber string,
                    :model string,
                    :meid string}}

Finds devices by hardware identifiers, such as IMEI.
sourceraw docstring

devices-findByOwner$clj

(devices-findByOwner$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/findByOwner

Required parameters: partnerId

Optional parameters: none

Body:

{:limit string, :customerId [string], :sectionType string, :pageToken string}

Finds devices claimed for customers. The results only contain devices registered to the reseller that's identified by the partnerId argument. The customer's devices purchased from other resellers don't appear in the results.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/findByOwner

Required parameters: partnerId

Optional parameters: none

Body: 

{:limit string,
 :customerId [string],
 :sectionType string,
 :pageToken string}

Finds devices claimed for customers. The results only contain devices registered to the reseller that's identified by the `partnerId` argument. The customer's devices purchased from other resellers don't appear in the results.
sourceraw docstring

devices-get$clj

(devices-get$ auth parameters)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/get

Required parameters: name

Optional parameters: none

Gets a device.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/get

Required parameters: name

Optional parameters: none

Gets a device.
sourceraw docstring

devices-metadata$clj

(devices-metadata$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/metadata

Required parameters: metadataOwnerId, deviceId

Optional parameters: none

Body:

{:deviceMetadata {:entries {}}}

Updates reseller metadata associated with the device.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/metadata

Required parameters: metadataOwnerId, deviceId

Optional parameters: none

Body: 

{:deviceMetadata {:entries {}}}

Updates reseller metadata associated with the device.
sourceraw docstring

devices-unclaim$clj

(devices-unclaim$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/unclaim

Required parameters: partnerId

Optional parameters: none

Body:

{:sectionType string, :vacationModeDays integer, :deviceIdentifier {:imei string, :manufacturer string, :serialNumber string, :model string, :meid string}, :vacationModeExpireTime string, :deviceId string}

Unclaims a device from a customer and removes it from zero-touch enrollment.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/unclaim

Required parameters: partnerId

Optional parameters: none

Body: 

{:sectionType string,
 :vacationModeDays integer,
 :deviceIdentifier {:imei string,
                    :manufacturer string,
                    :serialNumber string,
                    :model string,
                    :meid string},
 :vacationModeExpireTime string,
 :deviceId string}

Unclaims a device from a customer and removes it from zero-touch enrollment.
sourceraw docstring

devices-unclaimAsync$clj

(devices-unclaimAsync$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/unclaimAsync

Required parameters: partnerId

Optional parameters: none

Body:

{:unclaims [{:sectionType string, :deviceIdentifier DeviceIdentifier, :deviceId string, :vacationModeDays integer, :vacationModeExpireTime string}]}

Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read Long‑running batch operations.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/unclaimAsync

Required parameters: partnerId

Optional parameters: none

Body: 

{:unclaims [{:sectionType string,
             :deviceIdentifier DeviceIdentifier,
             :deviceId string,
             :vacationModeDays integer,
             :vacationModeExpireTime string}]}

Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).
sourceraw docstring

devices-updateMetadataAsync$clj

(devices-updateMetadataAsync$ auth parameters body)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/updateMetadataAsync

Required parameters: partnerId

Optional parameters: none

Body:

{:updates [{:deviceIdentifier DeviceIdentifier, :deviceMetadata DeviceMetadata, :deviceId string}]}

Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an Operation that can be used to track progress. Read Long‑running batch operations.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/devices/updateMetadataAsync

Required parameters: partnerId

Optional parameters: none

Body: 

{:updates [{:deviceIdentifier DeviceIdentifier,
            :deviceMetadata DeviceMetadata,
            :deviceId string}]}

Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read [Long‑running batch operations](/zero-touch/guides/how-it-works#operations).
sourceraw docstring

vendors-customers-list$clj

(vendors-customers-list$ auth parameters)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/vendors/customers/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the customers of the vendor.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/vendors/customers/list

Required parameters: parent

Optional parameters: pageToken, pageSize

Lists the customers of the vendor.
sourceraw docstring

vendors-list$clj

(vendors-list$ auth parameters)

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/vendors/list

Required parameters: parent

Optional parameters: pageSize, pageToken

Lists the vendors of the partner.

https://developers.google.com/zero-touch/api/reference/rest/v1/partners/vendors/list

Required parameters: parent

Optional parameters: pageSize, pageToken

Lists the vendors of the partner.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close