counters = $counters; } /** * @return TransferCounters */ public function getCounters() { return $this->counters; } /** * End time of this transfer execution. * * @param string $endTime */ public function setEndTime($endTime) { $this->endTime = $endTime; } /** * @return string */ public function getEndTime() { return $this->endTime; } /** * Summarizes errors encountered with sample error log entries. * * @param ErrorSummary[] $errorBreakdowns */ public function setErrorBreakdowns($errorBreakdowns) { $this->errorBreakdowns = $errorBreakdowns; } /** * @return ErrorSummary[] */ public function getErrorBreakdowns() { return $this->errorBreakdowns; } /** * Cloud Logging configuration. * * @param LoggingConfig $loggingConfig */ public function setLoggingConfig(LoggingConfig $loggingConfig) { $this->loggingConfig = $loggingConfig; } /** * @return LoggingConfig */ public function getLoggingConfig() { return $this->loggingConfig; } /** * A globally unique ID assigned by the system. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Notification configuration. * * @param NotificationConfig $notificationConfig */ public function setNotificationConfig(NotificationConfig $notificationConfig) { $this->notificationConfig = $notificationConfig; } /** * @return NotificationConfig */ public function getNotificationConfig() { return $this->notificationConfig; } /** * The ID of the Google Cloud project that owns the operation. * * @param string $projectId */ public function setProjectId($projectId) { $this->projectId = $projectId; } /** * @return string */ public function getProjectId() { return $this->projectId; } /** * Start time of this transfer execution. * * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } /** * Status of the transfer operation. * * Accepted values: STATUS_UNSPECIFIED, IN_PROGRESS, PAUSED, SUCCESS, FAILED, * ABORTED, QUEUED, SUSPENDING * * @param self::STATUS_* $status */ public function setStatus($status) { $this->status = $status; } /** * @return self::STATUS_* */ public function getStatus() { return $this->status; } /** * The name of the transfer job that triggers this transfer operation. * * @param string $transferJobName */ public function setTransferJobName($transferJobName) { $this->transferJobName = $transferJobName; } /** * @return string */ public function getTransferJobName() { return $this->transferJobName; } /** * Transfer specification. * * @param TransferSpec $transferSpec */ public function setTransferSpec(TransferSpec $transferSpec) { $this->transferSpec = $transferSpec; } /** * @return TransferSpec */ public function getTransferSpec() { return $this->transferSpec; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TransferOperation::class, 'Google_Service_Storagetransfer_TransferOperation');