Enum ContentType Stay organized with collections Save and categorize content based on your preferences.
ContentType
An enum value that specifies the content type of the content generated by aUpdate.
To call an enum, you call its parent class, name, and property. For example,CardService.ContentType.TEXT.
Properties
| Property | Type | Description |
|---|---|---|
TEXT | Enum | Indicates that the generated content is plain text. Default. |
MUTABLE_HTML | Enum | Indicates that the generated content is formatted as HTML. The content can be edited after itis generated. |
IMMUTABLE_HTML | Enum | Indicates that the generated content is formatted as HTML, but this content cannot be editedafter it is generated. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-03 UTC.