Class Schema (0.11.11)

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

Defines the structure and layout of a type of document data.

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

Attributes

NameDescription
struct_schema google.protobuf.struct_pb2.Struct
The structured representation of the schema. This field is a member of oneof_ schema.
json_schema str
The JSON representation of the schema. This field is a member of oneof_ schema.
name str
Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.