Reference documentation and code samples for the Google Cloud Ces V1 Client class OutputAudioConfig.
OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses.
Generated from protobuf message google.cloud.ces.v1.OutputAudioConfig
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ audio_encoding |
int
Required. The encoding of the output audio data. |
↳ sample_rate_hertz |
int
Required. The sample rate (in Hertz) of the output audio data. |
getAudioEncoding
Required. The encoding of the output audio data.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type AudioEncoding. |
setAudioEncoding
Required. The encoding of the output audio data.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type AudioEncoding. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSampleRateHertz
Required. The sample rate (in Hertz) of the output audio data.
| Returns | |
|---|---|
| Type | Description |
int |
|
setSampleRateHertz
Required. The sample rate (in Hertz) of the output audio data.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|