Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Environment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Environment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#name ⇒ String
Corresponds to the JSON property
name. -
#test_cases_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
Corresponds to the JSON property
testCasesConfig. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime. -
#version_configs ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>
Corresponds to the JSON property
versionConfigs. -
#webhook_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
Corresponds to the JSON property
webhookConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Environment
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Environment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Environment
Returns a new instance of GoogleCloudDialogflowCxV3beta1Environment.
10293 10294 10295 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10293 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
10261 10262 10263 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10261 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
10266 10267 10268 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10266 def display_name @display_name end |
#name ⇒ String
Corresponds to the JSON property name
10271 10272 10273 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10271 def name @name end |
#test_cases_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
Corresponds to the JSON property testCasesConfig
10276 10277 10278 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10276 def test_cases_config @test_cases_config end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
10281 10282 10283 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10281 def update_time @update_time end |
#version_configs ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>
Corresponds to the JSON property versionConfigs
10286 10287 10288 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10286 def version_configs @version_configs end |
#webhook_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
Corresponds to the JSON property webhookConfig
10291 10292 10293 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10291 def webhook_config @webhook_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10298 10299 10300 10301 10302 10303 10304 10305 10306 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10298 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config) @update_time = args[:update_time] if args.key?(:update_time) @version_configs = args[:version_configs] if args.key?(:version_configs) @webhook_config = args[:webhook_config] if args.key?(:webhook_config) end |