Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
- 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
-
#document ⇒ String
Required.
-
#title ⇒ String
Title of the document.
-
#uri ⇒ String
GCS or HTTP uri for the document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference.
5261 5262 5263 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5261 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
5249 5250 5251 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5249 def document @document end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
5254 5255 5256 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5254 def title @title end |
#uri ⇒ String
GCS or HTTP uri for the document.
Corresponds to the JSON property uri
5259 5260 5261 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5259 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5266 5267 5268 5269 5270 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 5266 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 |