Google Cloud Dataplex V1 Client - Class StringFieldInfo (0.12.0)

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

The profile information for a string type field.

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

Namespace

Google \ Cloud \ Dataplex \ V1 \ DataProfileResult \ Profile \ Field \ ProfileInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ min_length int|string

Minimum length of non-null values in the scanned data.

↳ max_length int|string

Maximum length of non-null values in the scanned data.

↳ average_length float

Average length of non-null values in the scanned data.

getMinLength

Minimum length of non-null values in the scanned data.

Returns
TypeDescription
int|string

setMinLength

Minimum length of non-null values in the scanned data.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMaxLength

Maximum length of non-null values in the scanned data.

Returns
TypeDescription
int|string

setMaxLength

Maximum length of non-null values in the scanned data.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getAverageLength

Average length of non-null values in the scanned data.

Returns
TypeDescription
float

setAverageLength

Average length of non-null values in the scanned data.

Parameter
NameDescription
var float
Returns
TypeDescription
$this