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.



14526
14527
14528
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14526

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)


14497
14498
14499
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14497

def destination_uri
  @destination_uri
end

#display_titleString

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

Returns:

  • (String)


14502
14503
14504
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14502

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)


14508
14509
14510
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14508

def document_name
  @document_name
end

#drive_idString

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

Returns:

  • (String)


14513
14514
14515
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14513

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)


14519
14520
14521
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14519

def file_id
  @file_id
end

#icon_uriString

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

Returns:

  • (String)


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