Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Chunk::DocumentMetadata (v0.28.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

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
Returns
  • (::String) — The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.

#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.