Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Chunk::DocumentMetadata (v0.15.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Chunk::DocumentMetadata.

Document metadata contains the information of the document of the current chunk.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#struct_data

def struct_data() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Data representation. The structured JSON data for the document. It should conform to the registered Schema or an INVALID_ARGUMENT error is thrown.

#struct_data=

def struct_data=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Data representation. The structured JSON data for the document. It should conform to the registered Schema or an INVALID_ARGUMENT error is thrown.
Returns
  • (::Google::Protobuf::Struct) — Data representation. The structured JSON data for the document. It should conform to the registered Schema or an INVALID_ARGUMENT error is thrown.

#title

def title() -> ::String
Returns
  • (::String) — Title of the document.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Title of the document.
Returns
  • (::String) — Title of the document.

#uri

def uri() -> ::String
Returns
  • (::String) — Uri of the document.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — Uri of the document.
Returns
  • (::String) — Uri of the document.