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.
14526 14527 14528 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14526 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_uri ⇒ String
The destination uri of the reference.
Corresponds to the JSON property destinationUri
14497 14498 14499 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14497 def destination_uri @destination_uri end |
#display_title ⇒ String
The display title of the reference.
Corresponds to the JSON property displayTitle
14502 14503 14504 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14502 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
14508 14509 14510 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14508 def document_name @document_name end |
#drive_id ⇒ String
The Drive id of the document.
Corresponds to the JSON property driveId
14513 14514 14515 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14513 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
14519 14520 14521 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14519 def file_id @file_id end |
#icon_uri ⇒ String
The icon uri of the Drive document reference.
Corresponds to the JSON property iconUri
14524 14525 14526 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14524 def icon_uri @icon_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14531 14532 14533 14534 14535 14536 14537 14538 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14531 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 |