Class TextSnippet
A representation of a text snippet.
Inheritance
System.Object
TextSnippet
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class TextSnippet : IMessage<TextSnippet>, IEquatable<TextSnippet>, IDeepCloneable<TextSnippet>, IBufferMessage, IMessage
Constructors
TextSnippet()
Declaration
public TextSnippet()
TextSnippet(TextSnippet)
Declaration
public TextSnippet(TextSnippet other)
Parameters
Type | Name | Description |
---|---|---|
TextSnippet | other |
Properties
Content
Required. The content of the text snippet as a string. Up to 250000 characters long.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentUri
Output only. HTTP URI where you can download the content.
Declaration
public string ContentUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MimeType
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].
Declaration
public string MimeType { get; set; }
Property Value
Type | Description |
---|---|
System.String |