Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings
Corresponds to the JSON property
textToSpeechSettings. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Environment
constructor
A new instance of GoogleCloudDialogflowV2beta1Environment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Environment
Returns a new instance of GoogleCloudDialogflowV2beta1Environment.
13125 13126 13127 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_version ⇒ String
Corresponds to the JSON property agentVersion
13093 13094 13095 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13093 def agent_version @agent_version end |
#description ⇒ String
Corresponds to the JSON property description
13098 13099 13100 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13098 def description @description end |
#fulfillment ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment
Corresponds to the JSON property fulfillment
13103 13104 13105 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13103 def fulfillment @fulfillment end |
#name ⇒ String
Corresponds to the JSON property name
13108 13109 13110 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13108 def name @name end |
#state ⇒ String
Corresponds to the JSON property state
13113 13114 13115 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13113 def state @state end |
#text_to_speech_settings ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings
Corresponds to the JSON property textToSpeechSettings
13118 13119 13120 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13118 def text_to_speech_settings @text_to_speech_settings end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
13123 13124 13125 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13123 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13130 13131 13132 13133 13134 13135 13136 13137 13138 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13130 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 |