Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Environment
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Environment
- 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
-
#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::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
Corresponds to the JSON property
testCasesConfig. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime. -
#version_configs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>
Corresponds to the JSON property
versionConfigs. -
#webhook_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
Corresponds to the JSON property
webhookConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Environment
constructor
A new instance of GoogleCloudDialogflowCxV3Environment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Environment
Returns a new instance of GoogleCloudDialogflowCxV3Environment.
600 601 602 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
568 569 570 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 568 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
573 574 575 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 573 def display_name @display_name end |
#name ⇒ String
Corresponds to the JSON property name
578 579 580 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 578 def name @name end |
#test_cases_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
Corresponds to the JSON property testCasesConfig
583 584 585 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 583 def test_cases_config @test_cases_config end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
588 589 590 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 588 def update_time @update_time end |
#version_configs ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>
Corresponds to the JSON property versionConfigs
593 594 595 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 593 def version_configs @version_configs end |
#webhook_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
Corresponds to the JSON property webhookConfig
598 599 600 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 598 def webhook_config @webhook_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
605 606 607 608 609 610 611 612 613 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 605 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 |