Class PartnersResource.CustomersResource
The "customers" collection of methods.
Inherited Members
Namespace: Google.Apis.AndroidProvisioningPartner.v1
Assembly: Google.Apis.AndroidProvisioningPartner.v1.dll
Syntax
public class PartnersResource.CustomersResource
Constructors
CustomersResource(IClientService)
Constructs a new resource.
Declaration
public CustomersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(CreateCustomerRequest, 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.
Declaration
public virtual PartnersResource.CustomersResource.CreateRequest Create(CreateCustomerRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
CreateCustomerRequest | body | The body of the request. |
string | parent | Required. The parent resource ID in the format |
Returns
Type | Description |
---|---|
PartnersResource.CustomersResource.CreateRequest |
List(long)
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.
Declaration
public virtual PartnersResource.CustomersResource.ListRequest List(long partnerId)
Parameters
Type | Name | Description |
---|---|---|
long | partnerId | Required. The ID of the reseller partner. |
Returns
Type | Description |
---|---|
PartnersResource.CustomersResource.ListRequest |