Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata.



19840
19841
19842
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19840

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#titleString

Title of the document. Corresponds to the JSON property title

Returns:

  • (String)


19838
19839
19840
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19838

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19845
19846
19847
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19845

def update!(**args)
  @title = args[:title] if args.key?(:title)
end