Skip to content
Spencer Varney edited this page Dec 9, 2016 · 2 revisions

New-GACustomerObj

SYNOPSIS

Creates a new Directory API Customer object.

SYNTAX

New-GACustomerObj [[-AlternateEmail] <String>] [[-CustomerCreationTime] <DateTime>]
 [[-CustomerDomain] <String>] [[-Id] <String>] [[-Language] <String>] [[-PhoneNumber] <String>]
 [[-PostalAddress] <CustomerPostalAddress>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a Customer object which may be required as a parameter for some other Cmdlets in the Directory API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.admin.Directory.directory_v1.Data.Customer

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> New-GACustomerObj

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.

PARAMETERS

-AlternateEmail

The customer's secondary contact email address. This email address cannot be on the same domain as the customerDomain

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CustomerCreationTime

The customer's creation time (Readonly)

Type: DateTime
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CustomerDomain

The customer's primary domain name string. Do not include the www prefix when creating a new customer.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 2
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Id

The unique ID for the customer's Google account. (Readonly)

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Language

The customer's ISO 639-2 language code. The default value is en-US

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 4
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PhoneNumber

The customer's contact phone number in E.164 format.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 5
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PostalAddress

The customer's postal address information.

Type: CustomerPostalAddress
Parameter Sets: (All)
Aliases: 

Required: False
Position: 6
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

INPUTS

System.String

The customer's secondary contact email address. This email address cannot be on the same domain as the customerDomain

System.DateTime

The customer's creation time (Readonly)

System.String

The customer's primary domain name string. Do not include the www prefix when creating a new customer.

System.String

The unique ID for the customer's Google account. (Readonly)

System.String

The customer's ISO 639-2 language code. The default value is en-US

System.String

The customer's contact phone number in E.164 format.

Google.Apis.admin.Directory.directory_v1.Data.CustomerPostalAddress

The customer's postal address information.

OUTPUTS

Google.Apis.admin.Directory.directory_v1.Data.Customer

NOTES

Part of the gShell Project, relating to the Google Directory API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally