Class: Google::Apis::VaultV1::ExportStats

Inherits:
Object
  • Object
show all
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

Stats of an export.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportStats

Returns a new instance of ExportStats.



674
675
676
# File 'lib/google/apis/vault_v1/classes.rb', line 674

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#exported_artifact_countFixnum

The number of documents already processed by the export. Corresponds to the JSON property exportedArtifactCount

Returns:

  • (Fixnum)


662
663
664
# File 'lib/google/apis/vault_v1/classes.rb', line 662

def exported_artifact_count
  @exported_artifact_count
end

#size_in_bytesFixnum

The size of export in bytes. Corresponds to the JSON property sizeInBytes

Returns:

  • (Fixnum)


667
668
669
# File 'lib/google/apis/vault_v1/classes.rb', line 667

def size_in_bytes
  @size_in_bytes
end

#total_artifact_countFixnum

The number of documents to be exported. Corresponds to the JSON property totalArtifactCount

Returns:

  • (Fixnum)


672
673
674
# File 'lib/google/apis/vault_v1/classes.rb', line 672

def total_artifact_count
  @total_artifact_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



679
680
681
682
683
# File 'lib/google/apis/vault_v1/classes.rb', line 679

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