Class TextSnippet (2.8.0)

TextSnippet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A representation of a text snippet.

Attributes

NameDescription
content str
Required. The content of the text snippet as a string. Up to 250000 characters long.
mime_type str
Optional. The format of 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.
content_uri str
Output only. HTTP URI where you can download the content.

Inheritance

builtins.object > proto.message.Message > TextSnippet