Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class TransferCounters.
A collection of counters that report the progress of a transfer operation.
Generated from protobuf message google.storagetransfer.v1.TransferCounters
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ objects_found_from_source
int|string
Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
↳ bytes_found_from_source
int|string
Bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
↳ objects_found_only_from_sink
int|string
Objects found only in the data sink that are scheduled to be deleted.
↳ bytes_found_only_from_sink
int|string
Bytes found only in the data sink that are scheduled to be deleted.
↳ objects_from_source_skipped_by_sync
int|string
Objects in the data source that are not transferred because they already exist in the data sink.
↳ bytes_from_source_skipped_by_sync
int|string
Bytes in the data source that are not transferred because they already exist in the data sink.
↳ objects_copied_to_sink
int|string
Objects that are copied to the data sink.
↳ bytes_copied_to_sink
int|string
Bytes that are copied to the data sink.
↳ objects_deleted_from_source
int|string
Objects that are deleted from the data source.
↳ bytes_deleted_from_source
int|string
Bytes that are deleted from the data source.
↳ objects_deleted_from_sink
int|string
Objects that are deleted from the data sink.
↳ bytes_deleted_from_sink
int|string
Bytes that are deleted from the data sink.
↳ objects_from_source_failed
int|string
Objects in the data source that failed to be transferred or that failed to be deleted after being transferred.
↳ bytes_from_source_failed
int|string
Bytes in the data source that failed to be transferred or that failed to be deleted after being transferred.
↳ objects_failed_to_delete_from_sink
int|string
Objects that failed to be deleted from the data sink.
↳ bytes_failed_to_delete_from_sink
int|string
Bytes that failed to be deleted from the data sink.
↳ directories_found_from_source
int|string
For transfers involving PosixFilesystem only. Number of directories found while listing. For example, if the root directory of the transfer is base/
and there are two other directories, a/
and b/
under this directory, the count after listing base/
, base/a/
and base/b/
is 3.
↳ directories_failed_to_list_from_source
int|string
For transfers involving PosixFilesystem only. Number of listing failures for each directory found at the source. Potential failures when listing a directory include permission failure or block failure. If listing a directory fails, no files in the directory are transferred.
↳ directories_successfully_listed_from_source
int|string
For transfers involving PosixFilesystem only. Number of successful listings for each directory found at the source.
↳ intermediate_objects_cleaned_up
int|string
Number of successfully cleaned up intermediate objects.
↳ intermediate_objects_failed_cleaned_up
int|string
Number of intermediate objects failed cleaned up.
getObjectsFoundFromSource
Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int|string
setObjectsFoundFromSource
Objects found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
var
int|string
$this
getBytesFoundFromSource
Bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
int|string
setBytesFoundFromSource
Bytes found in the data source that are scheduled to be transferred, excluding any that are filtered based on object conditions or skipped due to sync.
var
int|string
$this
getObjectsFoundOnlyFromSink
Objects found only in the data sink that are scheduled to be deleted.
int|string
setObjectsFoundOnlyFromSink
Objects found only in the data sink that are scheduled to be deleted.
var
int|string
$this
getBytesFoundOnlyFromSink
Bytes found only in the data sink that are scheduled to be deleted.
int|string
setBytesFoundOnlyFromSink
Bytes found only in the data sink that are scheduled to be deleted.
var
int|string
$this
getObjectsFromSourceSkippedBySync
Objects in the data source that are not transferred because they already exist in the data sink.
int|string
setObjectsFromSourceSkippedBySync
Objects in the data source that are not transferred because they already exist in the data sink.
var
int|string
$this
getBytesFromSourceSkippedBySync
Bytes in the data source that are not transferred because they already exist in the data sink.
int|string
setBytesFromSourceSkippedBySync
Bytes in the data source that are not transferred because they already exist in the data sink.
var
int|string
$this
getObjectsCopiedToSink
Objects that are copied to the data sink.
int|string
setObjectsCopiedToSink
Objects that are copied to the data sink.
var
int|string
$this
getBytesCopiedToSink
Bytes that are copied to the data sink.
int|string
setBytesCopiedToSink
Bytes that are copied to the data sink.
var
int|string
$this
getObjectsDeletedFromSource
Objects that are deleted from the data source.
int|string
setObjectsDeletedFromSource
Objects that are deleted from the data source.
var
int|string
$this
getBytesDeletedFromSource
Bytes that are deleted from the data source.
int|string
setBytesDeletedFromSource
Bytes that are deleted from the data source.
var
int|string
$this
getObjectsDeletedFromSink
Objects that are deleted from the data sink.
int|string
setObjectsDeletedFromSink
Objects that are deleted from the data sink.
var
int|string
$this
getBytesDeletedFromSink
Bytes that are deleted from the data sink.
int|string
setBytesDeletedFromSink
Bytes that are deleted from the data sink.
var
int|string
$this
getObjectsFromSourceFailed
Objects in the data source that failed to be transferred or that failed to be deleted after being transferred.
int|string
setObjectsFromSourceFailed
Objects in the data source that failed to be transferred or that failed to be deleted after being transferred.
var
int|string
$this
getBytesFromSourceFailed
Bytes in the data source that failed to be transferred or that failed to be deleted after being transferred.
int|string
setBytesFromSourceFailed
Bytes in the data source that failed to be transferred or that failed to be deleted after being transferred.
var
int|string
$this
getObjectsFailedToDeleteFromSink
Objects that failed to be deleted from the data sink.
int|string
setObjectsFailedToDeleteFromSink
Objects that failed to be deleted from the data sink.
var
int|string
$this
getBytesFailedToDeleteFromSink
Bytes that failed to be deleted from the data sink.
int|string
setBytesFailedToDeleteFromSink
Bytes that failed to be deleted from the data sink.
var
int|string
$this
getDirectoriesFoundFromSource
For transfers involving PosixFilesystem only.
Number of directories found while listing. For example, if the root
directory of the transfer is base/
and there are two other directories, a/
and b/
under this directory, the count after listing base/
, base/a/
and base/b/
is 3.
int|string
setDirectoriesFoundFromSource
For transfers involving PosixFilesystem only.
Number of directories found while listing. For example, if the root
directory of the transfer is base/
and there are two other directories, a/
and b/
under this directory, the count after listing base/
, base/a/
and base/b/
is 3.
var
int|string
$this
getDirectoriesFailedToListFromSource
For transfers involving PosixFilesystem only.
Number of listing failures for each directory found at the source. Potential failures when listing a directory include permission failure or block failure. If listing a directory fails, no files in the directory are transferred.
int|string
setDirectoriesFailedToListFromSource
For transfers involving PosixFilesystem only.
Number of listing failures for each directory found at the source. Potential failures when listing a directory include permission failure or block failure. If listing a directory fails, no files in the directory are transferred.
var
int|string
$this
getDirectoriesSuccessfullyListedFromSource
For transfers involving PosixFilesystem only.
Number of successful listings for each directory found at the source.
int|string
setDirectoriesSuccessfullyListedFromSource
For transfers involving PosixFilesystem only.
Number of successful listings for each directory found at the source.
var
int|string
$this
getIntermediateObjectsCleanedUp
Number of successfully cleaned up intermediate objects.
int|string
setIntermediateObjectsCleanedUp
Number of successfully cleaned up intermediate objects.
var
int|string
$this
getIntermediateObjectsFailedCleanedUp
Number of intermediate objects failed cleaned up.
int|string
setIntermediateObjectsFailedCleanedUp
Number of intermediate objects failed cleaned up.
var
int|string
$this