Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentFile
- 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) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentFile
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentFile
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentFile.
8415 8416 8417 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_id ⇒ String
Required. The file ID.
Corresponds to the JSON property fileId
8408 8409 8410 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8408 def file_id @file_id end |
#mime_type ⇒ String
Required. The media type (MIME type) of the file.
Corresponds to the JSON property mimeType
8413 8414 8415 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8413 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8420 8421 8422 8423 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8420 def update!(**args) @file_id = args[:file_id] if args.key?(:file_id) @mime_type = args[:mime_type] if args.key?(:mime_type) end |