Google Cloud Dataplex V1 Client - Class StringFieldInfo (0.2.3)

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

StringFieldInfo defines output info for any string type field.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ min_length int|string

The minimum length of the string field in the sampled data. Optional if zero non-null rows.

↳ max_length int|string

The maximum length of a string field in the sampled data. Optional if zero non-null rows.

↳ average_length float

The average length of a string field in the sampled data. Optional if zero non-null rows.

getMinLength

The minimum length of the string field in the sampled data.

Optional if zero non-null rows.

Returns
TypeDescription
int|string

setMinLength

The minimum length of the string field in the sampled data.

Optional if zero non-null rows.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMaxLength

The maximum length of a string field in the sampled data.

Optional if zero non-null rows.

Returns
TypeDescription
int|string

setMaxLength

The maximum length of a string field in the sampled data.

Optional if zero non-null rows.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getAverageLength

The average length of a string field in the sampled data.

Optional if zero non-null rows.

Returns
TypeDescription
float

setAverageLength

The average length of a string field in the sampled data.

Optional if zero non-null rows.

Parameter
NameDescription
var float
Returns
TypeDescription
$this