public sealed class TextSnippet : IMessage<TextSnippet>, IEquatable<TextSnippet>, IDeepCloneable<TextSnippet>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class TextSnippet.
A representation of a text snippet.
Implements
IMessageTextSnippet, IEquatableTextSnippet, IDeepCloneableTextSnippet, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
TextSnippet()
public TextSnippet()
TextSnippet(TextSnippet)
public TextSnippet(TextSnippet other)
Parameter | |
---|---|
Name | Description |
other | TextSnippet |
Properties
Content
public string Content { get; set; }
Required. The content of the text snippet as a string. Up to 250000 characters long.
Property Value | |
---|---|
Type | Description |
string |
ContentUri
public string ContentUri { get; set; }
Output only. HTTP URI where you can download the content.
Property Value | |
---|---|
Type | Description |
string |
MimeType
public string MimeType { get; set; }
Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. 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][google.cloud.automl.v1.TextSnippet.content].
Property Value | |
---|---|
Type | Description |
string |