Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::TextSnippet.
A representation of a text snippet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::String Returns 
 - (::String) — Required. The content of the text snippet as a string. Up to 250000 characters long.
#content=
def content=(value) -> ::String Parameter 
 - value (::String) — Required. The content of the text snippet as a string. Up to 250000 characters long.
 Returns 
 - (::String) — Required. The content of the text snippet as a string. Up to 250000 characters long.
#content_uri
def content_uri() -> ::String Returns 
 - (::String) — Output only. HTTP URI where you can download the content.
#content_uri=
def content_uri=(value) -> ::String Parameter 
 - value (::String) — Output only. HTTP URI where you can download the content.
 Returns 
 - (::String) — Output only. HTTP URI where you can download the content.
#mime_type
def mime_type() -> ::String Returns  
 #mime_type=
def mime_type=(value) -> ::String Parameter