Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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.
#json_schema=
def json_schema=(value) -> ::String
- value (::String) — The JSON representation of the schema.
- (::String) — The JSON representation of the schema.
#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.
#struct_schema=
def struct_schema=(value) -> ::Google::Protobuf::Struct
- value (::Google::Protobuf::Struct) — The structured representation of the schema.
- (::Google::Protobuf::Struct) — The structured representation of the schema.