Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile

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

A file, e.g., an audio summary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentFile

Returns a new instance of GoogleCloudDiscoveryengineV1betaAssistantContentFile.



21345
21346
21347
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21345

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

Instance Attribute Details

#file_idString

Required. The file ID. Corresponds to the JSON property fileId

Returns:

  • (String)


21338
21339
21340
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21338

def file_id
  @file_id
end

#mime_typeString

Required. The media type (MIME type) of the file. Corresponds to the JSON property mimeType

Returns:

  • (String)


21343
21344
21345
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21343

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21350
21351
21352
21353
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21350

def update!(**args)
  @file_id = args[:file_id] if args.key?(:file_id)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end