Class StreamingSynthesizeRequest (2.17.2)

StreamingSynthesizeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for the StreamingSynthesize method. Multiple StreamingSynthesizeRequest messages are sent in one call. The first message must contain a streaming_config that fully specifies the request configuration and must not contain input. All subsequent messages must only have input set.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
streaming_config google.cloud.texttospeech_v1.types.StreamingSynthesizeConfig
StreamingSynthesizeConfig to be used in this streaming attempt. Only specified in the first message sent in a StreamingSynthesize call. This field is a member of oneof_ streaming_request.
input google.cloud.texttospeech_v1.types.StreamingSynthesisInput
Input to synthesize. Specified in all messages but the first in a StreamingSynthesize call. This field is a member of oneof_ streaming_request.