Class CustomersResource.UpdateRequest
Updates a customer account's settings. You cannot update customerType
via the Reseller API, but a "team"
customer can verify their domain and become customerType = "domain"
. For more information, see update a
customer's settings.
Inheritance
CustomersResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Reseller.v1
Assembly: Google.Apis.Reseller.v1.dll
Syntax
public class CustomersResource.UpdateRequest : ResellerBaseServiceRequest<Customer>, IClientServiceRequest<Customer>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Customer, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Customer body, string customerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Customer | body | |
string | customerId |
Properties
CustomerId
This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Reseller.v1.Data.Customer>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Reseller.v1.Data.Customer>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Reseller.v1.Data.Customer>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Reseller.v1.Data.Customer>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()