Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference

Returns a new instance of GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference.



15308
15309
15310
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15308

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_uriString

The destination uri of the reference. Corresponds to the JSON property destinationUri

Returns:

  • (String)


15278
15279
15280
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15278

def destination_uri
  @destination_uri
end

#display_titleString

The display title of the reference. Corresponds to the JSON property displayTitle

Returns:

  • (String)


15283
15284
15285
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15283

def display_title
  @display_title
end

#document_nameString

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`

Returns:

  • (String)


15290
15291
15292
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15290

def document_name
  @document_name
end

#file_idString

Output only. The file id of the document data stored in the session context files. Corresponds to the JSON property fileId

Returns:

  • (String)


15296
15297
15298
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15296

def file_id
  @file_id
end

#icon_uriString

The icon uri of the reference. Corresponds to the JSON property iconUri

Returns:

  • (String)


15301
15302
15303
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15301

def icon_uri
  @icon_uri
end

#url_for_connectorString

Input only. The url_for_connector of the document returned by Federated Search. Corresponds to the JSON property urlForConnector

Returns:

  • (String)


15306
15307
15308
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15306

def url_for_connector
  @url_for_connector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15313
15314
15315
15316
15317
15318
15319
15320
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15313

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