Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
- 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
-
#document ⇒ String
Required.
-
#title ⇒ String
Title of the document.
-
#uri ⇒ String
Cloud Storage or HTTP uri for the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference.
6461 6462 6463 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
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
6449 6450 6451 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6449 def document @document end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
6454 6455 6456 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6454 def title @title end |
#uri ⇒ String
Cloud Storage or HTTP uri for the document.
Corresponds to the JSON property uri
6459 6460 6461 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6459 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6466 6467 6468 6469 6470 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6466 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 |