Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySettings.
Safety settings for the request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#settings
def settings() -> ::Array<::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting>
Returns
- (::Array<::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting>) — The safety settings for the request.
#settings=
def settings=(value) -> ::Array<::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting>
Parameter
- value (::Array<::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting>) — The safety settings for the request.
Returns
- (::Array<::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting>) — The safety settings for the request.