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

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
Name Description
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
Type Description
Google\Cloud\StorageTransfer\V1\TransferJob|null

hasTransferJob

clearTransferJob

setTransferJob

Required. The job to create.

Parameter
Name Description
var Google\Cloud\StorageTransfer\V1\TransferJob
Returns
Type Description
$this