response Modalities From Known
@CanIgnoreReturnValue()
Setter for responseModalities given a list of known enums.
responseModalities: Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image.