Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::FileContext::FileBytes (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::FileContext::FileBytes.

File provided as raw bytes.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data

def data() -> ::String
Returns
  • (::String) — Required. Raw bytes of the file.

#data=

def data=(value) -> ::String
Parameter
  • value (::String) — Required. Raw bytes of the file.
Returns
  • (::String) — Required. Raw bytes of the file.

#file_name

def file_name() -> ::String
Returns
  • (::String) — Required. The name of the file provided as raw bytes.

#file_name=

def file_name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the file provided as raw bytes.
Returns
  • (::String) — Required. The name of the file provided as raw bytes.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — Required. The IANA standard MIME type of the source data.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — Required. The IANA standard MIME type of the source data.
Returns
  • (::String) — Required. The IANA standard MIME type of the source data.