Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference

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 Google Drive document reference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference

Returns a new instance of GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference.



15473
15474
15475
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15473

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)


15444
15445
15446
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15444

def destination_uri
  @destination_uri
end

#display_titleString

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

Returns:

  • (String)


15449
15450
15451
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15449

def display_title
  @display_title
end

#document_nameString

The full resource name of the document. Format: projects/*/locations/*/ collections/*/dataStores/*/branches/*/documents/*. Corresponds to the JSON property documentName

Returns:

  • (String)


15455
15456
15457
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15455

def document_name
  @document_name
end

#drive_idString

The Drive id of the document. Corresponds to the JSON property driveId

Returns:

  • (String)


15460
15461
15462
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15460

def drive_id
  @drive_id
end

#file_idString

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

Returns:

  • (String)


15466
15467
15468
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15466

def file_id
  @file_id
end

#icon_uriString

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

Returns:

  • (String)


15471
15472
15473
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15471

def icon_uri
  @icon_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15478
15479
15480
15481
15482
15483
15484
15485
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15478

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