Cloud Text-to-Speech V1 API - Class Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting (v1.17.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1 API class Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::SafetySetting.

Safety setting for a single harm category.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#category

def category() -> ::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmCategory
Returns

#category=

def category=(value) -> ::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmCategory
Parameter
Returns

#threshold

def threshold() -> ::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmBlockThreshold
Returns

#threshold=

def threshold=(value) -> ::Google::Cloud::TextToSpeech::V1::AdvancedVoiceOptions::HarmBlockThreshold
Parameter
Returns