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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |