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 [String]

bytes_deleted_from_sink[RW]

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

bytes_deleted_from_source[RW]

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

bytes_failed_to_delete_from_sink[RW]

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

bytes_found_from_source[RW]

Bytes found in the data source that are scheduled to be transferred, which will be copied, excluded based on conditions, or skipped due to failures. Corresponds to the JSON property `bytesFoundFromSource` @return [String]

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 [String]

bytes_from_source_failed[RW]

Bytes in the data source that failed during the transfer. Corresponds to the JSON property `bytesFromSourceFailed` @return [String]

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 [String]

objects_copied_to_sink[RW]

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

objects_deleted_from_sink[RW]

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

objects_deleted_from_source[RW]

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

objects_failed_to_delete_from_sink[RW]

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

objects_found_from_source[RW]

Objects found in the data source that are scheduled to be transferred, which will be copied, excluded based on conditions, or skipped due to failures. Corresponds to the JSON property `objectsFoundFromSource` @return [String]

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 [String]

objects_from_source_failed[RW]

Objects in the data source that failed during the transfer. Corresponds to the JSON property `objectsFromSourceFailed` @return [String]

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 [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/storagetransfer_v1/classes.rb, line 968
def update!(**args)
  @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source)
  @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source)
  @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink)
  @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink)
  @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync)
  @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync)
  @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink)
  @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink)
  @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source)
  @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_deleted_from_source)
  @objects_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink)
  @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink)
  @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed)
  @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed)
  @objects_failed_to_delete_from_sink = args[:objects_failed_to_delete_from_sink] if args.key?(:objects_failed_to_delete_from_sink)
  @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink)
end