Class: Google::Cloud::Translate::V3::FileInputSource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/translate/v3/common.rb

Overview

An inlined file.

Instance Attribute Summary collapse

Instance Attribute Details

#content::String

Returns Required. The file's byte contents.

Returns:

  • (::String)

    Required. The file's byte contents.



43
44
45
46
# File 'proto_docs/google/cloud/translate/v3/common.rb', line 43

class FileInputSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#display_name::String

Returns Required. The file's display name.

Returns:

  • (::String)

    Required. The file's display name.



43
44
45
46
# File 'proto_docs/google/cloud/translate/v3/common.rb', line 43

class FileInputSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#mime_type::String

Returns Required. The file's mime type.

Returns:

  • (::String)

    Required. The file's mime type.



43
44
45
46
# File 'proto_docs/google/cloud/translate/v3/common.rb', line 43

class FileInputSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end