Google Cloud Dataplex V1 Client - Class TopNValue (0.2.3)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class TopNValue.

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

Generated from protobuf message google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value string

The value is the string value of the actual value from the field.

↳ count int|string

The frequency count of the corresponding value in the field.

getValue

The value is the string value of the actual value from the field.

Returns
TypeDescription
string

setValue

The value is the string value of the actual value from the field.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCount

The frequency count of the corresponding value in the field.

Returns
TypeDescription
int|string

setCount

The frequency count of the corresponding value in the field.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this