google_api_reseller v0.8.0 GoogleApi.Reseller.V1.Model.Customer View Source

JSON template for a customer.

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 customer and should not use the same domain as customerDomain.
  • 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.
  • 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.
  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Reseller.V1.Model.Customer{
  alternateEmail: String.t(),
  customerDomain: String.t(),
  customerDomainVerified: boolean(),
  customerId: String.t(),
  kind: String.t(),
  phoneNumber: String.t(),
  postalAddress: GoogleApi.Reseller.V1.Model.Address.t(),
  resourceUiUrl: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.