Class: Google::Cloud::Dialogflow::CX::V3::SafetySettings::Phrase

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/safety_settings.rb

Overview

Text input which can be used for prompt or banned phrases.

Instance Attribute Summary collapse

Instance Attribute Details

#language_code::String

Returns Required. Language code of the phrase.

Returns:

  • (::String)

    Required. Language code of the phrase.



40
41
42
43
# File 'proto_docs/google/cloud/dialogflow/cx/v3/safety_settings.rb', line 40

class Phrase
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text::String

Returns Required. Text input which can be used for prompt or banned phrases.

Returns:

  • (::String)

    Required. Text input which can be used for prompt or banned phrases.



40
41
42
43
# File 'proto_docs/google/cloud/dialogflow/cx/v3/safety_settings.rb', line 40

class Phrase
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end