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.



5197
5198
5199
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5197

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

Instance Attribute Details

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


5185
5186
5187
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5185

def document
  @document
end

#titleString

Title of the document. Corresponds to the JSON property title

Returns:

  • (String)


5190
5191
5192
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5190

def title
  @title
end

#uriString

GCS or HTTP uri for the document. Corresponds to the JSON property uri

Returns:

  • (String)


5195
5196
5197
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5195

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5202
5203
5204
5205
5206
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5202

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