Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#boost ⇒ Float
Corresponds to the JSON property
boost. -
#phrases ⇒ Array<String>
Corresponds to the JSON property
phrases.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SpeechContext
constructor
A new instance of GoogleCloudDialogflowV2SpeechContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SpeechContext
Returns a new instance of GoogleCloudDialogflowV2SpeechContext.
15492 15493 15494 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost ⇒ Float
Corresponds to the JSON property boost
15485 15486 15487 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15485 def boost @boost end |
#phrases ⇒ Array<String>
Corresponds to the JSON property phrases
15490 15491 15492 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15490 def phrases @phrases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15497 15498 15499 15500 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15497 def update!(**args) @boost = args[:boost] if args.key?(:boost) @phrases = args[:phrases] if args.key?(:phrases) end |