airflow.providers.google.cloud.operators.text_to_speech

This module contains a Google Text to Speech operator.

Module Contents

Classes

CloudTextToSpeechSynthesizeOperator

Synthesizes text to speech and stores it in Google Cloud Storage.

class airflow.providers.google.cloud.operators.text_to_speech.CloudTextToSpeechSynthesizeOperator(*, input_data, voice, audio_config, target_bucket_name, target_filename, project_id=None, gcp_conn_id='google_cloud_default', retry=DEFAULT, timeout=None, impersonation_chain=None, **kwargs)[source]

Bases: airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator

Synthesizes text to speech and stores it in Google Cloud Storage.

See also

For more information on how to use this operator, take a look at the guide: CloudTextToSpeechSynthesizeOperator

Parameters
template_fields: Sequence[str] = ('input_data', 'voice', 'audio_config', 'project_id', 'gcp_conn_id', 'target_bucket_name',...[source]
execute(context)[source]

Derive when creating an operator.

Context is the same dictionary used as when rendering jinja templates.

Refer to get_template_context for more context.

Was this entry helpful?