Class Struct (2.32.0)

Struct(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

Name Description
fields MutableSequence[google.cloud.bigtable_admin_v2.types.Type.Struct.Field]
The names and types of the fields in this struct.
encoding google.cloud.bigtable_admin_v2.types.Type.Struct.Encoding
The encoding to use when converting to or from lower level types.

Classes

Encoding

Encoding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Rules used to convert to or from lower level types.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Field

Field(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A struct field and its type.