AndroidDeviceProvisioning
import { AndroidDeviceProvisioning } from "https://googleapis.deno.dev/v1/androiddeviceprovisioning:v1.ts";
Automates Android zero-touch enrollment for device resellers, customers, and EMMs.
§Methods
Creates a new configuration. Once created, a customer can apply the configuration to devices.
Required. The customer that manages the configuration. An API resource name in the format customers/[CUSTOMER_ID]
. This field has custom validation in CreateConfigurationRequestValidator
Deletes an unused configuration. The API call fails if the customer has devices with the configuration applied.
Required. The configuration to delete. An API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]
. If the configuration is applied to any devices, the API call fails.
Gets the details of a configuration.
Required. The configuration to get. An API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]
.
Lists a customer's configurations.
Required. The customer that manages the listed configurations. An API resource name in the format customers/[CUSTOMER_ID]
.
Updates a configuration's field values.
Output only. The API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]
. Assigned by the server.
Applies a Configuration to the device to register the device for zero-touch enrollment. After applying a configuration to a device, the device automatically provisions itself on first boot, or next factory reset.
Required. The customer managing the device. An API resource name in the format customers/[CUSTOMER_ID]
.
Lists a customer's devices.
Required. The customer managing the devices. An API resource name in the format customers/[CUSTOMER_ID]
.
Removes a configuration from device.
Required. The customer managing the device in the format customers/[CUSTOMER_ID]
.
Unclaims a device from a customer and removes it from zero-touch enrollment. After removing a device, a customer must contact their reseller to register the device into zero-touch enrollment again.
Required. The customer managing the device. An API resource name in the format customers/[CUSTOMER_ID]
.
Lists the DPCs (device policy controllers) that support zero-touch enrollment.
Required. The customer that can use the DPCs in configurations. An API resource name in the format customers/[CUSTOMER_ID]
.
Lists the user's customer accounts.
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.
Required. The parent resource ID in the format partners/[PARTNER_ID]
that identifies the reseller.
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.
Required. The ID of the reseller partner.
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.
Required. The ID of the reseller partner.
Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read Long‑running batch operations.
Required. The ID of the reseller partner.
Finds devices by hardware identifiers, such as IMEI.
Required. The ID of the reseller partner.
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.
Required. The ID of the reseller partner.
Gets a device's SIM lock state.
Required. The ID of the partner.
Updates reseller metadata associated with the device. Android devices only.
Required. The ID of the device.
Required. The owner of the newly set metadata. Set this to the partner ID.
Unclaims a device from a customer and removes it from zero-touch enrollment.
Required. The ID of the reseller partner.
Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read Long‑running batch operations.
Required. The reseller partner ID.
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. Android Devices
only.
Required. The reseller partner ID.
Lists the customers of the vendor.
Required. The resource name in the format partners/[PARTNER_ID]/vendors/[VENDOR_ID]
.
Lists the vendors of the partner.
Required. The resource name in the format partners/[PARTNER_ID]
.