Class CustomersResource
The "customers" collection of methods.
Inheritance
System.Object
CustomersResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
Methods
Get(String)
Retrieves a customer.
Declaration
public virtual CustomersResource.GetRequest Get(string customerKey)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customerKey | Id of the customer to be retrieved |
Returns
| Type | Description |
|---|---|
| CustomersResource.GetRequest |
Patch(Customer, String)
Patch Customers via Apiary Patch Orchestration
Declaration
public virtual CustomersResource.PatchRequest Patch(Customer body, string customerKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Customer | body | The body of the request. |
| System.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. |
| System.String | customerKey | Id of the customer to be updated |
Returns
| Type | Description |
|---|---|
| CustomersResource.UpdateRequest |