Class: Google::Apis::VaultV1::ExportStats
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::ExportStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vault_v1/classes.rb,
lib/google/apis/vault_v1/representations.rb,
lib/google/apis/vault_v1/representations.rb
Overview
Progress information for an export.
Instance Attribute Summary collapse
-
#exported_artifact_count ⇒ Fixnum
The number of messages or files already processed for export.
-
#size_in_bytes ⇒ Fixnum
The size of export in bytes.
-
#total_artifact_count ⇒ Fixnum
The number of messages or files to be exported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExportStats
constructor
A new instance of ExportStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExportStats
Returns a new instance of ExportStats.
677 678 679 |
# File 'lib/google/apis/vault_v1/classes.rb', line 677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exported_artifact_count ⇒ Fixnum
The number of messages or files already processed for export.
Corresponds to the JSON property exportedArtifactCount
665 666 667 |
# File 'lib/google/apis/vault_v1/classes.rb', line 665 def exported_artifact_count @exported_artifact_count end |
#size_in_bytes ⇒ Fixnum
The size of export in bytes.
Corresponds to the JSON property sizeInBytes
670 671 672 |
# File 'lib/google/apis/vault_v1/classes.rb', line 670 def size_in_bytes @size_in_bytes end |
#total_artifact_count ⇒ Fixnum
The number of messages or files to be exported.
Corresponds to the JSON property totalArtifactCount
675 676 677 |
# File 'lib/google/apis/vault_v1/classes.rb', line 675 def total_artifact_count @total_artifact_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
682 683 684 685 686 |
# File 'lib/google/apis/vault_v1/classes.rb', line 682 def update!(**args) @exported_artifact_count = args[:exported_artifact_count] if args.key?(:exported_artifact_count) @size_in_bytes = args[:size_in_bytes] if args.key?(:size_in_bytes) @total_artifact_count = args[:total_artifact_count] if args.key?(:total_artifact_count) end |