Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentDefinition
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentDefinition
- 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
Overview
Definition of the experiment.
Instance Attribute Summary collapse
-
#condition ⇒ String
The condition defines which subset of sessions are selected for this experiment.
-
#version_variants ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VersionVariants
A list of flow version variants.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentDefinition
constructor
A new instance of GoogleCloudDialogflowCxV3ExperimentDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentDefinition
Returns a new instance of GoogleCloudDialogflowCxV3ExperimentDefinition.
2316 2317 2318 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
The condition defines which subset of sessions are selected for this
experiment. If not specified, all sessions are eligible. E.g. "query_input.
language_code=en" See the conditions reference.
Corresponds to the JSON property condition
2309 2310 2311 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2309 def condition @condition end |
#version_variants ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VersionVariants
A list of flow version variants.
Corresponds to the JSON property versionVariants
2314 2315 2316 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2314 def version_variants @version_variants end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2321 2322 2323 2324 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2321 def update!(**args) @condition = args[:condition] if args.key?(:condition) @version_variants = args[:version_variants] if args.key?(:version_variants) end |