Skip to content

New GDataTransferDataObj

Spencer Varney edited this page Dec 14, 2016 · 3 revisions

New-GDataTransferDataObj

SYNOPSIS

Creates a new DataTransfer API DataTransfer object.

SYNTAX

New-GDataTransferDataObj [[-ApplicationDataTransfers] <ApplicationDataTransfer[]>] [[-Id] <String>]
 [[-NewOwnerUserId] <String>] [[-OldOwnerUserId] <String>] [[-OverallTransferStatusCode] <String>]
 [[-RequestTime] <DateTime>] [-WhatIf] [-Confirm]

DESCRIPTION

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

You could alternately create this object by calling New-Object -TypeName Google.Apis.admin.DataTransfer.datatransfer_v1.Data.DataTransfer

EXAMPLES

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

PS C:\> New-GDataTransferDataObj

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

-ApplicationDataTransfers

List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.

Type: ApplicationDataTransfer[]
Parameter Sets: (All)
Aliases: 

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

-Id

The transfer's ID (Read-only).

Type: String
Parameter Sets: (All)
Aliases: 

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

-NewOwnerUserId

ID of the user to whom the data is being transfered.

Type: String
Parameter Sets: (All)
Aliases: 

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

-OldOwnerUserId

ID of the user whose data is being transfered.

Type: String
Parameter Sets: (All)
Aliases: 

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

-OverallTransferStatusCode

Overall transfer status (Read-only).

Type: String
Parameter Sets: (All)
Aliases: 

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

-RequestTime

The time at which the data transfer was requested (Read-only).

Type: DateTime
Parameter Sets: (All)
Aliases: 

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

INPUTS

Google.Apis.admin.DataTransfer.datatransfer_v1.Data.ApplicationDataTransfer[]

List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation.

System.String

The transfer's ID (Read-only).

System.String

ID of the user to whom the data is being transfered.

System.String

ID of the user whose data is being transfered.

System.String

Overall transfer status (Read-only).

System.DateTime

The time at which the data transfer was requested (Read-only).

OUTPUTS

Google.Apis.admin.DataTransfer.datatransfer_v1.Data.DataTransfer

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally