Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment
- 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
-
#agent_version ⇒ String
Corresponds to the JSON property
agentVersion. -
#description ⇒ String
Corresponds to the JSON property
description. -
#fulfillment ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment
Corresponds to the JSON property
fulfillment. -
#name ⇒ String
Corresponds to the JSON property
name. -
#state ⇒ String
Corresponds to the JSON property
state. -
#text_to_speech_settings ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings
Corresponds to the JSON property
textToSpeechSettings. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Environment
constructor
A new instance of GoogleCloudDialogflowV2Environment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Environment
Returns a new instance of GoogleCloudDialogflowV2Environment.
9500 9501 9502 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9500 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_version ⇒ String
Corresponds to the JSON property agentVersion
9468 9469 9470 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9468 def agent_version @agent_version end |
#description ⇒ String
Corresponds to the JSON property description
9473 9474 9475 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9473 def description @description end |
#fulfillment ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment
Corresponds to the JSON property fulfillment
9478 9479 9480 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9478 def fulfillment @fulfillment end |
#name ⇒ String
Corresponds to the JSON property name
9483 9484 9485 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9483 def name @name end |
#state ⇒ String
Corresponds to the JSON property state
9488 9489 9490 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9488 def state @state end |
#text_to_speech_settings ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings
Corresponds to the JSON property textToSpeechSettings
9493 9494 9495 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9493 def text_to_speech_settings @text_to_speech_settings end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
9498 9499 9500 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9498 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9505 9506 9507 9508 9509 9510 9511 9512 9513 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9505 def update!(**args) @agent_version = args[:agent_version] if args.key?(:agent_version) @description = args[:description] if args.key?(:description) @fulfillment = args[:fulfillment] if args.key?(:fulfillment) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @text_to_speech_settings = args[:text_to_speech_settings] if args.key?(:text_to_speech_settings) @update_time = args[:update_time] if args.key?(:update_time) end |