Class CustomersResource
The "customers" collection of methods.
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class CustomersResource
Constructors
CustomersResource(IClientService)
Constructs a new resource.
Declaration
public CustomersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Chrome
Gets the Chrome resource.
Declaration
public virtual CustomersResource.ChromeResource Chrome { get; }
Property Value
Type | Description |
---|---|
CustomersResource.ChromeResource |
Methods
Get(string)
Retrieves a customer.
Declaration
public virtual CustomersResource.GetRequest Get(string customerKey)
Parameters
Type | Name | Description |
---|---|---|
string | customerKey | Id of the customer to be retrieved |
Returns
Type | Description |
---|---|
CustomersResource.GetRequest |
Patch(Customer, string)
Patches a customer.
Declaration
public virtual CustomersResource.PatchRequest Patch(Customer body, string customerKey)
Parameters
Type | Name | Description |
---|---|---|
Customer | body | The body of the request. |
string | customerKey | Id of the customer to be updated |
Returns
Type | Description |
---|---|
CustomersResource.PatchRequest |
Update(Customer, string)
Updates a customer.
Declaration
public virtual CustomersResource.UpdateRequest Update(Customer body, string customerKey)
Parameters
Type | Name | Description |
---|---|---|
Customer | body | The body of the request. |
string | customerKey | Id of the customer to be updated |
Returns
Type | Description |
---|---|
CustomersResource.UpdateRequest |