Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GeneratorEvaluation

Returns a new instance of GoogleCloudDialogflowV2GeneratorEvaluation.



10540
10541
10542
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10540

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


10491
10492
10493
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10491

def complete_time
  @complete_time
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


10496
10497
10498
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10496

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


10501
10502
10503
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10501

def display_name
  @display_name
end

#evaluation_statusGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationStatus

Corresponds to the JSON property evaluationStatus



10506
10507
10508
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10506

def evaluation_status
  @evaluation_status
end

#generator_evaluation_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfig

Corresponds to the JSON property generatorEvaluationConfig



10511
10512
10513
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10511

def generator_evaluation_config
  @generator_evaluation_config
end

#initial_generatorGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator

Corresponds to the JSON property initialGenerator



10516
10517
10518
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10516

def initial_generator
  @initial_generator
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10521
10522
10523
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10521

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


10526
10527
10528
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10526

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


10532
10533
10534
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10532

def satisfies_pzs
  @satisfies_pzs
end

#summarization_metricsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetrics

Corresponds to the JSON property summarizationMetrics



10538
10539
10540
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10538

def summarization_metrics
  @summarization_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10545

def update!(**args)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @evaluation_status = args[:evaluation_status] if args.key?(:evaluation_status)
  @generator_evaluation_config = args[:generator_evaluation_config] if args.key?(:generator_evaluation_config)
  @initial_generator = args[:initial_generator] if args.key?(:initial_generator)
  @name = args[:name] if args.key?(:name)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @summarization_metrics = args[:summarization_metrics] if args.key?(:summarization_metrics)
end