class Google::Apis::StoragetransferV1::TransferCounters
A collection of counters that report the progress of a transfer operation.
Attributes
Bytes that are copied to the data sink. Corresponds to the JSON property `bytesCopiedToSink` @return [Fixnum]
Bytes that are deleted from the data sink. Corresponds to the JSON property `bytesDeletedFromSink` @return [Fixnum]
Bytes that are deleted from the data source. Corresponds to the JSON property `bytesDeletedFromSource` @return [Fixnum]
Bytes that failed to be deleted from the data sink. Corresponds to the JSON property `bytesFailedToDeleteFromSink` @return [Fixnum]
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. Corresponds to the JSON property `bytesFoundFromSource` @return [Fixnum]
Bytes found only in the data sink that are scheduled to be deleted. Corresponds to the JSON property `bytesFoundOnlyFromSink` @return [Fixnum]
Bytes in the data source that failed to be transferred or that failed to be deleted after being transferred. Corresponds to the JSON property `bytesFromSourceFailed` @return [Fixnum]
Bytes in the data source that are not transferred because they already exist in the data sink. Corresponds to the JSON property `bytesFromSourceSkippedBySync` @return [Fixnum]
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. Corresponds to the JSON property `directoriesFailedToListFromSource` @return [Fixnum]
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. Corresponds to the JSON property `directoriesFoundFromSource` @return [Fixnum]
For transfers involving PosixFilesystem
only. Number of successful listings for each directory found at the source. Corresponds to the JSON property `directoriesSuccessfullyListedFromSource` @return [Fixnum]
Objects that are copied to the data sink. Corresponds to the JSON property `objectsCopiedToSink` @return [Fixnum]
Objects that are deleted from the data sink. Corresponds to the JSON property `objectsDeletedFromSink` @return [Fixnum]
Objects that are deleted from the data source. Corresponds to the JSON property `objectsDeletedFromSource` @return [Fixnum]
Objects that failed to be deleted from the data sink. Corresponds to the JSON property `objectsFailedToDeleteFromSink` @return [Fixnum]
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. Corresponds to the JSON property `objectsFoundFromSource` @return [Fixnum]
Objects found only in the data sink that are scheduled to be deleted. Corresponds to the JSON property `objectsFoundOnlyFromSink` @return [Fixnum]
Objects in the data source that failed to be transferred or that failed to be deleted after being transferred. Corresponds to the JSON property `objectsFromSourceFailed` @return [Fixnum]
Objects in the data source that are not transferred because they already exist in the data sink. Corresponds to the JSON property `objectsFromSourceSkippedBySync` @return [Fixnum]
Public Class Methods
# File lib/google/apis/storagetransfer_v1/classes.rb, line 995 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/storagetransfer_v1/classes.rb, line 1000 def update!(**args) @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink) @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink) @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source) @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink) @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source) @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink) @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed) @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync) @directories_failed_to_list_from_source = args[:directories_failed_to_list_from_source] if args.key?(:directories_failed_to_list_from_source) @directories_found_from_source = args[:directories_found_from_source] if args.key?(:directories_found_from_source) @directories_successfully_listed_from_source = args[:directories_successfully_listed_from_source] if args.key?(:directories_successfully_listed_from_source) @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink) @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink) @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source) @objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink) @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source) @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink) @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed) @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync) end