Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::Type::Struct.
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
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#encoding
def encoding() -> ::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Encoding
Returns
- (::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Encoding) — The encoding to use when converting to or from lower level types.
#encoding=
def encoding=(value) -> ::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Encoding
Parameter
- value (::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Encoding) — The encoding to use when converting to or from lower level types.
Returns
- (::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Encoding) — The encoding to use when converting to or from lower level types.
#fields
def fields() -> ::Array<::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Field>
Returns
- (::Array<::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Field>) — The names and types of the fields in this struct.
#fields=
def fields=(value) -> ::Array<::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Field>
Parameter
- value (::Array<::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Field>) — The names and types of the fields in this struct.
Returns
- (::Array<::Google::Cloud::Bigtable::Admin::V2::Type::Struct::Field>) — The names and types of the fields in this struct.