class PartnersCustomers extends Resource (View source)

The "customers" collection of methods.

Typical usage is:

 $androiddeviceprovisioningService = new Google\Service\AndroidProvisioningPartner(...);
 $customers = $androiddeviceprovisioningService->partners_customers;

Methods

create(string $parent, CreateCustomerRequest $postBody, array $optParams = [])

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. (customers.create)

listPartnersCustomers(string $partnerId, array $optParams = [])

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.

Details

Company create(string $parent, CreateCustomerRequest $postBody, array $optParams = [])

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. (customers.create)

Parameters

string $parent

Required. The parent resource ID in the format partners/[PARTNER_ID] that identifies the reseller.

CreateCustomerRequest $postBody
array $optParams

Optional parameters.

Return Value

Company

Exceptions

Exception

ListCustomersResponse listPartnersCustomers(string $partnerId, array $optParams = [])

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.

(customers.listPartnersCustomers)

Parameters

string $partnerId

Required. The ID of the reseller partner.

array $optParams

Optional parameters.

Return Value

ListCustomersResponse

Exceptions

Exception