Enum ContentType

ContentType

An enum value that specifies the content type of the content generated by aUpdateDraftActionResponse.

To call an enum, you call its parent class, name, and property. For example,CardService.ContentType.TEXT.

Properties

PropertyTypeDescription
TEXTEnumIndicates that the generated content is plain text. Default.
MUTABLE_HTMLEnumIndicates that the generated content is formatted as HTML. The content can be edited after itis generated.
IMMUTABLE_HTMLEnumIndicates 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.