google-apis-dialogflow_v3 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbfbbb8a7d6dc181c0f6532dd7c173da9ee47e0f87919485a0b2998a3a216b15
4
- data.tar.gz: a893e6bb25bfd4fc109d43f11252bbb14a342b91f8a06a2202942206c44617ba
3
+ metadata.gz: 911047a0b878c56d6f94c1bfc1b1d3fbb31fbedcbefe49031d4405fc59962696
4
+ data.tar.gz: 6e7c48fe08e4fd22889fefea7b04bef3e9c9243b1c7d14178e94010eadcd8273
5
5
  SHA512:
6
- metadata.gz: 7d470dfb1d829c8c981ae9283e2b53ac9380cbb46e6a791f4d2af0ff08e4850e3672a7066463e57d57b583970909317d5e6fc362f5718c09e7f81eb8fcab1f71
7
- data.tar.gz: b869e01b3cb81cae8192f414fcb98de3418fa15d5c89f455065df526c41ffc2ba3156239eea20cbbe851a4179643e726b58ff71e0afd605e8c3912558cddd2b1
6
+ metadata.gz: b88c5cdcc9419a75354d7cc71ffad5717cd78a1de6855fe927e8c77311705da70a516e4dfa090e3022ceaf59b25038d5aa0b82cc2f628b033d19f227dc554852
7
+ data.tar.gz: 314a5a697a31aed4703dd76f3391c5cb309bdbfdee3794f79506db6e4622bb4b9cd72b2d207c7a5a46d4ee61e2e2fded6a3f53ffca52976c5412296bb32e594e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.4.0 (2021-02-17)
4
+
5
+ * Regenerated from discovery document revision 20210213
6
+
3
7
  ### v0.3.0 (2021-02-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20210209
@@ -276,8 +276,16 @@ module Google
276
276
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage]
277
277
  attr_accessor :intent_coverage
278
278
 
279
- # Transition coverage represents the percentage of all possible transitions
280
- # present within any of a parent's test cases.
279
+ # Transition route group coverage represents the percentage of all possible
280
+ # transition routes present within any of a parent's test cases. The results are
281
+ # grouped by the transition route group.
282
+ # Corresponds to the JSON property `routeGroupCoverage`
283
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage]
284
+ attr_accessor :route_group_coverage
285
+
286
+ # Transition coverage represents the percentage of all possible page transitions
287
+ # (page-level transition routes and event handlers, excluding transition route
288
+ # groups) present within any of a parent's test cases.
281
289
  # Corresponds to the JSON property `transitionCoverage`
282
290
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage]
283
291
  attr_accessor :transition_coverage
@@ -290,6 +298,7 @@ module Google
290
298
  def update!(**args)
291
299
  @agent = args[:agent] if args.key?(:agent)
292
300
  @intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage)
301
+ @route_group_coverage = args[:route_group_coverage] if args.key?(:route_group_coverage)
293
302
  @transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage)
294
303
  end
295
304
  end
@@ -3760,12 +3769,6 @@ module Google
3760
3769
  # @return [String]
3761
3770
  attr_accessor :environment
3762
3771
 
3763
- # Required. Format of test case name to run: `projects//locations/ /agents//
3764
- # testCases/`.
3765
- # Corresponds to the JSON property `name`
3766
- # @return [String]
3767
- attr_accessor :name
3768
-
3769
3772
  def initialize(**args)
3770
3773
  update!(**args)
3771
3774
  end
@@ -3773,7 +3776,6 @@ module Google
3773
3776
  # Update properties of this object
3774
3777
  def update!(**args)
3775
3778
  @environment = args[:environment] if args.key?(:environment)
3776
- @name = args[:name] if args.key?(:name)
3777
3779
  end
3778
3780
  end
3779
3781
 
@@ -4332,8 +4334,9 @@ module Google
4332
4334
  end
4333
4335
  end
4334
4336
 
4335
- # Transition coverage represents the percentage of all possible transitions
4336
- # present within any of a parent's test cases.
4337
+ # Transition coverage represents the percentage of all possible page transitions
4338
+ # (page-level transition routes and event handlers, excluding transition route
4339
+ # groups) present within any of a parent's test cases.
4337
4340
  class GoogleCloudDialogflowCxV3TransitionCoverage
4338
4341
  include Google::Apis::Core::Hashable
4339
4342
 
@@ -4358,7 +4361,7 @@ module Google
4358
4361
  end
4359
4362
  end
4360
4363
 
4361
- # A transition in the agent's graph.
4364
+ # A transition in a page.
4362
4365
  class GoogleCloudDialogflowCxV3TransitionCoverageTransition
4363
4366
  include Google::Apis::Core::Hashable
4364
4367
 
@@ -4572,6 +4575,100 @@ module Google
4572
4575
  end
4573
4576
  end
4574
4577
 
4578
+ # Transition route group coverage represents the percentage of all possible
4579
+ # transition routes present within any of a parent's test cases. The results are
4580
+ # grouped by the transition route group.
4581
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
4582
+ include Google::Apis::Core::Hashable
4583
+
4584
+ # The percent of transition routes in all the transition route groups that are
4585
+ # covered.
4586
+ # Corresponds to the JSON property `coverageScore`
4587
+ # @return [Float]
4588
+ attr_accessor :coverage_score
4589
+
4590
+ # Transition route group coverages.
4591
+ # Corresponds to the JSON property `coverages`
4592
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage>]
4593
+ attr_accessor :coverages
4594
+
4595
+ def initialize(**args)
4596
+ update!(**args)
4597
+ end
4598
+
4599
+ # Update properties of this object
4600
+ def update!(**args)
4601
+ @coverage_score = args[:coverage_score] if args.key?(:coverage_score)
4602
+ @coverages = args[:coverages] if args.key?(:coverages)
4603
+ end
4604
+ end
4605
+
4606
+ # Coverage result message for one transition route group.
4607
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
4608
+ include Google::Apis::Core::Hashable
4609
+
4610
+ # The percent of transition routes in the transition route group that are
4611
+ # covered.
4612
+ # Corresponds to the JSON property `coverageScore`
4613
+ # @return [Float]
4614
+ attr_accessor :coverage_score
4615
+
4616
+ # An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by
4617
+ # a Page.
4618
+ # Corresponds to the JSON property `routeGroup`
4619
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup]
4620
+ attr_accessor :route_group
4621
+
4622
+ # The list of transition routes and coverage in the transition route group.
4623
+ # Corresponds to the JSON property `transitions`
4624
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition>]
4625
+ attr_accessor :transitions
4626
+
4627
+ def initialize(**args)
4628
+ update!(**args)
4629
+ end
4630
+
4631
+ # Update properties of this object
4632
+ def update!(**args)
4633
+ @coverage_score = args[:coverage_score] if args.key?(:coverage_score)
4634
+ @route_group = args[:route_group] if args.key?(:route_group)
4635
+ @transitions = args[:transitions] if args.key?(:transitions)
4636
+ end
4637
+ end
4638
+
4639
+ # A transition coverage in a transition route group.
4640
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
4641
+ include Google::Apis::Core::Hashable
4642
+
4643
+ # Whether or not the transition route is covered by at least one of the agent's
4644
+ # test cases.
4645
+ # Corresponds to the JSON property `covered`
4646
+ # @return [Boolean]
4647
+ attr_accessor :covered
4648
+ alias_method :covered?, :covered
4649
+
4650
+ # A transition route specifies a intent that can be matched and/or a data
4651
+ # condition that can be evaluated during a session. When a specified transition
4652
+ # is matched, the following actions are taken in order: * If there is a `
4653
+ # trigger_fulfillment` associated with the transition, it will be called. * If
4654
+ # there is a `target_page` associated with the transition, the session will
4655
+ # transition into the specified page. * If there is a `target_flow` associated
4656
+ # with the transition, the session will transition into the specified flow.
4657
+ # Corresponds to the JSON property `transitionRoute`
4658
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute]
4659
+ attr_accessor :transition_route
4660
+
4661
+ def initialize(**args)
4662
+ update!(**args)
4663
+ end
4664
+
4665
+ # Update properties of this object
4666
+ def update!(**args)
4667
+ @covered = args[:covered] if args.key?(:covered)
4668
+ @transition_route = args[:transition_route] if args.key?(:transition_route)
4669
+ end
4670
+ end
4671
+
4575
4672
  # Metadata for UpdateDocument operation.
4576
4673
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
4577
4674
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.3.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 = "20210209"
25
+ REVISION = "20210213"
26
26
  end
27
27
  end
28
28
  end
@@ -772,6 +772,24 @@ module Google
772
772
  include Google::Apis::Core::JsonObjectSupport
773
773
  end
774
774
 
775
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
775
793
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
776
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
795
 
@@ -2123,6 +2141,8 @@ module Google
2123
2141
  property :agent, as: 'agent'
2124
2142
  property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage::Representation
2125
2143
 
2144
+ property :route_group_coverage, as: 'routeGroupCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage::Representation
2145
+
2126
2146
  property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage::Representation
2127
2147
 
2128
2148
  end
@@ -3075,7 +3095,6 @@ module Google
3075
3095
  # @private
3076
3096
  class Representation < Google::Apis::Core::JsonRepresentation
3077
3097
  property :environment, as: 'environment'
3078
- property :name, as: 'name'
3079
3098
  end
3080
3099
  end
3081
3100
 
@@ -3293,6 +3312,35 @@ module Google
3293
3312
  end
3294
3313
  end
3295
3314
 
3315
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
3316
+ # @private
3317
+ class Representation < Google::Apis::Core::JsonRepresentation
3318
+ property :coverage_score, as: 'coverageScore'
3319
+ collection :coverages, as: 'coverages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage::Representation
3320
+
3321
+ end
3322
+ end
3323
+
3324
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
3325
+ # @private
3326
+ class Representation < Google::Apis::Core::JsonRepresentation
3327
+ property :coverage_score, as: 'coverageScore'
3328
+ property :route_group, as: 'routeGroup', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
3329
+
3330
+ collection :transitions, as: 'transitions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition::Representation
3331
+
3332
+ end
3333
+ end
3334
+
3335
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
3336
+ # @private
3337
+ class Representation < Google::Apis::Core::JsonRepresentation
3338
+ property :covered, as: 'covered'
3339
+ property :transition_route, as: 'transitionRoute', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute::Representation
3340
+
3341
+ end
3342
+ end
3343
+
3296
3344
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
3297
3345
  # @private
3298
3346
  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] projects_id
3118
- # @param [String] locations_id
3119
- # @param [String] agents_id
3117
+ # @param [String] name
3118
+ # Required. Format of test case name to run: `projects//locations/ /agents//
3119
+ # testCases/`.
3120
3120
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest] google_cloud_dialogflow_cx_v3_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(projects_id, locations_id, agents_id, google_cloud_dialogflow_cx_v3_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3139
- command = make_simple_command(:post, 'v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run', options)
3138
+ def run_project_location_agent_test_case(name, google_cloud_dialogflow_cx_v3_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3139
+ command = make_simple_command(:post, 'v3/{+name}:run', options)
3140
3140
  command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest::Representation
3141
3141
  command.request_object = google_cloud_dialogflow_cx_v3_run_test_case_request_object
3142
3142
  command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
3143
3143
  command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
3144
- command.params['projectsId'] = projects_id unless projects_id.nil?
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_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.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-15 00:00:00.000000000 Z
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_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.4.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
57
57
  post_install_message:
58
58
  rdoc_options: []