Google Cloud Dataplex V1 Client - Class StringFieldInfo (1.1.1)

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
Name Description
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
Type Description
int|string

setMinLength

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

Parameter
Name Description
var int|string
Returns
Type Description
$this

getMaxLength

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

Returns
Type Description
int|string

setMaxLength

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

Parameter
Name Description
var int|string
Returns
Type Description
$this

getAverageLength

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

Returns
Type Description
float

setAverageLength

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

Parameter
Name Description
var float
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.