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.



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

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

Instance Attribute Details

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


10473
10474
10475
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10473

def complete_time
  @complete_time
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


10478
10479
10480
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10478

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


10483
10484
10485
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10483

def display_name
  @display_name
end

#evaluation_statusGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationStatus

Corresponds to the JSON property evaluationStatus



10488
10489
10490
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10488

def evaluation_status
  @evaluation_status
end

#generator_evaluation_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfig

Corresponds to the JSON property generatorEvaluationConfig



10493
10494
10495
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10493

def generator_evaluation_config
  @generator_evaluation_config
end

#initial_generatorGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator

Corresponds to the JSON property initialGenerator



10498
10499
10500
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10498

def initial_generator
  @initial_generator
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10503
10504
10505
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10503

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


10508
10509
10510
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10508

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


10514
10515
10516
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10514

def satisfies_pzs
  @satisfies_pzs
end

#summarization_metricsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetrics

Corresponds to the JSON property summarizationMetrics



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

def summarization_metrics
  @summarization_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10527

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