Class: Google::Cloud::Language::V1::Document

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/language/v1/language_service.rb

Overview

Represents the input to API methods.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#content::String



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 53

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

  # The document types enum.
  module Type
    # The content type is not specified.
    TYPE_UNSPECIFIED = 0

    # Plain text
    PLAIN_TEXT = 1

    # HTML
    HTML = 2
  end
end

#gcs_content_uri::String



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 53

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

  # The document types enum.
  module Type
    # The content type is not specified.
    TYPE_UNSPECIFIED = 0

    # Plain text
    PLAIN_TEXT = 1

    # HTML
    HTML = 2
  end
end

#language::String



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 53

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

  # The document types enum.
  module Type
    # The content type is not specified.
    TYPE_UNSPECIFIED = 0

    # Plain text
    PLAIN_TEXT = 1

    # HTML
    HTML = 2
  end
end

#type::Google::Cloud::Language::V1::Document::Type



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 53

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

  # The document types enum.
  module Type
    # The content type is not specified.
    TYPE_UNSPECIFIED = 0

    # Plain text
    PLAIN_TEXT = 1

    # HTML
    HTML = 2
  end
end