Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Schema (v0.14.1)

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
Returns
  • (::String) — The JSON representation of the schema.

#json_schema=

def json_schema=(value) -> ::String
Parameter
  • value (::String) — The JSON representation of the schema.
Returns
  • (::String) — The JSON representation of the schema.

#name

def name() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#struct_schema=

def struct_schema=(value) -> ::Google::Protobuf::Struct
Parameter
Returns