Class TextSnippet (2.2.0)

public sealed class TextSnippet : IMessage<TextSnippet>, IEquatable<TextSnippet>, IDeepCloneable<TextSnippet>, IBufferMessage, IMessage

A representation of a text snippet.

Inheritance

Object > TextSnippet

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

TextSnippet()

public TextSnippet()

TextSnippet(TextSnippet)

public TextSnippet(TextSnippet other)
Parameter
NameDescription
otherTextSnippet

Properties

Content

public string Content { get; set; }

Required. The content of the text snippet as a string. Up to 250000 characters long.

Property Value
TypeDescription
String

ContentUri

public string ContentUri { get; set; }

Output only. HTTP URI where you can download the content.

Property Value
TypeDescription
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
TypeDescription
String