Enum ContentType
ContentType
An enum value that specifies the content type of the content generated by a UpdateDraftActionResponse
.
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 it
is generated. |
IMMUTABLE_HTML | Enum | Indicates that the generated content is formatted as HTML, but this content cannot be edited
after it is generated. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`ContentType` is an enum used to define the type of content generated by `UpdateDraftActionResponse`."],["Content types include `TEXT` (default plain text), `MUTABLE_HTML` (editable HTML), and `IMMUTABLE_HTML` (non-editable HTML)."],["To specify a content type, use the syntax: `CardService.ContentType.PROPERTY`, replacing `PROPERTY` with the desired type."]]],[]]