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

This Cmdlet has been depreciated and discontinued as of v0.9.8

New-GASchemaField

SYNOPSIS

SYNTAX

New (Default)

New-GASchemaField [-FieldName] <String> [-FieldType] <SchemaFieldType> [[-Indexed] <Boolean>]
 [[-MultiValued] <Boolean>] [[-MinValue] <Double>] [[-MaxValue] <Double>]
 [[-ReadAccessType] <SchemaFieldReadAccessType>] [-WhatIf] [-Confirm]

Google

New-GASchemaField [-SchemaFieldSpec] <SchemaFieldSpec> [-WhatIf] [-Confirm]

DESCRIPTION

{{Fill in the Description}}

EXAMPLES

Example 1

PS C:\>  {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-FieldName

{{Fill FieldName Description}}

Type: String
Parameter Sets: New
Aliases: 

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

-FieldType

Possible values: STRING, INT64, BOOL, DOUBLE, EMAIL, PHONE, DATE

Type: SchemaFieldType
Parameter Sets: New
Aliases: 
Accepted values: STRING, INT64, BOOL, DOUBLE, EMAIL, PHONE, DATE

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

-Indexed

{{Fill Indexed Description}}

Type: Boolean
Parameter Sets: New
Aliases: 

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

-MultiValued

{{Fill MultiValued Description}}

Type: Boolean
Parameter Sets: New
Aliases: 

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

-MinValue

{{Fill MinValue Description}}

Type: Double
Parameter Sets: New
Aliases: 

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

-MaxValue

{{Fill MaxValue Description}}

Type: Double
Parameter Sets: New
Aliases: 

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

-ReadAccessType

Possible values: ALL_DOMAIN_USERS, ADMINS_AND_SELF

Type: SchemaFieldReadAccessType
Parameter Sets: New
Aliases: 
Accepted values: ALL_DOMAIN_USERS, ADMINS_AND_SELF

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

-SchemaFieldSpec

{{Fill SchemaFieldSpec Description}}

Type: SchemaFieldSpec
Parameter Sets: Google
Aliases: 

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

INPUTS

System.String

gShell.Cmdlets.Directory.GASchema.SchemaField+SchemaFieldType

System.Boolean

System.Boolean

System.Double

System.Double

gShell.Cmdlets.Directory.GASchema.SchemaField+SchemaFieldReadAccessType

Google.Apis.admin.Directory.directory_v1.Data.SchemaFieldSpec

OUTPUTS

NOTES

RELATED LINKS

Clone this wiki locally