Cloud AutoML V1beta1 Client - Class StructType (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class StructType.

StructType defines the DataType-s of a STRUCT type.

Generated from protobuf message google.cloud.automl.v1beta1.StructType

Namespace

Google \ Cloud \ AutoMl \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ fields array|Google\Protobuf\Internal\MapField

Unordered map of struct field names to their data types. Fields cannot be added or removed via Update. Their names and data types are still mutable.

getFields

Unordered map of struct field names to their data types.

Fields cannot be added or removed via Update. Their names and data types are still mutable.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setFields

Unordered map of struct field names to their data types.

Fields cannot be added or removed via Update. Their names and data types are still mutable.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this