Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Definition of the experiment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentDefinition

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentDefinition.



6665
6666
6667
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6665

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conditionString

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

Returns:

  • (String)


6658
6659
6660
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6658

def condition
  @condition
end

#version_variantsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants

A list of flow version variants. Corresponds to the JSON property versionVariants



6663
6664
6665
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6663

def version_variants
  @version_variants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6670
6671
6672
6673
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6670

def update!(**args)
  @condition = args[:condition] if args.key?(:condition)
  @version_variants = args[:version_variants] if args.key?(:version_variants)
end