google-apis-dialogflow_v3beta1 0.3.0 → 0.4.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 +4 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +109 -12
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +49 -1
- data/lib/google/apis/dialogflow_v3beta1/service.rb +6 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecd1e4bc8abe8190417a4ac6ab9f1d4683ec30324e0cb3a29d0a3155768771d5
|
4
|
+
data.tar.gz: f2afed3206b008a79d2720231bd9de4e31c41ab0b3facb6097d39525d0853d6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f47b524f9d331cce659ca3d4a20aaf001f53898b8b55bb299c02fa5656d670b5f71af537c478e0d7dcc9b2ae2c597e3545ba8325a6e3fc95deb1185c826f76a
|
7
|
+
data.tar.gz: 6af32fef2d92ab037078e1de07cc66c487a13f8be34b905fd3945700d7201543d34a63f648e7cc1eb1af30e7da0b25e547eb2054a53a0e5a75896fa84f116df5
|
data/CHANGELOG.md
CHANGED
@@ -2634,8 +2634,16 @@ module Google
|
|
2634
2634
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage]
|
2635
2635
|
attr_accessor :intent_coverage
|
2636
2636
|
|
2637
|
-
# Transition coverage represents the percentage of all possible
|
2638
|
-
# present within any of a parent's test cases.
|
2637
|
+
# Transition route group coverage represents the percentage of all possible
|
2638
|
+
# transition routes present within any of a parent's test cases. The results are
|
2639
|
+
# grouped by the transition route group.
|
2640
|
+
# Corresponds to the JSON property `routeGroupCoverage`
|
2641
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage]
|
2642
|
+
attr_accessor :route_group_coverage
|
2643
|
+
|
2644
|
+
# Transition coverage represents the percentage of all possible page transitions
|
2645
|
+
# (page-level transition routes and event handlers, excluding transition route
|
2646
|
+
# groups) present within any of a parent's test cases.
|
2639
2647
|
# Corresponds to the JSON property `transitionCoverage`
|
2640
2648
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage]
|
2641
2649
|
attr_accessor :transition_coverage
|
@@ -2648,6 +2656,7 @@ module Google
|
|
2648
2656
|
def update!(**args)
|
2649
2657
|
@agent = args[:agent] if args.key?(:agent)
|
2650
2658
|
@intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage)
|
2659
|
+
@route_group_coverage = args[:route_group_coverage] if args.key?(:route_group_coverage)
|
2651
2660
|
@transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage)
|
2652
2661
|
end
|
2653
2662
|
end
|
@@ -6118,12 +6127,6 @@ module Google
|
|
6118
6127
|
# @return [String]
|
6119
6128
|
attr_accessor :environment
|
6120
6129
|
|
6121
|
-
# Required. Format of test case name to run: `projects//locations/ /agents//
|
6122
|
-
# testCases/`.
|
6123
|
-
# Corresponds to the JSON property `name`
|
6124
|
-
# @return [String]
|
6125
|
-
attr_accessor :name
|
6126
|
-
|
6127
6130
|
def initialize(**args)
|
6128
6131
|
update!(**args)
|
6129
6132
|
end
|
@@ -6131,7 +6134,6 @@ module Google
|
|
6131
6134
|
# Update properties of this object
|
6132
6135
|
def update!(**args)
|
6133
6136
|
@environment = args[:environment] if args.key?(:environment)
|
6134
|
-
@name = args[:name] if args.key?(:name)
|
6135
6137
|
end
|
6136
6138
|
end
|
6137
6139
|
|
@@ -6690,8 +6692,9 @@ module Google
|
|
6690
6692
|
end
|
6691
6693
|
end
|
6692
6694
|
|
6693
|
-
# Transition coverage represents the percentage of all possible transitions
|
6694
|
-
#
|
6695
|
+
# Transition coverage represents the percentage of all possible page transitions
|
6696
|
+
# (page-level transition routes and event handlers, excluding transition route
|
6697
|
+
# groups) present within any of a parent's test cases.
|
6695
6698
|
class GoogleCloudDialogflowCxV3beta1TransitionCoverage
|
6696
6699
|
include Google::Apis::Core::Hashable
|
6697
6700
|
|
@@ -6716,7 +6719,7 @@ module Google
|
|
6716
6719
|
end
|
6717
6720
|
end
|
6718
6721
|
|
6719
|
-
# A transition in
|
6722
|
+
# A transition in a page.
|
6720
6723
|
class GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition
|
6721
6724
|
include Google::Apis::Core::Hashable
|
6722
6725
|
|
@@ -6930,6 +6933,100 @@ module Google
|
|
6930
6933
|
end
|
6931
6934
|
end
|
6932
6935
|
|
6936
|
+
# Transition route group coverage represents the percentage of all possible
|
6937
|
+
# transition routes present within any of a parent's test cases. The results are
|
6938
|
+
# grouped by the transition route group.
|
6939
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
|
6940
|
+
include Google::Apis::Core::Hashable
|
6941
|
+
|
6942
|
+
# The percent of transition routes in all the transition route groups that are
|
6943
|
+
# covered.
|
6944
|
+
# Corresponds to the JSON property `coverageScore`
|
6945
|
+
# @return [Float]
|
6946
|
+
attr_accessor :coverage_score
|
6947
|
+
|
6948
|
+
# Transition route group coverages.
|
6949
|
+
# Corresponds to the JSON property `coverages`
|
6950
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage>]
|
6951
|
+
attr_accessor :coverages
|
6952
|
+
|
6953
|
+
def initialize(**args)
|
6954
|
+
update!(**args)
|
6955
|
+
end
|
6956
|
+
|
6957
|
+
# Update properties of this object
|
6958
|
+
def update!(**args)
|
6959
|
+
@coverage_score = args[:coverage_score] if args.key?(:coverage_score)
|
6960
|
+
@coverages = args[:coverages] if args.key?(:coverages)
|
6961
|
+
end
|
6962
|
+
end
|
6963
|
+
|
6964
|
+
# Coverage result message for one transition route group.
|
6965
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
|
6966
|
+
include Google::Apis::Core::Hashable
|
6967
|
+
|
6968
|
+
# The percent of transition routes in the transition route group that are
|
6969
|
+
# covered.
|
6970
|
+
# Corresponds to the JSON property `coverageScore`
|
6971
|
+
# @return [Float]
|
6972
|
+
attr_accessor :coverage_score
|
6973
|
+
|
6974
|
+
# An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
|
6975
|
+
# a Page.
|
6976
|
+
# Corresponds to the JSON property `routeGroup`
|
6977
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup]
|
6978
|
+
attr_accessor :route_group
|
6979
|
+
|
6980
|
+
# The list of transition routes and coverage in the transition route group.
|
6981
|
+
# Corresponds to the JSON property `transitions`
|
6982
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition>]
|
6983
|
+
attr_accessor :transitions
|
6984
|
+
|
6985
|
+
def initialize(**args)
|
6986
|
+
update!(**args)
|
6987
|
+
end
|
6988
|
+
|
6989
|
+
# Update properties of this object
|
6990
|
+
def update!(**args)
|
6991
|
+
@coverage_score = args[:coverage_score] if args.key?(:coverage_score)
|
6992
|
+
@route_group = args[:route_group] if args.key?(:route_group)
|
6993
|
+
@transitions = args[:transitions] if args.key?(:transitions)
|
6994
|
+
end
|
6995
|
+
end
|
6996
|
+
|
6997
|
+
# A transition coverage in a transition route group.
|
6998
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
|
6999
|
+
include Google::Apis::Core::Hashable
|
7000
|
+
|
7001
|
+
# Whether or not the transition route is covered by at least one of the agent's
|
7002
|
+
# test cases.
|
7003
|
+
# Corresponds to the JSON property `covered`
|
7004
|
+
# @return [Boolean]
|
7005
|
+
attr_accessor :covered
|
7006
|
+
alias_method :covered?, :covered
|
7007
|
+
|
7008
|
+
# A transition route specifies a intent that can be matched and/or a data
|
7009
|
+
# condition that can be evaluated during a session. When a specified transition
|
7010
|
+
# is matched, the following actions are taken in order: * If there is a `
|
7011
|
+
# trigger_fulfillment` associated with the transition, it will be called. * If
|
7012
|
+
# there is a `target_page` associated with the transition, the session will
|
7013
|
+
# transition into the specified page. * If there is a `target_flow` associated
|
7014
|
+
# with the transition, the session will transition into the specified flow.
|
7015
|
+
# Corresponds to the JSON property `transitionRoute`
|
7016
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute]
|
7017
|
+
attr_accessor :transition_route
|
7018
|
+
|
7019
|
+
def initialize(**args)
|
7020
|
+
update!(**args)
|
7021
|
+
end
|
7022
|
+
|
7023
|
+
# Update properties of this object
|
7024
|
+
def update!(**args)
|
7025
|
+
@covered = args[:covered] if args.key?(:covered)
|
7026
|
+
@transition_route = args[:transition_route] if args.key?(:transition_route)
|
7027
|
+
end
|
7028
|
+
end
|
7029
|
+
|
6933
7030
|
# Metadata for UpdateDocument operation.
|
6934
7031
|
class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
|
6935
7032
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210213"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1180,6 +1180,24 @@ module Google
|
|
1180
1180
|
include Google::Apis::Core::JsonObjectSupport
|
1181
1181
|
end
|
1182
1182
|
|
1183
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
|
1184
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1185
|
+
|
1186
|
+
include Google::Apis::Core::JsonObjectSupport
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
|
1190
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1191
|
+
|
1192
|
+
include Google::Apis::Core::JsonObjectSupport
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1197
|
+
|
1198
|
+
include Google::Apis::Core::JsonObjectSupport
|
1199
|
+
end
|
1200
|
+
|
1183
1201
|
class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
|
1184
1202
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1185
1203
|
|
@@ -2787,6 +2805,8 @@ module Google
|
|
2787
2805
|
property :agent, as: 'agent'
|
2788
2806
|
property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage::Representation
|
2789
2807
|
|
2808
|
+
property :route_group_coverage, as: 'routeGroupCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage::Representation
|
2809
|
+
|
2790
2810
|
property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage::Representation
|
2791
2811
|
|
2792
2812
|
end
|
@@ -3739,7 +3759,6 @@ module Google
|
|
3739
3759
|
# @private
|
3740
3760
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3741
3761
|
property :environment, as: 'environment'
|
3742
|
-
property :name, as: 'name'
|
3743
3762
|
end
|
3744
3763
|
end
|
3745
3764
|
|
@@ -3957,6 +3976,35 @@ module Google
|
|
3957
3976
|
end
|
3958
3977
|
end
|
3959
3978
|
|
3979
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
|
3980
|
+
# @private
|
3981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3982
|
+
property :coverage_score, as: 'coverageScore'
|
3983
|
+
collection :coverages, as: 'coverages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage::Representation
|
3984
|
+
|
3985
|
+
end
|
3986
|
+
end
|
3987
|
+
|
3988
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
|
3989
|
+
# @private
|
3990
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3991
|
+
property :coverage_score, as: 'coverageScore'
|
3992
|
+
property :route_group, as: 'routeGroup', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
|
3993
|
+
|
3994
|
+
collection :transitions, as: 'transitions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition::Representation
|
3995
|
+
|
3996
|
+
end
|
3997
|
+
end
|
3998
|
+
|
3999
|
+
class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
|
4000
|
+
# @private
|
4001
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4002
|
+
property :covered, as: 'covered'
|
4003
|
+
property :transition_route, as: 'transitionRoute', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
|
4004
|
+
|
4005
|
+
end
|
4006
|
+
end
|
4007
|
+
|
3960
4008
|
class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
|
3961
4009
|
# @private
|
3962
4010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3114,9 +3114,9 @@ module Google
|
|
3114
3114
|
end
|
3115
3115
|
|
3116
3116
|
# Kicks off a test case run.
|
3117
|
-
# @param [String]
|
3118
|
-
#
|
3119
|
-
#
|
3117
|
+
# @param [String] name
|
3118
|
+
# Required. Format of test case name to run: `projects//locations/ /agents//
|
3119
|
+
# testCases/`.
|
3120
3120
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseRequest] google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object
|
3121
3121
|
# @param [String] fields
|
3122
3122
|
# Selector specifying which fields to include in a partial response.
|
@@ -3135,15 +3135,13 @@ module Google
|
|
3135
3135
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3136
3136
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3137
3137
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3138
|
-
def run_project_location_agent_test_case(
|
3139
|
-
command = make_simple_command(:post, 'v3beta1/
|
3138
|
+
def run_project_location_agent_test_case(name, google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3139
|
+
command = make_simple_command(:post, 'v3beta1/{+name}:run', options)
|
3140
3140
|
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseRequest::Representation
|
3141
3141
|
command.request_object = google_cloud_dialogflow_cx_v3beta1_run_test_case_request_object
|
3142
3142
|
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
3143
3143
|
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
3144
|
-
command.params['
|
3145
|
-
command.params['locationsId'] = locations_id unless locations_id.nil?
|
3146
|
-
command.params['agentsId'] = agents_id unless agents_id.nil?
|
3144
|
+
command.params['name'] = name unless name.nil?
|
3147
3145
|
command.query['fields'] = fields unless fields.nil?
|
3148
3146
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3149
3147
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|