Class: Google::Apis::StoragetransferV1::TransferCounters
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::TransferCounters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storagetransfer_v1/classes.rb,
generated/google/apis/storagetransfer_v1/representations.rb,
generated/google/apis/storagetransfer_v1/representations.rb
Overview
A collection of counters that report the progress of a transfer operation.
Instance Attribute Summary collapse
-
#bytes_copied_to_sink ⇒ Fixnum
Bytes that are copied to the data sink.
-
#bytes_deleted_from_sink ⇒ Fixnum
Bytes that are deleted from the data sink.
-
#bytes_deleted_from_source ⇒ Fixnum
Bytes that are deleted from the data source.
-
#bytes_failed_to_delete_from_sink ⇒ Fixnum
Bytes that failed to be deleted from the data sink.
-
#bytes_found_from_source ⇒ 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.
-
#bytes_found_only_from_sink ⇒ Fixnum
Bytes found only in the data sink that are scheduled to be deleted.
-
#bytes_from_source_failed ⇒ Fixnum
Bytes in the data source that failed to be transferred or that failed to be deleted after being transferred.
-
#bytes_from_source_skipped_by_sync ⇒ Fixnum
Bytes in the data source that are not transferred because they already exist in the data sink.
-
#objects_copied_to_sink ⇒ Fixnum
Objects that are copied to the data sink.
-
#objects_deleted_from_sink ⇒ Fixnum
Objects that are deleted from the data sink.
-
#objects_deleted_from_source ⇒ Fixnum
Objects that are deleted from the data source.
-
#objects_failed_to_delete_from_sink ⇒ Fixnum
Objects that failed to be deleted from the data sink.
-
#objects_found_from_source ⇒ 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.
-
#objects_found_only_from_sink ⇒ Fixnum
Objects found only in the data sink that are scheduled to be deleted.
-
#objects_from_source_failed ⇒ Fixnum
Objects in the data source that failed to be transferred or that failed to be deleted after being transferred.
-
#objects_from_source_skipped_by_sync ⇒ Fixnum
Objects in the data source that are not transferred because they already exist in the data sink.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferCounters
constructor
A new instance of TransferCounters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TransferCounters
Returns a new instance of TransferCounters.
736 737 738 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_copied_to_sink ⇒ Fixnum
Bytes that are copied to the data sink.
Corresponds to the JSON property bytesCopiedToSink
651 652 653 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 651 def bytes_copied_to_sink @bytes_copied_to_sink end |
#bytes_deleted_from_sink ⇒ Fixnum
Bytes that are deleted from the data sink.
Corresponds to the JSON property bytesDeletedFromSink
656 657 658 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 656 def bytes_deleted_from_sink @bytes_deleted_from_sink end |
#bytes_deleted_from_source ⇒ Fixnum
Bytes that are deleted from the data source.
Corresponds to the JSON property bytesDeletedFromSource
661 662 663 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 661 def bytes_deleted_from_source @bytes_deleted_from_source end |
#bytes_failed_to_delete_from_sink ⇒ Fixnum
Bytes that failed to be deleted from the data sink.
Corresponds to the JSON property bytesFailedToDeleteFromSink
666 667 668 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 666 def bytes_failed_to_delete_from_sink @bytes_failed_to_delete_from_sink end |
#bytes_found_from_source ⇒ 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
673 674 675 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 673 def bytes_found_from_source @bytes_found_from_source end |
#bytes_found_only_from_sink ⇒ Fixnum
Bytes found only in the data sink that are scheduled to be deleted.
Corresponds to the JSON property bytesFoundOnlyFromSink
678 679 680 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 678 def bytes_found_only_from_sink @bytes_found_only_from_sink end |
#bytes_from_source_failed ⇒ 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
684 685 686 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 684 def bytes_from_source_failed @bytes_from_source_failed end |
#bytes_from_source_skipped_by_sync ⇒ Fixnum
Bytes in the data source that are not transferred because they already
exist in the data sink.
Corresponds to the JSON property bytesFromSourceSkippedBySync
690 691 692 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 690 def bytes_from_source_skipped_by_sync @bytes_from_source_skipped_by_sync end |
#objects_copied_to_sink ⇒ Fixnum
Objects that are copied to the data sink.
Corresponds to the JSON property objectsCopiedToSink
695 696 697 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 695 def objects_copied_to_sink @objects_copied_to_sink end |
#objects_deleted_from_sink ⇒ Fixnum
Objects that are deleted from the data sink.
Corresponds to the JSON property objectsDeletedFromSink
700 701 702 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 700 def objects_deleted_from_sink @objects_deleted_from_sink end |
#objects_deleted_from_source ⇒ Fixnum
Objects that are deleted from the data source.
Corresponds to the JSON property objectsDeletedFromSource
705 706 707 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 705 def objects_deleted_from_source @objects_deleted_from_source end |
#objects_failed_to_delete_from_sink ⇒ Fixnum
Objects that failed to be deleted from the data sink.
Corresponds to the JSON property objectsFailedToDeleteFromSink
710 711 712 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 710 def objects_failed_to_delete_from_sink @objects_failed_to_delete_from_sink end |
#objects_found_from_source ⇒ 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
717 718 719 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 717 def objects_found_from_source @objects_found_from_source end |
#objects_found_only_from_sink ⇒ Fixnum
Objects found only in the data sink that are scheduled to be deleted.
Corresponds to the JSON property objectsFoundOnlyFromSink
722 723 724 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 722 def objects_found_only_from_sink @objects_found_only_from_sink end |
#objects_from_source_failed ⇒ 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
728 729 730 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 728 def objects_from_source_failed @objects_from_source_failed end |
#objects_from_source_skipped_by_sync ⇒ Fixnum
Objects in the data source that are not transferred because they already
exist in the data sink.
Corresponds to the JSON property objectsFromSourceSkippedBySync
734 735 736 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 734 def objects_from_source_skipped_by_sync @objects_from_source_skipped_by_sync end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 741 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) @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 |