Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetDiscoveryStatusStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

The aggregated data statistics for the asset reported by discovery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1AssetDiscoveryStatusStats

Returns a new instance of GoogleCloudDataplexV1AssetDiscoveryStatusStats.



636
637
638
# File 'lib/google/apis/dataplex_v1/classes.rb', line 636

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

Instance Attribute Details

#data_itemsFixnum

The count of data items within the referenced resource. Corresponds to the JSON property dataItems

Returns:

  • (Fixnum)


619
620
621
# File 'lib/google/apis/dataplex_v1/classes.rb', line 619

def data_items
  @data_items
end

#data_sizeFixnum

The number of stored data bytes within the referenced resource. Corresponds to the JSON property dataSize

Returns:

  • (Fixnum)


624
625
626
# File 'lib/google/apis/dataplex_v1/classes.rb', line 624

def data_size
  @data_size
end

#filesetsFixnum

The count of fileset entities within the referenced resource. Corresponds to the JSON property filesets

Returns:

  • (Fixnum)


629
630
631
# File 'lib/google/apis/dataplex_v1/classes.rb', line 629

def filesets
  @filesets
end

#tablesFixnum

The count of table entities within the referenced resource. Corresponds to the JSON property tables

Returns:

  • (Fixnum)


634
635
636
# File 'lib/google/apis/dataplex_v1/classes.rb', line 634

def tables
  @tables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



641
642
643
644
645
646
# File 'lib/google/apis/dataplex_v1/classes.rb', line 641

def update!(**args)
  @data_items = args[:data_items] if args.key?(:data_items)
  @data_size = args[:data_size] if args.key?(:data_size)
  @filesets = args[:filesets] if args.key?(:filesets)
  @tables = args[:tables] if args.key?(:tables)
end