Skip to content

New GAUserAddressObj

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

New-GAUserAddressObj

SYNOPSIS

Creates a new Directory API UserAddress object.

SYNTAX

New-GAUserAddressObj [[-Country] <String>] [[-CountryCode] <String>] [[-CustomType] <String>]
 [[-ExtendedAddress] <String>] [[-Formatted] <String>] [[-Locality] <String>] [[-PoBox] <String>]
 [[-PostalCode] <String>] [[-Primary] <Boolean>] [[-Region] <String>] [[-SourceIsStructured] <Boolean>]
 [[-StreetAddress] <String>] [[-Type] <String>] [-WhatIf] [-Confirm]

DESCRIPTION

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

EXAMPLES

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

PS C:\> New-GAUserAddressObj

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

-Country

Country.

Type: String
Parameter Sets: (All)
Aliases: 

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

-CountryCode

Country code.

Type: String
Parameter Sets: (All)
Aliases: 

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

-CustomType

Custom type.

Type: String
Parameter Sets: (All)
Aliases: 

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

-ExtendedAddress

Extended Address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Formatted

Formatted address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Locality

Locality.

Type: String
Parameter Sets: (All)
Aliases: 

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

-PoBox

Other parts of address.

Type: String
Parameter Sets: (All)
Aliases: 

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

-PostalCode

Postal code.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Primary

If this is user's primary address. Only one entry could be marked as primary.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-Region

Region.

Type: String
Parameter Sets: (All)
Aliases: 

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

-SourceIsStructured

User supplied address was structured. Structured addresses are NOT supported at this time. You might be able to write structured addresses, but any values will eventually be clobbered.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-StreetAddress

Street.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Type

Each entry can have a type which indicates standard values of that entry. For example address could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value. Such type should have the CUSTOM value as type and also have a customType value.

Type: String
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

Country.

System.String

Country code.

System.String

Custom type.

System.String

Extended Address.

System.String

Formatted address.

System.String

Locality.

System.String

Other parts of address.

System.String

Postal code.

System.Boolean

If this is user's primary address. Only one entry could be marked as primary.

System.String

Region.

System.Boolean

User supplied address was structured. Structured addresses are NOT supported at this time. You might be able to write structured addresses, but any values will eventually be clobbered.

System.String

Street.

System.String

Each entry can have a type which indicates standard values of that entry. For example address could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value. Such type should have the CUSTOM value as type and also have a customType value.

OUTPUTS

Google.Apis.admin.Directory.directory_v1.Data.UserAddress

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