Class CustomersResource.PatchRequest
Patches a customer.
Inheritance
CustomersResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class CustomersResource.PatchRequest : DirectoryBaseServiceRequest<Customer>, IClientServiceRequest<Customer>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Customer, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Customer body, string customerKey)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Customer | body | |
string | customerKey |
Properties
CustomerKey
Id of the customer to be updated
Declaration
[RequestParameter("customerKey", RequestParameterType.Path)]
public virtual string CustomerKey { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()