role property

String? role
getter/setter pair

The producer of the content.

Must be either 'user' or 'model'. Useful to set for multi-turn conversations, otherwise can be left blank or unset.

Optional.

Implementation

core.String? role;