Show / Hide Table of Contents

Class Customer

When a Google customer's account is registered with a reseller, the customer's subscriptions for Google services are managed by this reseller. A customer is described by a primary domain name and a physical address.

Inheritance
object
Customer
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Reseller.v1.Data
Assembly: Google.Apis.Reseller.v1.dll
Syntax
public class Customer : IDirectResponseSchema

Properties

AlternateEmail

Like the "Customer email" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as service outage or a security issue. This property is required when creating a new "domain" customer and should not use the same domain as customerDomain. The alternateEmail field is not necessary to create a "team" customer.

Declaration
[JsonProperty("alternateEmail")]
public virtual string AlternateEmail { get; set; }
Property Value
Type Description
string

CustomerDomain

The customer's primary domain name string. customerDomain is required when creating a new customer. Do not include the www prefix in the domain when adding a customer.

Declaration
[JsonProperty("customerDomain")]
public virtual string CustomerDomain { get; set; }
Property Value
Type Description
string

CustomerDomainVerified

Whether the customer's primary domain has been verified.

Declaration
[JsonProperty("customerDomainVerified")]
public virtual bool? CustomerDomainVerified { get; set; }
Property Value
Type Description
bool?

CustomerId

This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary domain or the unique identifier generated by Google.

Declaration
[JsonProperty("customerId")]
public virtual string CustomerId { get; set; }
Property Value
Type Description
string

CustomerType

Identifies the type of the customer. Acceptable values include: * domain: Implies a domain-verified customer (default). * team: Implies an email-verified customer. For more information, see managed teams.

Declaration
[JsonProperty("customerType")]
public virtual string CustomerType { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Kind

Identifies the resource as a customer. Value: reseller#customer

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

PhoneNumber

Customer contact phone number. Must start with "+" followed by the country code. The rest of the number can be contiguous numbers or respect the phone local format conventions, but it must be a real phone number and not, for example, "123". This field is silently ignored if invalid.

Declaration
[JsonProperty("phoneNumber")]
public virtual string PhoneNumber { get; set; }
Property Value
Type Description
string

PostalAddress

A customer's address information. Each field has a limit of 255 charcters.

Declaration
[JsonProperty("postalAddress")]
public virtual Address PostalAddress { get; set; }
Property Value
Type Description
Address

PrimaryAdmin

The first admin details of the customer, present in case of TEAM customer.

Declaration
[JsonProperty("primaryAdmin")]
public virtual PrimaryAdmin PrimaryAdmin { get; set; }
Property Value
Type Description
PrimaryAdmin

ResourceUiUrl

URL to customer's Admin console dashboard. The read-only URL is generated by the API service. This is used if your client application requires the customer to complete a task in the Admin console.

Declaration
[JsonProperty("resourceUiUrl")]
public virtual string ResourceUiUrl { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX