Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class SafetySettings.
Safety settings for the request.
Generated from protobuf message google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySettings
Namespace
Google \ Cloud \ TextToSpeech \ V1 \ AdvancedVoiceOptionsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ settings |
array<SafetySetting>
The safety settings for the request. |
getSettings
The safety settings for the request.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<SafetySetting> |
|
setSettings
The safety settings for the request.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SafetySetting>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|