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

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

A description of the execution of a transfer.

Generated from protobuf message google.storagetransfer.v1.TransferOperation

Namespace

Google \ Cloud \ StorageTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

A globally unique ID assigned by the system.

↳ project_id string

The ID of the Google Cloud project that owns the operation.

↳ transfer_spec Google\Cloud\StorageTransfer\V1\TransferSpec

Transfer specification.

↳ notification_config Google\Cloud\StorageTransfer\V1\NotificationConfig

Notification configuration.

↳ start_time Google\Protobuf\Timestamp

Start time of this transfer execution.

↳ end_time Google\Protobuf\Timestamp

End time of this transfer execution.

↳ status int

Status of the transfer operation.

↳ counters Google\Cloud\StorageTransfer\V1\TransferCounters

Information about the progress of the transfer operation.

↳ error_breakdowns array<Google\Cloud\StorageTransfer\V1\ErrorSummary>

Summarizes errors encountered with sample error log entries.

↳ transfer_job_name string

The name of the transfer job that triggers this transfer operation.

getName

A globally unique ID assigned by the system.

Returns
TypeDescription
string

setName

A globally unique ID assigned by the system.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProjectId

The ID of the Google Cloud project that owns the operation.

Returns
TypeDescription
string

setProjectId

The ID of the Google Cloud project that owns the operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTransferSpec

Transfer specification.

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

hasTransferSpec

clearTransferSpec

setTransferSpec

Transfer specification.

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

getNotificationConfig

Notification configuration.

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

hasNotificationConfig

clearNotificationConfig

setNotificationConfig

Notification configuration.

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

getStartTime

Start time of this transfer execution.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start time of this transfer execution.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

End time of this transfer execution.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End time of this transfer execution.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getStatus

Status of the transfer operation.

Returns
TypeDescription
int

setStatus

Status of the transfer operation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCounters

Information about the progress of the transfer operation.

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

hasCounters

clearCounters

setCounters

Information about the progress of the transfer operation.

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

getErrorBreakdowns

Summarizes errors encountered with sample error log entries.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrorBreakdowns

Summarizes errors encountered with sample error log entries.

Parameter
NameDescription
var array<Google\Cloud\StorageTransfer\V1\ErrorSummary>
Returns
TypeDescription
$this

getTransferJobName

The name of the transfer job that triggers this transfer operation.

Returns
TypeDescription
string

setTransferJobName

The name of the transfer job that triggers this transfer operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this