Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference
- 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 Google Drive 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.
-
#drive_id ⇒ String
The Drive id of the document.
-
#file_id ⇒ String
Output only.
-
#icon_uri ⇒ String
The icon uri of the Drive document reference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference.
15359 15360 15361 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15359 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_uri ⇒ String
The destination uri of the reference.
Corresponds to the JSON property destinationUri
15330 15331 15332 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15330 def destination_uri @destination_uri end |
#display_title ⇒ String
The display title of the reference.
Corresponds to the JSON property displayTitle
15335 15336 15337 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15335 def display_title @display_title end |
#document_name ⇒ String
The full resource name of the document. Format: projects/*/locations/*/
collections/*/dataStores/*/branches/*/documents/*.
Corresponds to the JSON property documentName
15341 15342 15343 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15341 def document_name @document_name end |
#drive_id ⇒ String
The Drive id of the document.
Corresponds to the JSON property driveId
15346 15347 15348 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15346 def drive_id @drive_id end |
#file_id ⇒ String
Output only. The file id of the Drive document data stored in the session
context files.
Corresponds to the JSON property fileId
15352 15353 15354 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15352 def file_id @file_id end |
#icon_uri ⇒ String
The icon uri of the Drive document reference.
Corresponds to the JSON property iconUri
15357 15358 15359 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15357 def icon_uri @icon_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15364 15365 15366 15367 15368 15369 15370 15371 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15364 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) @drive_id = args[:drive_id] if args.key?(:drive_id) @file_id = args[:file_id] if args.key?(:file_id) @icon_uri = args[:icon_uri] if args.key?(:icon_uri) end |