Cloud Translation V3 API - Class Google::Cloud::Translate::V3::FileInputSource (v0.10.0)

Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::FileInputSource.

An inlined file.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — Required. The file's byte contents.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Required. The file's byte contents.
Returns
  • (::String) — Required. The file's byte contents.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The file's display name.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The file's display name.
Returns
  • (::String) — Required. The file's display name.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — Required. The file's mime type.

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — Required. The file's mime type.
Returns
  • (::String) — Required. The file's mime type.