class Transfers extends Resource (View source)

The "transfers" collection of methods.

Typical usage is:

 $adminService = new Google\Service\DataTransfer(...);
 $transfers = $adminService->transfers;

Methods

get(string $dataTransferId, array $optParams = [])

Retrieves a data transfer request by its resource ID. (transfers.get)

insert(DataTransfer $postBody, array $optParams = [])

Inserts a data transfer request. See the Transfer parameters reference for specific application requirements. (transfers.insert)

listTransfers(array $optParams = [])

Lists the transfers for a customer by source user, destination user, or status. (transfers.listTransfers)

Details

DataTransfer get(string $dataTransferId, array $optParams = [])

Retrieves a data transfer request by its resource ID. (transfers.get)

Parameters

string $dataTransferId

ID of the resource to be retrieved. This is returned in the response from the insert method.

array $optParams

Optional parameters.

Return Value

DataTransfer

Exceptions

Exception

DataTransfer insert(DataTransfer $postBody, array $optParams = [])

Inserts a data transfer request. See the Transfer parameters reference for specific application requirements. (transfers.insert)

Parameters

DataTransfer $postBody
array $optParams

Optional parameters.

Return Value

DataTransfer

Exceptions

Exception

DataTransfersListResponse listTransfers(array $optParams = [])

Lists the transfers for a customer by source user, destination user, or status. (transfers.listTransfers)

Parameters

array $optParams

Optional parameters.

Return Value

DataTransfersListResponse

Exceptions

Exception