Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#audio ⇒ String
Corresponds to the JSON property
audioNOTE: Values are automatically base64 encoded/decoded in the client library. -
#audio_tokens ⇒ Array<Fixnum>
Corresponds to the JSON property
audioTokens. -
#text ⇒ String
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1UserUtterance
constructor
A new instance of GoogleCloudDialogflowCxV3beta1UserUtterance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1UserUtterance
Returns a new instance of GoogleCloudDialogflowCxV3beta1UserUtterance.
13730 13731 13732 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13730 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ String
Corresponds to the JSON property audio
NOTE: Values are automatically base64 encoded/decoded in the client library.
13718 13719 13720 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13718 def audio @audio end |
#audio_tokens ⇒ Array<Fixnum>
Corresponds to the JSON property audioTokens
13723 13724 13725 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13723 def audio_tokens @audio_tokens end |
#text ⇒ String
Corresponds to the JSON property text
13728 13729 13730 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13728 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13735 13736 13737 13738 13739 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13735 def update!(**args) @audio = args[:audio] if args.key?(:audio) @audio_tokens = args[:audio_tokens] if args.key?(:audio_tokens) @text = args[:text] if args.key?(:text) end |