Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile
- 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
-
#file_id ⇒ String
Required.
-
#mime_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentFile
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAssistantContentFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentFile
Returns a new instance of GoogleCloudDiscoveryengineV1betaAssistantContentFile.
21247 21248 21249 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_id ⇒ String
Required. The file ID.
Corresponds to the JSON property fileId
21240 21241 21242 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21240 def file_id @file_id end |
#mime_type ⇒ String
Required. The media type (MIME type) of the file.
Corresponds to the JSON property mimeType
21245 21246 21247 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21245 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21252 21253 21254 21255 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 21252 def update!(**args) @file_id = args[:file_id] if args.key?(:file_id) @mime_type = args[:mime_type] if args.key?(:mime_type) end |