Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile

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) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentFile

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentFile.



9050
9051
9052
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9050

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

Instance Attribute Details

#file_idString

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

Returns:

  • (String)


9043
9044
9045
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9043

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)


9048
9049
9050
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9048

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9055
9056
9057
9058
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 9055

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