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.



15335
15336
15337
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15335

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)


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

def destination_uri
  @destination_uri
end

#display_titleString

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

Returns:

  • (String)


15311
15312
15313
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15311

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)


15317
15318
15319
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15317

def document_name
  @document_name
end

#drive_idString

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

Returns:

  • (String)


15322
15323
15324
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15322

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)


15328
15329
15330
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15328

def file_id
  @file_id
end

#icon_uriString

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

Returns:

  • (String)


15333
15334
15335
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15333

def icon_uri
  @icon_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15340
15341
15342
15343
15344
15345
15346
15347
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15340

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