google-apis-dialogflow_v2beta1 0.109.0 → 0.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +759 -0
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +352 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +137 -2
- metadata +2 -2
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.111.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250919"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2248,6 +2248,12 @@ module Google
|
|
2248
2248
|
include Google::Apis::Core::JsonObjectSupport
|
2249
2249
|
end
|
2250
2250
|
|
2251
|
+
class GoogleCloudDialogflowV2beta1EvaluationStatus
|
2252
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2253
|
+
|
2254
|
+
include Google::Apis::Core::JsonObjectSupport
|
2255
|
+
end
|
2256
|
+
|
2251
2257
|
class GoogleCloudDialogflowV2beta1EventInput
|
2252
2258
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2253
2259
|
|
@@ -2392,6 +2398,42 @@ module Google
|
|
2392
2398
|
include Google::Apis::Core::JsonObjectSupport
|
2393
2399
|
end
|
2394
2400
|
|
2401
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluation
|
2402
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2403
|
+
|
2404
|
+
include Google::Apis::Core::JsonObjectSupport
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig
|
2408
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
|
+
|
2410
|
+
include Google::Apis::Core::JsonObjectSupport
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig
|
2414
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2415
|
+
|
2416
|
+
include Google::Apis::Core::JsonObjectSupport
|
2417
|
+
end
|
2418
|
+
|
2419
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig
|
2420
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2421
|
+
|
2422
|
+
include Google::Apis::Core::JsonObjectSupport
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig
|
2426
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2427
|
+
|
2428
|
+
include Google::Apis::Core::JsonObjectSupport
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig
|
2432
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2433
|
+
|
2434
|
+
include Google::Apis::Core::JsonObjectSupport
|
2435
|
+
end
|
2436
|
+
|
2395
2437
|
class GoogleCloudDialogflowV2beta1GeneratorSuggestion
|
2396
2438
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2397
2439
|
|
@@ -2974,6 +3016,12 @@ module Google
|
|
2974
3016
|
include Google::Apis::Core::JsonObjectSupport
|
2975
3017
|
end
|
2976
3018
|
|
3019
|
+
class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse
|
3020
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3021
|
+
|
3022
|
+
include Google::Apis::Core::JsonObjectSupport
|
3023
|
+
end
|
3024
|
+
|
2977
3025
|
class GoogleCloudDialogflowV2beta1ListGeneratorsResponse
|
2978
3026
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2979
3027
|
|
@@ -3430,6 +3478,84 @@ module Google
|
|
3430
3478
|
include Google::Apis::Core::JsonObjectSupport
|
3431
3479
|
end
|
3432
3480
|
|
3481
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics
|
3482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3483
|
+
|
3484
|
+
include Google::Apis::Core::JsonObjectSupport
|
3485
|
+
end
|
3486
|
+
|
3487
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition
|
3488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3489
|
+
|
3490
|
+
include Google::Apis::Core::JsonObjectSupport
|
3491
|
+
end
|
3492
|
+
|
3493
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition
|
3494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3495
|
+
|
3496
|
+
include Google::Apis::Core::JsonObjectSupport
|
3497
|
+
end
|
3498
|
+
|
3499
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
|
3500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3501
|
+
|
3502
|
+
include Google::Apis::Core::JsonObjectSupport
|
3503
|
+
end
|
3504
|
+
|
3505
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric
|
3506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3507
|
+
|
3508
|
+
include Google::Apis::Core::JsonObjectSupport
|
3509
|
+
end
|
3510
|
+
|
3511
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail
|
3512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3513
|
+
|
3514
|
+
include Google::Apis::Core::JsonObjectSupport
|
3515
|
+
end
|
3516
|
+
|
3517
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail
|
3518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3519
|
+
|
3520
|
+
include Google::Apis::Core::JsonObjectSupport
|
3521
|
+
end
|
3522
|
+
|
3523
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
|
3524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3525
|
+
|
3526
|
+
include Google::Apis::Core::JsonObjectSupport
|
3527
|
+
end
|
3528
|
+
|
3529
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition
|
3530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3531
|
+
|
3532
|
+
include Google::Apis::Core::JsonObjectSupport
|
3533
|
+
end
|
3534
|
+
|
3535
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult
|
3536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3537
|
+
|
3538
|
+
include Google::Apis::Core::JsonObjectSupport
|
3539
|
+
end
|
3540
|
+
|
3541
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric
|
3542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3543
|
+
|
3544
|
+
include Google::Apis::Core::JsonObjectSupport
|
3545
|
+
end
|
3546
|
+
|
3547
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken
|
3548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3549
|
+
|
3550
|
+
include Google::Apis::Core::JsonObjectSupport
|
3551
|
+
end
|
3552
|
+
|
3553
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
|
3554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3555
|
+
|
3556
|
+
include Google::Apis::Core::JsonObjectSupport
|
3557
|
+
end
|
3558
|
+
|
3433
3559
|
class GoogleCloudDialogflowV2beta1SummarizationSection
|
3434
3560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3435
3561
|
|
@@ -7410,6 +7536,15 @@ module Google
|
|
7410
7536
|
end
|
7411
7537
|
end
|
7412
7538
|
|
7539
|
+
class GoogleCloudDialogflowV2beta1EvaluationStatus
|
7540
|
+
# @private
|
7541
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7542
|
+
property :done, as: 'done'
|
7543
|
+
property :pipeline_status, as: 'pipelineStatus', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
7544
|
+
|
7545
|
+
end
|
7546
|
+
end
|
7547
|
+
|
7413
7548
|
class GoogleCloudDialogflowV2beta1EventInput
|
7414
7549
|
# @private
|
7415
7550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7641,6 +7776,77 @@ module Google
|
|
7641
7776
|
end
|
7642
7777
|
end
|
7643
7778
|
|
7779
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluation
|
7780
|
+
# @private
|
7781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7782
|
+
property :complete_time, as: 'completeTime'
|
7783
|
+
property :create_time, as: 'createTime'
|
7784
|
+
property :display_name, as: 'displayName'
|
7785
|
+
property :evaluation_status, as: 'evaluationStatus', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EvaluationStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EvaluationStatus::Representation
|
7786
|
+
|
7787
|
+
property :generator_evaluation_config, as: 'generatorEvaluationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig::Representation
|
7788
|
+
|
7789
|
+
property :initial_generator, as: 'initialGenerator', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator::Representation
|
7790
|
+
|
7791
|
+
property :name, as: 'name'
|
7792
|
+
property :summarization_metrics, as: 'summarizationMetrics', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics::Representation
|
7793
|
+
|
7794
|
+
end
|
7795
|
+
end
|
7796
|
+
|
7797
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig
|
7798
|
+
# @private
|
7799
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7800
|
+
property :input_data_config, as: 'inputDataConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig::Representation
|
7801
|
+
|
7802
|
+
property :output_gcs_bucket_path, as: 'outputGcsBucketPath'
|
7803
|
+
property :summarization_config, as: 'summarizationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig::Representation
|
7804
|
+
|
7805
|
+
end
|
7806
|
+
end
|
7807
|
+
|
7808
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig
|
7809
|
+
# @private
|
7810
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7811
|
+
property :end_time, as: 'endTime'
|
7812
|
+
property :start_time, as: 'startTime'
|
7813
|
+
end
|
7814
|
+
end
|
7815
|
+
|
7816
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig
|
7817
|
+
# @private
|
7818
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7819
|
+
property :dataset, as: 'dataset'
|
7820
|
+
end
|
7821
|
+
end
|
7822
|
+
|
7823
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig
|
7824
|
+
# @private
|
7825
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7826
|
+
property :agent_assist_input_data_config, as: 'agentAssistInputDataConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig::Representation
|
7827
|
+
|
7828
|
+
property :dataset_input_data_config, as: 'datasetInputDataConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig::Representation
|
7829
|
+
|
7830
|
+
property :end_time, as: 'endTime'
|
7831
|
+
property :input_data_source_type, as: 'inputDataSourceType'
|
7832
|
+
property :is_summary_generation_allowed, as: 'isSummaryGenerationAllowed'
|
7833
|
+
property :sample_size, as: 'sampleSize'
|
7834
|
+
property :start_time, as: 'startTime'
|
7835
|
+
property :summary_generation_option, as: 'summaryGenerationOption'
|
7836
|
+
end
|
7837
|
+
end
|
7838
|
+
|
7839
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig
|
7840
|
+
# @private
|
7841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7842
|
+
property :accuracy_evaluation_version, as: 'accuracyEvaluationVersion'
|
7843
|
+
property :completeness_evaluation_version, as: 'completenessEvaluationVersion'
|
7844
|
+
property :enable_accuracy_evaluation, as: 'enableAccuracyEvaluation'
|
7845
|
+
property :enable_completeness_evaluation, as: 'enableCompletenessEvaluation'
|
7846
|
+
property :evaluator_version, as: 'evaluatorVersion'
|
7847
|
+
end
|
7848
|
+
end
|
7849
|
+
|
7644
7850
|
class GoogleCloudDialogflowV2beta1GeneratorSuggestion
|
7645
7851
|
# @private
|
7646
7852
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8621,6 +8827,15 @@ module Google
|
|
8621
8827
|
end
|
8622
8828
|
end
|
8623
8829
|
|
8830
|
+
class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse
|
8831
|
+
# @private
|
8832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8833
|
+
collection :generator_evaluations, as: 'generatorEvaluations', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation
|
8834
|
+
|
8835
|
+
property :next_page_token, as: 'nextPageToken'
|
8836
|
+
end
|
8837
|
+
end
|
8838
|
+
|
8624
8839
|
class GoogleCloudDialogflowV2beta1ListGeneratorsResponse
|
8625
8840
|
# @private
|
8626
8841
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9413,6 +9628,143 @@ module Google
|
|
9413
9628
|
end
|
9414
9629
|
end
|
9415
9630
|
|
9631
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics
|
9632
|
+
# @private
|
9633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9634
|
+
collection :conversation_details, as: 'conversationDetails', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail::Representation
|
9635
|
+
|
9636
|
+
collection :overall_metrics, as: 'overallMetrics', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric::Representation
|
9637
|
+
|
9638
|
+
collection :overall_section_tokens, as: 'overallSectionTokens', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken::Representation
|
9639
|
+
|
9640
|
+
property :summarization_evaluation_merged_results_uri, as: 'summarizationEvaluationMergedResultsUri'
|
9641
|
+
collection :summarization_evaluation_results, as: 'summarizationEvaluationResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult::Representation
|
9642
|
+
|
9643
|
+
end
|
9644
|
+
end
|
9645
|
+
|
9646
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition
|
9647
|
+
# @private
|
9648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9649
|
+
property :accuracy_reasoning, as: 'accuracyReasoning'
|
9650
|
+
property :is_accurate, as: 'isAccurate'
|
9651
|
+
property :point, as: 'point'
|
9652
|
+
end
|
9653
|
+
end
|
9654
|
+
|
9655
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition
|
9656
|
+
# @private
|
9657
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9658
|
+
property :adherence_reasoning, as: 'adherenceReasoning'
|
9659
|
+
property :is_adherent, as: 'isAdherent'
|
9660
|
+
property :point, as: 'point'
|
9661
|
+
end
|
9662
|
+
end
|
9663
|
+
|
9664
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
|
9665
|
+
# @private
|
9666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9667
|
+
property :is_addressed, as: 'isAddressed'
|
9668
|
+
property :question, as: 'question'
|
9669
|
+
property :reasoning, as: 'reasoning'
|
9670
|
+
end
|
9671
|
+
end
|
9672
|
+
|
9673
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric
|
9674
|
+
# @private
|
9675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9676
|
+
property :is_addressed, as: 'isAddressed'
|
9677
|
+
property :question, as: 'question'
|
9678
|
+
end
|
9679
|
+
end
|
9680
|
+
|
9681
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail
|
9682
|
+
# @private
|
9683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9684
|
+
collection :message_entries, as: 'messageEntries', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry::Representation
|
9685
|
+
|
9686
|
+
collection :metric_details, as: 'metricDetails', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail::Representation
|
9687
|
+
|
9688
|
+
collection :section_tokens, as: 'sectionTokens', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken::Representation
|
9689
|
+
|
9690
|
+
collection :summary_sections, as: 'summarySections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection::Representation
|
9691
|
+
|
9692
|
+
end
|
9693
|
+
end
|
9694
|
+
|
9695
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail
|
9696
|
+
# @private
|
9697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9698
|
+
property :metric, as: 'metric'
|
9699
|
+
property :score, as: 'score'
|
9700
|
+
collection :section_details, as: 'sectionDetails', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail::Representation
|
9701
|
+
|
9702
|
+
end
|
9703
|
+
end
|
9704
|
+
|
9705
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
|
9706
|
+
# @private
|
9707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9708
|
+
collection :evaluation_results, as: 'evaluationResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult::Representation
|
9709
|
+
|
9710
|
+
property :score, as: 'score'
|
9711
|
+
property :section, as: 'section'
|
9712
|
+
property :section_summary, as: 'sectionSummary'
|
9713
|
+
end
|
9714
|
+
end
|
9715
|
+
|
9716
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition
|
9717
|
+
# @private
|
9718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9719
|
+
property :accuracy_decomposition, as: 'accuracyDecomposition', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition::Representation
|
9720
|
+
|
9721
|
+
property :adherence_decomposition, as: 'adherenceDecomposition', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition::Representation
|
9722
|
+
|
9723
|
+
end
|
9724
|
+
end
|
9725
|
+
|
9726
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult
|
9727
|
+
# @private
|
9728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9729
|
+
property :accuracy_decomposition, as: 'accuracyDecomposition', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition::Representation
|
9730
|
+
|
9731
|
+
property :adherence_rubric, as: 'adherenceRubric', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric::Representation
|
9732
|
+
|
9733
|
+
property :completeness_rubric, as: 'completenessRubric', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric::Representation
|
9734
|
+
|
9735
|
+
end
|
9736
|
+
end
|
9737
|
+
|
9738
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric
|
9739
|
+
# @private
|
9740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9741
|
+
property :metric, as: 'metric'
|
9742
|
+
end
|
9743
|
+
end
|
9744
|
+
|
9745
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken
|
9746
|
+
# @private
|
9747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9748
|
+
property :section, as: 'section'
|
9749
|
+
property :token_count, :numeric_string => true, as: 'tokenCount'
|
9750
|
+
end
|
9751
|
+
end
|
9752
|
+
|
9753
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
|
9754
|
+
# @private
|
9755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9756
|
+
collection :decompositions, as: 'decompositions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition::Representation
|
9757
|
+
|
9758
|
+
collection :evaluation_results, as: 'evaluationResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult::Representation
|
9759
|
+
|
9760
|
+
property :metric, as: 'metric'
|
9761
|
+
property :score, as: 'score'
|
9762
|
+
property :section, as: 'section'
|
9763
|
+
property :section_summary, as: 'sectionSummary'
|
9764
|
+
property :session_id, as: 'sessionId'
|
9765
|
+
end
|
9766
|
+
end
|
9767
|
+
|
9416
9768
|
class GoogleCloudDialogflowV2beta1SummarizationSection
|
9417
9769
|
# @private
|
9418
9770
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4923,8 +4923,8 @@ module Google
|
|
4923
4923
|
# @param [String] name
|
4924
4924
|
# The resource that owns the locations collection, if applicable.
|
4925
4925
|
# @param [Array<String>, String] extra_location_types
|
4926
|
-
# Optional.
|
4927
|
-
#
|
4926
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
4927
|
+
# field which is primarily intended for internal usage.
|
4928
4928
|
# @param [String] filter
|
4929
4929
|
# A filter to narrow down results to a preferred subset. The filtering language
|
4930
4930
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -8787,6 +8787,141 @@ module Google
|
|
8787
8787
|
execute_or_queue_command(command, &block)
|
8788
8788
|
end
|
8789
8789
|
|
8790
|
+
# Creates evaluation of a generator.
|
8791
|
+
# @param [String] parent
|
8792
|
+
# Required. The generator resource name. Format: `projects//locations//
|
8793
|
+
# generators/`
|
8794
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation] google_cloud_dialogflow_v2beta1_generator_evaluation_object
|
8795
|
+
# @param [String] fields
|
8796
|
+
# Selector specifying which fields to include in a partial response.
|
8797
|
+
# @param [String] quota_user
|
8798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8800
|
+
# @param [Google::Apis::RequestOptions] options
|
8801
|
+
# Request-specific options
|
8802
|
+
#
|
8803
|
+
# @yield [result, err] Result & error if block supplied
|
8804
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
8805
|
+
# @yieldparam err [StandardError] error object if request failed
|
8806
|
+
#
|
8807
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
8808
|
+
#
|
8809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8812
|
+
def create_project_location_generator_evaluation(parent, google_cloud_dialogflow_v2beta1_generator_evaluation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8813
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/evaluations', options)
|
8814
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation
|
8815
|
+
command.request_object = google_cloud_dialogflow_v2beta1_generator_evaluation_object
|
8816
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
8817
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
8818
|
+
command.params['parent'] = parent unless parent.nil?
|
8819
|
+
command.query['fields'] = fields unless fields.nil?
|
8820
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8821
|
+
execute_or_queue_command(command, &block)
|
8822
|
+
end
|
8823
|
+
|
8824
|
+
# Deletes an evaluation of generator.
|
8825
|
+
# @param [String] name
|
8826
|
+
# Required. The generator evaluation resource name. Format: `projects//locations/
|
8827
|
+
# /generators// evaluations/`
|
8828
|
+
# @param [String] fields
|
8829
|
+
# Selector specifying which fields to include in a partial response.
|
8830
|
+
# @param [String] quota_user
|
8831
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8832
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8833
|
+
# @param [Google::Apis::RequestOptions] options
|
8834
|
+
# Request-specific options
|
8835
|
+
#
|
8836
|
+
# @yield [result, err] Result & error if block supplied
|
8837
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
8838
|
+
# @yieldparam err [StandardError] error object if request failed
|
8839
|
+
#
|
8840
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
8841
|
+
#
|
8842
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8843
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8844
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8845
|
+
def delete_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
|
8846
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
8847
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
8848
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
8849
|
+
command.params['name'] = name unless name.nil?
|
8850
|
+
command.query['fields'] = fields unless fields.nil?
|
8851
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8852
|
+
execute_or_queue_command(command, &block)
|
8853
|
+
end
|
8854
|
+
|
8855
|
+
# Gets an evaluation of generator.
|
8856
|
+
# @param [String] name
|
8857
|
+
# Required. The generator evaluation resource name. Format: `projects//locations/
|
8858
|
+
# /generators//evaluations/`
|
8859
|
+
# @param [String] fields
|
8860
|
+
# Selector specifying which fields to include in a partial response.
|
8861
|
+
# @param [String] quota_user
|
8862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8864
|
+
# @param [Google::Apis::RequestOptions] options
|
8865
|
+
# Request-specific options
|
8866
|
+
#
|
8867
|
+
# @yield [result, err] Result & error if block supplied
|
8868
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation] parsed result object
|
8869
|
+
# @yieldparam err [StandardError] error object if request failed
|
8870
|
+
#
|
8871
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation]
|
8872
|
+
#
|
8873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8876
|
+
def get_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
|
8877
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
8878
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation
|
8879
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation
|
8880
|
+
command.params['name'] = name unless name.nil?
|
8881
|
+
command.query['fields'] = fields unless fields.nil?
|
8882
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8883
|
+
execute_or_queue_command(command, &block)
|
8884
|
+
end
|
8885
|
+
|
8886
|
+
# Lists evaluations of generator.
|
8887
|
+
# @param [String] parent
|
8888
|
+
# Required. The generator resource name. Format: `projects//locations//
|
8889
|
+
# generators/` Wildcard value `-` is supported on generator_id to list
|
8890
|
+
# evaluations across all generators under same project.
|
8891
|
+
# @param [Fixnum] page_size
|
8892
|
+
# Optional. Maximum number of evaluations to return in a single page. By default
|
8893
|
+
# 100 and at most 1000.
|
8894
|
+
# @param [String] page_token
|
8895
|
+
# Optional. The next_page_token value returned from a previous list request.
|
8896
|
+
# @param [String] fields
|
8897
|
+
# Selector specifying which fields to include in a partial response.
|
8898
|
+
# @param [String] quota_user
|
8899
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8900
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8901
|
+
# @param [Google::Apis::RequestOptions] options
|
8902
|
+
# Request-specific options
|
8903
|
+
#
|
8904
|
+
# @yield [result, err] Result & error if block supplied
|
8905
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse] parsed result object
|
8906
|
+
# @yieldparam err [StandardError] error object if request failed
|
8907
|
+
#
|
8908
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse]
|
8909
|
+
#
|
8910
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8911
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8912
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8913
|
+
def list_project_location_generator_evaluations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
8914
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/evaluations', options)
|
8915
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse::Representation
|
8916
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse
|
8917
|
+
command.params['parent'] = parent unless parent.nil?
|
8918
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
8919
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
8920
|
+
command.query['fields'] = fields unless fields.nil?
|
8921
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8922
|
+
execute_or_queue_command(command, &block)
|
8923
|
+
end
|
8924
|
+
|
8790
8925
|
# Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
|
8791
8926
|
# is deprecated; only use `projects.knowledgeBases`.
|
8792
8927
|
# @param [String] parent
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.111.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.111.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|