Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/androiddeviceprovisioning:v1.ts";

§Classes

AndroidDeviceProvisioning

Automates Android zero-touch enrollment for device resellers, customers, and EMMs.

GoogleAuth

§Variables

auth

§Interfaces

ClaimDeviceRequest

Request message to claim a device on behalf of a customer.

ClaimDeviceResponse

Response message containing device id of the claim.

ClaimDevicesRequest

Request to claim devices asynchronously in batch. Claiming a device adds the device to zero-touch enrollment and shows the device in the customer's view of the portal.

Company

A reseller, vendor, or customer in the zero-touch reseller and customer APIs.

Configuration

A configuration collects the provisioning options for Android devices. Each configuration combines the following: * The EMM device policy controller (DPC) installed on the devices. * EMM policies enforced on the devices. * Metadata displayed on the device to help users during setup. Customers can add as many configurations as they need. However, zero-touch enrollment works best when a customer sets a default configuration that's applied to any new devices the organization purchases.

CreateCustomerRequest

Request message to create a customer.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

CustomerApplyConfigurationRequest

Request message for customer to assign a configuration to device.

CustomerListConfigurationsResponse

Response message of customer's listing configuration.

CustomerListCustomersResponse

Response message for listing my customers.

CustomerListDevicesResponse

Response message of customer's liting devices.

CustomerListDpcsResponse

Response message of customer's listing DPCs.

CustomerRemoveConfigurationRequest

Request message for customer to remove the configuration from device.

CustomersConfigurationsPatchOptions

Additional options for AndroidDeviceProvisioning#customersConfigurationsPatch.

CustomersDevicesListOptions

Additional options for AndroidDeviceProvisioning#customersDevicesList.

CustomersListOptions

Additional options for AndroidDeviceProvisioning#customersList.

CustomerUnclaimDeviceRequest

Request message for customer to unclaim a device.

Device

An Android or Chrome OS device registered for zero-touch enrollment.

DeviceClaim

A record of a device claimed by a reseller for a customer. Devices claimed for zero-touch enrollment have a claim with the type SECTION_TYPE_ZERO_TOUCH. To learn more, read Claim devices for customers.

DeviceIdentifier

Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read Identifiers.

DeviceMetadata

Metadata entries that can be attached to a Device. To learn more, read Device metadata.

DeviceReference

A DeviceReference is an API abstraction that lets you supply a device argument to a method using one of the following identifier types: * A numeric API resource ID. * Real-world hardware IDs, such as IMEI number, belonging to the manufactured device. Methods that operate on devices take a DeviceReference as a parameter type because it's more flexible for the caller. To learn more about device identifiers, read Identifiers.

DevicesLongRunningOperationMetadata

Tracks the status of a long-running operation to asynchronously update a batch of reseller metadata attached to devices. To learn more, read Long‑running batch operations.

DevicesLongRunningOperationResponse

Tracks the status of a long-running operation to claim, unclaim, or attach metadata to devices. To learn more, read Long‑running batch operations.

Dpc

An EMM's DPC (device policy controller). Zero-touch enrollment installs a DPC (listed in the Configuration) on a device to maintain the customer's mobile policies. All the DPCs listed by the API support zero-touch enrollment and are available in Google Play.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

FindDevicesByDeviceIdentifierRequest

Request to find devices.

FindDevicesByDeviceIdentifierResponse

Response containing found devices.

FindDevicesByOwnerRequest

Request to find devices by customers.

FindDevicesByOwnerResponse

Response containing found devices.

GetDeviceSimLockStateRequest

Request to get a device's SIM lock status.

GetDeviceSimLockStateResponse

Response containing a device's SimLock state.

GoogleWorkspaceAccount

A Google Workspace customer.

ListCustomersResponse

Response message of all customers related to this partner.

ListVendorCustomersResponse

Response message to list customers of the vendor.

ListVendorsResponse

Response message to list vendors of the partner.

Operation

This resource represents a long-running operation that is the result of a network API call.

OperationPerDevice

A task for each device in the operation. Corresponds to each device change in the request.

PartnerClaim

Identifies one claim request.

PartnersCustomersListOptions

Additional options for AndroidDeviceProvisioning#partnersCustomersList.

PartnersVendorsCustomersListOptions

Additional options for AndroidDeviceProvisioning#partnersVendorsCustomersList.

PartnersVendorsListOptions

Additional options for AndroidDeviceProvisioning#partnersVendorsList.

PartnerUnclaim

Identifies one unclaim request.

PerDeviceStatusInBatch

Captures the processing status for each device in the operation.

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

UnclaimDeviceRequest

Request message to unclaim a device.

UnclaimDevicesRequest

Request to unclaim devices asynchronously in batch.

UpdateDeviceMetadataInBatchRequest

Request to update device metadata in batch.

UpdateDeviceMetadataRequest

Request to set metadata for a device.

UpdateMetadataArguments

Identifies metadata updates to one device.