Class: Google::Genai::Types::FileData
- Defined in:
- lib/google/genai/types.rb
Instance Attribute Summary collapse
-
#file_uri ⇒ Object
Returns the value of attribute file_uri.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Google::Genai::Types::Base
Instance Attribute Details
#file_uri ⇒ Object
Returns the value of attribute file_uri.
25 26 27 |
# File 'lib/google/genai/types.rb', line 25 def file_uri @file_uri end |
#mime_type ⇒ Object
Returns the value of attribute mime_type.
25 26 27 |
# File 'lib/google/genai/types.rb', line 25 def mime_type @mime_type end |
Instance Method Details
#to_h ⇒ Object
27 28 29 |
# File 'lib/google/genai/types.rb', line 27 def to_h { mimeType: mime_type, fileUri: file_uri } end |