Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::StructType (v0.7.0)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::StructType.

StructType defines the DataType-s of a STRUCT type.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#fields

def fields() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::DataType}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::DataType}) — 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.

#fields=

def fields=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::DataType}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::DataType}) — 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
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::AutoML::V1beta1::DataType}) — 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.