Google Cloud Ai Platform V1 Client - Class StructFieldValue (1.13.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class StructFieldValue.

One field of a Struct (or object) type feature value.

Generated from protobuf message google.cloud.aiplatform.v1.StructFieldValue

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the field in the struct feature.

↳ value FeatureValue

The value for this field.

getName

Name of the field in the struct feature.

Returns
Type Description
string

setName

Name of the field in the struct feature.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

The value for this field.

Returns
Type Description
FeatureValue|null

hasValue

clearValue

setValue

The value for this field.

Parameter
Name Description
var FeatureValue
Returns
Type Description
$this