View Source GoogleApi.Reseller.V1.Model.Customer (google_api_reseller v0.18.0)

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.

Attributes

  • alternateEmail (type: String.t, default: nil) - 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.
  • customerDomain (type: String.t, default: nil) - 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.
  • customerDomainVerified (type: boolean(), default: nil) - Whether the customer's primary domain has been verified.
  • customerId (type: String.t, default: nil) - 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.
  • customerType (type: String.t, default: nil) - 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.
  • kind (type: String.t, default: reseller#customer) - Identifies the resource as a customer. Value: reseller#customer
  • phoneNumber (type: String.t, default: nil) - 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.
  • postalAddress (type: GoogleApi.Reseller.V1.Model.Address.t, default: nil) - A customer's address information. Each field has a limit of 255 charcters.
  • primaryAdmin (type: GoogleApi.Reseller.V1.Model.PrimaryAdmin.t, default: nil) - The first admin details of the customer, present in case of TEAM customer.
  • resourceUiUrl (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Reseller.V1.Model.Customer{
  alternateEmail: String.t() | nil,
  customerDomain: String.t() | nil,
  customerDomainVerified: boolean() | nil,
  customerId: String.t() | nil,
  customerType: String.t() | nil,
  kind: String.t() | nil,
  phoneNumber: String.t() | nil,
  postalAddress: GoogleApi.Reseller.V1.Model.Address.t() | nil,
  primaryAdmin: GoogleApi.Reseller.V1.Model.PrimaryAdmin.t() | nil,
  resourceUiUrl: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.