Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue

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

Top N non-null values in the scanned data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue

Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue.



1458
1459
1460
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1458

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

Instance Attribute Details

#countFixnum

Count of the corresponding value in the scanned data. Corresponds to the JSON property count

Returns:

  • (Fixnum)


1451
1452
1453
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1451

def count
  @count
end

#valueString

String value of a top N non-null value. Corresponds to the JSON property value

Returns:

  • (String)


1456
1457
1458
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1456

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1463
1464
1465
1466
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1463

def update!(**args)
  @count = args[:count] if args.key?(:count)
  @value = args[:value] if args.key?(:value)
end