-
Notifications
You must be signed in to change notification settings - Fork 10
New GResellerCustomer
Creates a customer resource if one does not already exist.
New-GResellerCustomer [[-CustomerAuthToken] <String>] [[-CustomerBody] <Customer>] [-AlternateEmail] <String>
[-CustomerDomain] <String> [[-CustomerDomainVerified] <Boolean>] [[-CustomerId] <String>]
[[-PhoneNumber] <String>] [[-PostalAddress1] <String>] [[-PostalAddress2] <String>]
[[-PostalAddress3] <String>] [[-PostalContactName] <String>] [[-PostalCountryCode] <String>]
[[-PostalLocality] <String>] [[-PostalOrgName] <String>] [[-PostalCode] <String>] [[-PostalRegion] <String>]
[-StandardQueryParams <StandardQueryParameters>] [-GAuthId <String>] [-WhatIf] [-Confirm]
New-GResellerCustomer [[-CustomerAuthToken] <String>] [[-CustomerBody] <Customer>] [-AlternateEmail] <String>
[-CustomerDomain] <String> [[-CustomerDomainVerified] <Boolean>] [[-CustomerId] <String>]
[[-PhoneNumber] <String>] [[-PostalAddress] <Address>] [-StandardQueryParams <StandardQueryParameters>]
[-GAuthId <String>] [-WhatIf] [-Confirm]
Creates a customer resource if one does not already exist.
PS C:\> New-GResellerCustomer -CustomerBody $SomeCustomerObj
This automatically generated example serves to show the bare minimum required to call this Cmdlet.
Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.
An auth token needed for Newing a customer for which domain already exists. Can be generated at https://admin.google.com/TransferToken. Optional.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
JSON template for a customer.
Type: Customer
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
The alternate email of the customer.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The domain name of the customer.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Whether the customer's primary domain has been verified.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The id of the customer.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The phone number of the customer.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The postal address of the customer.
Type: Address
Parameter Sets: Body
Aliases:
Required: False
Position: 7
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The postal address of the customer.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 7
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The second postal address of the customer.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 8
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The third postal address of the customer.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 9
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the contact person.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 10
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
ISO 3166 country code.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 11
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the locality. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 12
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the organization.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 13
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The postal code. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 14
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of the region. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.
Type: String
Parameter Sets: Params
Aliases:
Required: False
Position: 15
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A Standard Query Parameters Object.
Type: StandardQueryParameters
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False
The GAuthId representing the gShell auth credentials this cmdlet should use to run.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value:
Accept pipeline input: False
Accept wildcard characters: False
An auth token needed for Newing a customer for which domain already exists. Can be generated at https://admin.google.com/TransferToken. Optional.
JSON template for a customer.
The alternate email of the customer.
The domain name of the customer.
Whether the customer's primary domain has been verified.
The id of the customer.
The phone number of the customer.
The postal address of the customer.
The postal address of the customer.
The second postal address of the customer.
The third postal address of the customer.
Name of the contact person.
ISO 3166 country code.
Name of the locality. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.
Name of the organization.
The postal code. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.
Name of the region. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.
Part of the gShell Project, relating to the Google Reseller API; see Related Links or use the -Online parameter.
News - Get Started - Cmdlet Index - FAQ - Discussion - Downloads