Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::FilePart.
FilePart represents the different ways files can be provided.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_with_bytes
def file_with_bytes() -> ::String-
(::String) — The raw bytes of the file.
Note: The following fields are mutually exclusive:
file_with_bytes,file_with_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
#file_with_bytes=
def file_with_bytes=(value) -> ::String-
value (::String) — The raw bytes of the file.
Note: The following fields are mutually exclusive:
file_with_bytes,file_with_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The raw bytes of the file.
Note: The following fields are mutually exclusive:
file_with_bytes,file_with_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
#file_with_uri
def file_with_uri() -> ::String-
(::String) — The URI pointing to the file.
Note: The following fields are mutually exclusive:
file_with_uri,file_with_bytes. If a field in that set is populated, all other fields in the set will automatically be cleared.
#file_with_uri=
def file_with_uri=(value) -> ::String-
value (::String) — The URI pointing to the file.
Note: The following fields are mutually exclusive:
file_with_uri,file_with_bytes. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The URI pointing to the file.
Note: The following fields are mutually exclusive:
file_with_uri,file_with_bytes. If a field in that set is populated, all other fields in the set will automatically be cleared.
#mime_type
def mime_type() -> ::String- (::String) — Optional. The MIME type of the file.
#mime_type=
def mime_type=(value) -> ::String- value (::String) — Optional. The MIME type of the file.
- (::String) — Optional. The MIME type of the file.
#name
def name() -> ::String- (::String) — Optional. The name of the file.
#name=
def name=(value) -> ::String- value (::String) — Optional. The name of the file.
- (::String) — Optional. The name of the file.