Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference.



10499
10500
10501
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10499

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

Instance Attribute Details

#chunk_contentsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent>

List of cited chunk contents derived from document content. Corresponds to the JSON property chunkContents



10480
10481
10482
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10480

def chunk_contents
  @chunk_contents
end

#documentString

Required. Document.name of the document. Full resource name of the referenced document, in the format projects/*/locations/*/collections/*/dataStores/*/ branches/*/documents/*. Corresponds to the JSON property document

Returns:

  • (String)


10487
10488
10489
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10487

def document
  @document
end

#titleString

Title of the document. Corresponds to the JSON property title

Returns:

  • (String)


10492
10493
10494
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10492

def title
  @title
end

#uriString

Cloud Storage or HTTP uri for the document. Corresponds to the JSON property uri

Returns:

  • (String)


10497
10498
10499
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10497

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10504
10505
10506
10507
10508
10509
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 10504

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