Class: Google::Cloud::AutoML::V1beta1::TextSnippet
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::TextSnippet
- Defined in:
- lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_items.rb
Overview
A representation of a text snippet.
Instance Attribute Summary collapse
-
#content ⇒ String
Required.
-
#content_uri ⇒ String
Output only.
-
#mime_type ⇒ String
The format of the source text.
Instance Attribute Details
#content ⇒ String
Returns Required. The content of the text snippet as a string. Up to 250000 characters long.
48 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_items.rb', line 48 class TextSnippet; end |
#content_uri ⇒ String
Returns Output only. HTTP URI where you can download the content.
48 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_items.rb', line 48 class TextSnippet; end |
#mime_type ⇒ String
Returns The format of the source text. Currently the only two allowed values are "text/html" and "text/plain". If left blank the format is automatically determined from the type of the uploaded content.
48 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/data_items.rb', line 48 class TextSnippet; end |