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

The TopNValue defines the structure of output of top N values of a field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue

Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue.



1201
1202
1203
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1201

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

Instance Attribute Details

#countFixnum

The frequency count of the corresponding value in the field. Corresponds to the JSON property count

Returns:

  • (Fixnum)


1194
1195
1196
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1194

def count
  @count
end

#valueString

The value is the string value of the actual value from the field. Corresponds to the JSON property value

Returns:

  • (String)


1199
1200
1201
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1199

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1206
1207
1208
1209
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1206

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