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, which will be copied, excluded based on conditions, or skipped due to failures.
-
#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 during the transfer.
-
#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, which will be copied, excluded based on conditions, or skipped due to failures.
-
#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 during the transfer.
-
#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
1091 1092 1093 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1091 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
1018 1019 1020 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1018 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
1074 1075 1076 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1074 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
1043 1044 1045 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1043 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
1069 1070 1071 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1069 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,
which will be copied, excluded based on conditions, or skipped due to
failures.
Corresponds to the JSON property bytesFoundFromSource
1025 1026 1027 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1025 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
1008 1009 1010 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1008 def bytes_found_only_from_sink @bytes_found_only_from_sink end |
#bytes_from_source_failed ⇒ Fixnum
Bytes in the data source that failed during the transfer.
Corresponds to the JSON property bytesFromSourceFailed
1079 1080 1081 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1079 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
1064 1065 1066 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1064 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
1089 1090 1091 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1089 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
1053 1054 1055 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1053 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
1013 1014 1015 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1013 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
1048 1049 1050 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1048 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,
which will be copied, excluded based on conditions, or skipped due to
failures.
Corresponds to the JSON property objectsFoundFromSource
1038 1039 1040 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1038 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
1058 1059 1060 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1058 def objects_found_only_from_sink @objects_found_only_from_sink end |
#objects_from_source_failed ⇒ Fixnum
Objects in the data source that failed during the transfer.
Corresponds to the JSON property objectsFromSourceFailed
1084 1085 1086 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1084 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
1031 1032 1033 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1031 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
1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1096 def update!(**args) @bytes_found_only_from_sink = args[:bytes_found_only_from_sink] if args.key?(:bytes_found_only_from_sink) @objects_deleted_from_source = args[:objects_deleted_from_source] if args.key?(:objects_deleted_from_source) @bytes_copied_to_sink = args[:bytes_copied_to_sink] if args.key?(:bytes_copied_to_sink) @bytes_found_from_source = args[:bytes_found_from_source] if args.key?(:bytes_found_from_source) @objects_from_source_skipped_by_sync = args[:objects_from_source_skipped_by_sync] if args.key?(:objects_from_source_skipped_by_sync) @objects_found_from_source = args[:objects_found_from_source] if args.key?(:objects_found_from_source) @bytes_deleted_from_source = args[:bytes_deleted_from_source] if args.key?(:bytes_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_deleted_from_sink = args[:objects_deleted_from_sink] if args.key?(:objects_deleted_from_sink) @objects_found_only_from_sink = args[:objects_found_only_from_sink] if args.key?(:objects_found_only_from_sink) @bytes_from_source_skipped_by_sync = args[:bytes_from_source_skipped_by_sync] if args.key?(:bytes_from_source_skipped_by_sync) @bytes_failed_to_delete_from_sink = args[:bytes_failed_to_delete_from_sink] if args.key?(:bytes_failed_to_delete_from_sink) @bytes_deleted_from_sink = args[:bytes_deleted_from_sink] if args.key?(:bytes_deleted_from_sink) @bytes_from_source_failed = args[:bytes_from_source_failed] if args.key?(:bytes_from_source_failed) @objects_from_source_failed = args[:objects_from_source_failed] if args.key?(:objects_from_source_failed) @objects_copied_to_sink = args[:objects_copied_to_sink] if args.key?(:objects_copied_to_sink) end |