class Google::Apis::StoragetransferV1::TransferCounters

A collection of counters that report the progress of a transfer operation.

Attributes

bytes_copied_to_sink[RW]

Bytes that are copied to the data sink. Corresponds to the JSON property `bytesCopiedToSink` @return [Fixnum]

bytes_deleted_from_sink[RW]

Bytes that are deleted from the data sink. Corresponds to the JSON property `bytesDeletedFromSink` @return [Fixnum]

bytes_deleted_from_source[RW]

Bytes that are deleted from the data source. Corresponds to the JSON property `bytesDeletedFromSource` @return [Fixnum]

bytes_failed_to_delete_from_sink[RW]

Bytes that failed to be deleted from the data sink. Corresponds to the JSON property `bytesFailedToDeleteFromSink` @return [Fixnum]

bytes_found_from_source[RW]

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_from_sink[RW]

Bytes found only in the data sink that are scheduled to be deleted. Corresponds to the JSON property `bytesFoundOnlyFromSink` @return [Fixnum]

bytes_from_source_failed[RW]

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_from_source_skipped_by_sync[RW]

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]

directories_failed_to_list_from_source[RW]

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]

directories_found_from_source[RW]

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]

directories_successfully_listed_from_source[RW]

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_copied_to_sink[RW]

Objects that are copied to the data sink. Corresponds to the JSON property `objectsCopiedToSink` @return [Fixnum]

objects_deleted_from_sink[RW]

Objects that are deleted from the data sink. Corresponds to the JSON property `objectsDeletedFromSink` @return [Fixnum]

objects_deleted_from_source[RW]

Objects that are deleted from the data source. Corresponds to the JSON property `objectsDeletedFromSource` @return [Fixnum]

objects_failed_to_delete_from_sink[RW]

Objects that failed to be deleted from the data sink. Corresponds to the JSON property `objectsFailedToDeleteFromSink` @return [Fixnum]

objects_found_from_source[RW]

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_from_sink[RW]

Objects found only in the data sink that are scheduled to be deleted. Corresponds to the JSON property `objectsFoundOnlyFromSink` @return [Fixnum]

objects_from_source_failed[RW]

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_from_source_skipped_by_sync[RW]

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

new(**args) click to toggle source
# File lib/google/apis/storagetransfer_v1/classes.rb, line 995
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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