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 ⇒ String
Bytes that are copied to the data sink.
-
#bytes_deleted_from_sink ⇒ String
Bytes that are deleted from the data sink.
-
#bytes_deleted_from_source ⇒ String
Bytes that are deleted from the data source.
-
#bytes_failed_to_delete_from_sink ⇒ String
Bytes that failed to be deleted from the data sink.
-
#bytes_found_from_source ⇒ String
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.
-
#bytes_found_only_from_sink ⇒ String
Bytes found only in the data sink that are scheduled to be deleted.
-
#bytes_from_source_failed ⇒ String
Bytes in the data source that failed during the transfer.
-
#bytes_from_source_skipped_by_sync ⇒ String
Bytes in the data source that are not transferred because they already exist in the data sink.
-
#objects_copied_to_sink ⇒ String
Objects that are copied to the data sink.
-
#objects_deleted_from_sink ⇒ String
Objects that are deleted from the data sink.
-
#objects_deleted_from_source ⇒ String
Objects that are deleted from the data source.
-
#objects_failed_to_delete_from_sink ⇒ String
Objects that failed to be deleted from the data sink.
-
#objects_found_from_source ⇒ String
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.
-
#objects_found_only_from_sink ⇒ String
Objects found only in the data sink that are scheduled to be deleted.
-
#objects_from_source_failed ⇒ String
Objects in the data source that failed during the transfer.
-
#objects_from_source_skipped_by_sync ⇒ String
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.
963 964 965 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 963 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_copied_to_sink ⇒ String
Bytes that are copied to the data sink.
Corresponds to the JSON property bytesCopiedToSink
921 922 923 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 921 def bytes_copied_to_sink @bytes_copied_to_sink end |
#bytes_deleted_from_sink ⇒ String
Bytes that are deleted from the data sink.
Corresponds to the JSON property bytesDeletedFromSink
941 942 943 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 941 def bytes_deleted_from_sink @bytes_deleted_from_sink end |
#bytes_deleted_from_source ⇒ String
Bytes that are deleted from the data source.
Corresponds to the JSON property bytesDeletedFromSource
931 932 933 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 931 def bytes_deleted_from_source @bytes_deleted_from_source end |
#bytes_failed_to_delete_from_sink ⇒ String
Bytes that failed to be deleted from the data sink.
Corresponds to the JSON property bytesFailedToDeleteFromSink
961 962 963 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 961 def bytes_failed_to_delete_from_sink @bytes_failed_to_delete_from_sink end |
#bytes_found_from_source ⇒ String
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
889 890 891 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 889 def bytes_found_from_source @bytes_found_from_source end |
#bytes_found_only_from_sink ⇒ String
Bytes found only in the data sink that are scheduled to be deleted.
Corresponds to the JSON property bytesFoundOnlyFromSink
899 900 901 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 899 def bytes_found_only_from_sink @bytes_found_only_from_sink end |
#bytes_from_source_failed ⇒ String
Bytes in the data source that failed during the transfer.
Corresponds to the JSON property bytesFromSourceFailed
951 952 953 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 951 def bytes_from_source_failed @bytes_from_source_failed end |
#bytes_from_source_skipped_by_sync ⇒ String
Bytes in the data source that are not transferred because they already exist
in the data sink.
Corresponds to the JSON property bytesFromSourceSkippedBySync
911 912 913 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 911 def bytes_from_source_skipped_by_sync @bytes_from_source_skipped_by_sync end |
#objects_copied_to_sink ⇒ String
Objects that are copied to the data sink.
Corresponds to the JSON property objectsCopiedToSink
916 917 918 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 916 def objects_copied_to_sink @objects_copied_to_sink end |
#objects_deleted_from_sink ⇒ String
Objects that are deleted from the data sink.
Corresponds to the JSON property objectsDeletedFromSink
936 937 938 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 936 def objects_deleted_from_sink @objects_deleted_from_sink end |
#objects_deleted_from_source ⇒ String
Objects that are deleted from the data source.
Corresponds to the JSON property objectsDeletedFromSource
926 927 928 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 926 def objects_deleted_from_source @objects_deleted_from_source end |
#objects_failed_to_delete_from_sink ⇒ String
Objects that failed to be deleted from the data sink.
Corresponds to the JSON property objectsFailedToDeleteFromSink
956 957 958 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 956 def objects_failed_to_delete_from_sink @objects_failed_to_delete_from_sink end |
#objects_found_from_source ⇒ String
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
883 884 885 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 883 def objects_found_from_source @objects_found_from_source end |
#objects_found_only_from_sink ⇒ String
Objects found only in the data sink that are scheduled to be deleted.
Corresponds to the JSON property objectsFoundOnlyFromSink
894 895 896 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 894 def objects_found_only_from_sink @objects_found_only_from_sink end |
#objects_from_source_failed ⇒ String
Objects in the data source that failed during the transfer.
Corresponds to the JSON property objectsFromSourceFailed
946 947 948 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 946 def objects_from_source_failed @objects_from_source_failed end |
#objects_from_source_skipped_by_sync ⇒ String
Objects in the data source that are not transferred because they already exist
in the data sink.
Corresponds to the JSON property objectsFromSourceSkippedBySync
905 906 907 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 905 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
968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 |
# 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 |