Skip to content

New GACustomerPostalAddressObj

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

New-GACustomerPostalAddressObj

SYNOPSIS

Creates a new Directory API CustomerPostalAddress object.

SYNTAX

New-GACustomerPostalAddressObj [[-AddressLine1] <String>] [[-AddressLine2] <String>] [[-AddressLine3] <String>]
 [[-ContactName] <String>] [[-CountryCode] <String>] [[-Locality] <String>] [[-OrganizationName] <String>]
 [[-PostalCode] <String>] [[-Region] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a CustomerPostalAddress 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.CustomerPostalAddress

EXAMPLES

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

PS C:\> New-GACustomerPostalAddressObj

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

-AddressLine1

A customer's physical address. The address can be composed of one to three lines.

Type: String
Parameter Sets: (All)
Aliases: 

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

-AddressLine2

Address line 2 of the address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-AddressLine3

Address line 3 of the address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-ContactName

The customer contact's name.

Type: String
Parameter Sets: (All)
Aliases: 

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

-CountryCode

This is a required property. For countryCode information see the ISO 3166 country code elements.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Locality

Name of the locality. An example of a locality value is the city of San Francisco.

Type: String
Parameter Sets: (All)
Aliases: 

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

-OrganizationName

The company or company division name.

Type: String
Parameter Sets: (All)
Aliases: 

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

-PostalCode

The postal code. A postalCode example is a postal zip code such as 10009. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Region

Name of the region. An example of a region value is NY for the state of New York.

Type: String
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

A customer's physical address. The address can be composed of one to three lines.

System.String

Address line 2 of the address.

System.String

Address line 3 of the address.

System.String

The customer contact's name.

System.String

This is a required property. For countryCode information see the ISO 3166 country code elements.

System.String

Name of the locality. An example of a locality value is the city of San Francisco.

System.String

The company or company division name.

System.String

The postal code. A postalCode example is a postal zip code such as 10009. This is in accordance with - http://portablecontacts.net/draft-spec.html#address_element.

System.String

Name of the region. An example of a region value is NY for the state of New York.

OUTPUTS

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

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