Google Cloud Storage Transfer V1 Client - Class CreateTransferJobRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class CreateTransferJobRequest.

Request passed to CreateTransferJob.

Generated from protobuf message google.storagetransfer.v1.CreateTransferJobRequest

Namespace

Google \ Cloud \ StorageTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ transfer_job Google\Cloud\StorageTransfer\V1\TransferJob

Required. The job to create.

getTransferJob

Required. The job to create.

Returns
TypeDescription
Google\Cloud\StorageTransfer\V1\TransferJob|null

hasTransferJob

clearTransferJob

setTransferJob

Required. The job to create.

Parameter
NameDescription
var Google\Cloud\StorageTransfer\V1\TransferJob
Returns
TypeDescription
$this