Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference
- 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
Represents a document reference.
Instance Attribute Summary collapse
-
#destination_uri ⇒ String
The destination uri of the reference.
-
#display_title ⇒ String
The display title of the reference.
-
#document_name ⇒ String
The full resource name of the document.
-
#file_id ⇒ String
Output only.
-
#icon_uri ⇒ String
The icon uri of the reference.
-
#url_for_connector ⇒ String
Input only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference.
15408 15409 15410 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_uri ⇒ String
The destination uri of the reference.
Corresponds to the JSON property destinationUri
15378 15379 15380 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15378 def destination_uri @destination_uri end |
#display_title ⇒ String
The display title of the reference.
Corresponds to the JSON property displayTitle
15383 15384 15385 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15383 def display_title @display_title end |
#document_name ⇒ String
The full resource name of the document. Format: projects/project/locations/
location/collections/collection/dataStores/data_store/branches/branch/
documents/document_id`.
Corresponds to the JSON propertydocumentName`
15390 15391 15392 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15390 def document_name @document_name end |
#file_id ⇒ String
Output only. The file id of the document data stored in the session context
files.
Corresponds to the JSON property fileId
15396 15397 15398 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15396 def file_id @file_id end |
#icon_uri ⇒ String
The icon uri of the reference.
Corresponds to the JSON property iconUri
15401 15402 15403 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15401 def icon_uri @icon_uri end |
#url_for_connector ⇒ String
Input only. The url_for_connector of the document returned by Federated Search.
Corresponds to the JSON property urlForConnector
15406 15407 15408 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15406 def url_for_connector @url_for_connector end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15413 15414 15415 15416 15417 15418 15419 15420 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15413 def update!(**args) @destination_uri = args[:destination_uri] if args.key?(:destination_uri) @display_title = args[:display_title] if args.key?(:display_title) @document_name = args[:document_name] if args.key?(:document_name) @file_id = args[:file_id] if args.key?(:file_id) @icon_uri = args[:icon_uri] if args.key?(:icon_uri) @url_for_connector = args[:url_for_connector] if args.key?(:url_for_connector) end |