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.



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

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)


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

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)


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

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1213
1214
1215
1216
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1213

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