Class: Google::Cloud::Ces::V1beta::FileContext

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/ces/v1beta/file_context.rb

Overview

Files to be used as context. Files can be provided as raw bytes.

Defined Under Namespace

Classes: FileBytes

Instance Attribute Summary collapse

Instance Attribute Details

#file_bytes::Google::Cloud::Ces::V1beta::FileContext::FileBytes

Returns Optional. File provided as raw bytes.

Returns:



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'proto_docs/google/cloud/ces/v1beta/file_context.rb', line 28

class FileContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # File provided as raw bytes.
  # @!attribute [rw] file_name
  #   @return [::String]
  #     Required. The name of the file provided as raw bytes.
  # @!attribute [rw] mime_type
  #   @return [::String]
  #     Required. The IANA standard MIME type of the source data.
  # @!attribute [rw] data
  #   @return [::String]
  #     Required. Raw bytes of the file.
  class FileBytes
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end