Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference

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

Overview

Document reference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference.



6261
6262
6263
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6261

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)


6249
6250
6251
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6249

def document
  @document
end

#titleString

Title of the document. Corresponds to the JSON property title

Returns:

  • (String)


6254
6255
6256
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6254

def title
  @title
end

#uriString

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

Returns:

  • (String)


6259
6260
6261
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6259

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6266
6267
6268
6269
6270
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6266

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