Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Schema.
Defines the structure and layout of a type of document data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#json_schema
def json_schema() -> ::String-
(::String) — The JSON representation of the schema.
Note: The following fields are mutually exclusive:
json_schema,struct_schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
#json_schema=
def json_schema=(value) -> ::String-
value (::String) — The JSON representation of the schema.
Note: The following fields are mutually exclusive:
json_schema,struct_schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The JSON representation of the schema.
Note: The following fields are mutually exclusive:
json_schema,struct_schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name
def name() -> ::String-
(::String) — 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.
#name=
def name=(value) -> ::String-
value (::String) — 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.
-
(::String) — 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.
#struct_schema
def struct_schema() -> ::Google::Protobuf::Struct-
(::Google::Protobuf::Struct) — The structured representation of the schema.
Note: The following fields are mutually exclusive:
struct_schema,json_schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
#struct_schema=
def struct_schema=(value) -> ::Google::Protobuf::Struct-
value (::Google::Protobuf::Struct) — The structured representation of the schema.
Note: The following fields are mutually exclusive:
struct_schema,json_schema. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Struct) — The structured representation of the schema.
Note: The following fields are mutually exclusive:
struct_schema,json_schema. If a field in that set is populated, all other fields in the set will automatically be cleared.