Class: Google::Cloud::Bigtable::V2::Type::Struct
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::Type::Struct
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/v2/types.rb
Overview
A structured data value, consisting of fields which map to dynamically
typed values.
Values of type Struct
are stored in Value.array_value
where entries are
in the same order and number as field_types
.
Defined Under Namespace
Classes: Field
Instance Attribute Summary collapse
-
#fields ⇒ ::Array<::Google::Cloud::Bigtable::V2::Type::Struct::Field>
The names and types of the fields in this struct.
Instance Attribute Details
#fields ⇒ ::Array<::Google::Cloud::Bigtable::V2::Type::Struct::Field>
Returns The names and types of the fields in this struct.
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 235 class Struct include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A struct field and its type. # @!attribute [rw] field_name # @return [::String] # The field name (optional). Fields without a `field_name` are considered # anonymous and cannot be referenced by name. # @!attribute [rw] type # @return [::Google::Cloud::Bigtable::V2::Type] # The type of values in this field. class Field include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |