Class: Google::Apis::StoragetransferV1::TransferCounters
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::TransferCounters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/storagetransfer_v1/classes.rb,
lib/google/apis/storagetransfer_v1/representations.rb,
lib/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.
-
#directories_failed_to_list_from_source ⇒ Fixnum
For transfers involving PosixFilesystem only.
-
#directories_found_from_source ⇒ Fixnum
For transfers involving PosixFilesystem only.
-
#directories_successfully_listed_from_source ⇒ Fixnum
For transfers involving PosixFilesystem only.
-
#intermediate_objects_cleaned_up ⇒ Fixnum
Number of successfully cleaned up intermediate objects.
-
#intermediate_objects_failed_cleaned_up ⇒ Fixnum
Number of intermediate objects failed cleaned up.
-
#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.
Constructor Details
#initialize(**args) ⇒ TransferCounters
Returns a new instance of TransferCounters.
1449 1450 1451 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1449 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
1333 1334 1335 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1333 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
1338 1339 1340 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1338 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
1343 1344 1345 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1343 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
1348 1349 1350 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1348 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
1354 1355 1356 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1354 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
1359 1360 1361 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1359 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
1365 1366 1367 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1365 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
1371 1372 1373 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1371 def bytes_from_source_skipped_by_sync @bytes_from_source_skipped_by_sync end |
#directories_failed_to_list_from_source ⇒ Fixnum
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
1379 1380 1381 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1379 def directories_failed_to_list_from_source @directories_failed_to_list_from_source end |
#directories_found_from_source ⇒ Fixnum
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
1387 1388 1389 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1387 def directories_found_from_source @directories_found_from_source end |
#directories_successfully_listed_from_source ⇒ Fixnum
For transfers involving PosixFilesystem only. Number of successful listings
for each directory found at the source.
Corresponds to the JSON property directoriesSuccessfullyListedFromSource
1393 1394 1395 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1393 def directories_successfully_listed_from_source @directories_successfully_listed_from_source end |
#intermediate_objects_cleaned_up ⇒ Fixnum
Number of successfully cleaned up intermediate objects.
Corresponds to the JSON property intermediateObjectsCleanedUp
1398 1399 1400 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1398 def intermediate_objects_cleaned_up @intermediate_objects_cleaned_up end |
#intermediate_objects_failed_cleaned_up ⇒ Fixnum
Number of intermediate objects failed cleaned up.
Corresponds to the JSON property intermediateObjectsFailedCleanedUp
1403 1404 1405 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1403 def intermediate_objects_failed_cleaned_up @intermediate_objects_failed_cleaned_up end |
#objects_copied_to_sink ⇒ Fixnum
Objects that are copied to the data sink.
Corresponds to the JSON property objectsCopiedToSink
1408 1409 1410 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1408 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
1413 1414 1415 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1413 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
1418 1419 1420 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1418 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
1423 1424 1425 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1423 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
1430 1431 1432 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1430 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
1435 1436 1437 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1435 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
1441 1442 1443 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1441 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
1447 1448 1449 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1447 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
1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1454 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) @intermediate_objects_cleaned_up = args[:intermediate_objects_cleaned_up] if args.key?(:intermediate_objects_cleaned_up) @intermediate_objects_failed_cleaned_up = args[:intermediate_objects_failed_cleaned_up] if args.key?(:intermediate_objects_failed_cleaned_up) @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 |