google-apis-dialogflow_v2beta1 0.1.0 → 0.2.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: c1330d65ef2d315304696d7a9e570167e54531bfa8e50b16af720284f16e6d17
4
- data.tar.gz: 484141d0d850d9848c1e88bfbd1242604b9a59dbda47a1f2c3f12890094baf2c
3
+ metadata.gz: f2060de6e04080c8c90a2195e596ab7f3435a1bd6c88efae2a167d476de3aef3
4
+ data.tar.gz: 630bf2b2773c615a2f668547e876c228ed5acdf78a5299116ec59994638f3e85
5
5
  SHA512:
6
- metadata.gz: 9abe4e06e6ae9bea54eeb8060b8bf0b9b1b61a2607eadfa0446ef128c4c0a79d41b53aaba46394857b7961b7f13e35578e624ef15a9f301e3b900ddfd6774e75
7
- data.tar.gz: 216dadc37938bb80ed8429b98fa3473bfd6c7d0b4074ac191dde74b0d36eab9dfd64f5b1d17db92e70526be5d6897178c1b8e7595892b23ade0ffb0f9f8f4b66
6
+ metadata.gz: 033a6aabea2b2ca656b62ed0a51fa8b0d9aed00a50f929991ba70249cfaa94f01a6e86ef7dd825639c26366fc48acc02abbddd0959ebe8270b0a317d61999f7e
7
+ data.tar.gz: 5212f6242d56fe0dd9871c3e8874e60dd031733697c50085f0f3d76200d69ebd4c1b0648fb4e5ec3011a63a1343c537e026ca8f72c5b17b281ba7dd9ab9aae20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.2.0 (2021-02-03)
4
+
5
+ * Regenerated from discovery document revision 20210130
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20201231
@@ -512,9 +512,10 @@ module Google
512
512
  attr_accessor :is_list
513
513
  alias_method :is_list?, :is_list
514
514
 
515
- # Indicates whether the parameter content is logged in text and audio. If it is
516
- # set to true, the parameter content will be replaced to parameter name in both
517
- # request and response. The default value is false.
515
+ # Indicates whether the parameter content should be redacted in log. If
516
+ # redaction is enabled, the parameter content will be replaced by parameter name
517
+ # during logging. Note: the parameter content is subject to redaction if either
518
+ # parameter level redaction or entity type level redaction is enabled.
518
519
  # Corresponds to the JSON property `redact`
519
520
  # @return [Boolean]
520
521
  attr_accessor :redact
@@ -1057,9 +1058,10 @@ module Google
1057
1058
  attr_accessor :is_list
1058
1059
  alias_method :is_list?, :is_list
1059
1060
 
1060
- # Indicates whether the parameter content is logged in text and audio. If it is
1061
- # set to true, the parameter content will be replaced to parameter id in both
1062
- # request and response. The default value is false.
1061
+ # Indicates whether the parameter content should be redacted in log. If
1062
+ # redaction is enabled, the parameter content will be replaced by parameter name
1063
+ # during logging. Note: the parameter content is subject to redaction if either
1064
+ # parameter level redaction or entity type level redaction is enabled.
1063
1065
  # Corresponds to the JSON property `redact`
1064
1066
  # @return [Boolean]
1065
1067
  attr_accessor :redact
@@ -1213,9 +1215,12 @@ module Google
1213
1215
  # conversation to another page in the same flow, or another flow. When we are in
1214
1216
  # a certain page, the TransitionRoutes are evalauted in the following order: *
1215
1217
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
1216
- # defined in the transition route groups. * TransitionRoutes defined in flow
1217
- # with intent specified. * TransitionRoutes defined in the page with only
1218
- # condition specified.
1218
+ # defined in the transition route groups with intent specified. *
1219
+ # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
1220
+ # defined in the transition route groups with intent specified. *
1221
+ # TransitionRoutes defined in the page with only condition specified. *
1222
+ # TransitionRoutes defined in the transition route groups with only condition
1223
+ # specified.
1219
1224
  # Corresponds to the JSON property `transitionRoutes`
1220
1225
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TransitionRoute>]
1221
1226
  attr_accessor :transition_routes
@@ -1765,7 +1770,8 @@ module Google
1765
1770
 
1766
1771
  # Always present for WebhookRequest. Ignored for WebhookResponse. The unique
1767
1772
  # identifier of the session. This field can be used by the webhook to identify a
1768
- # user. Format: `projects//locations//agents//sessions/`.
1773
+ # session. Format: `projects//locations//agents//sessions/` or `projects//
1774
+ # locations//agents//environments//sessions/` if environment is specified.
1769
1775
  # Corresponds to the JSON property `session`
1770
1776
  # @return [String]
1771
1777
  attr_accessor :session
@@ -1889,8 +1895,8 @@ module Google
1889
1895
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurn>]
1890
1896
  attr_accessor :conversation_turns
1891
1897
 
1892
- # Optional. Environment where the test was run. If not set, it indicates the
1893
- # draft environment.
1898
+ # Environment where the test was run. If not set, it indicates the draft
1899
+ # environment.
1894
1900
  # Corresponds to the JSON property `environment`
1895
1901
  # @return [String]
1896
1902
  attr_accessor :environment
@@ -2202,6 +2208,17 @@ module Google
2202
2208
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
2203
2209
  include Google::Apis::Core::Hashable
2204
2210
 
2211
+ # The confidence of the matched intent. Values range from 0.0 (completely
2212
+ # uncertain) to 1.0 (completely certain).
2213
+ # Corresponds to the JSON property `confidence`
2214
+ # @return [Float]
2215
+ attr_accessor :confidence
2216
+
2217
+ # Always present. The display name of the last matched intent.
2218
+ # Corresponds to the JSON property `displayName`
2219
+ # @return [String]
2220
+ attr_accessor :display_name
2221
+
2205
2222
  # Always present. The unique identifier of the last matched intent. Format: `
2206
2223
  # projects//locations//agents//intents/`.
2207
2224
  # Corresponds to the JSON property `lastMatchedIntent`
@@ -2222,6 +2239,8 @@ module Google
2222
2239
 
2223
2240
  # Update properties of this object
2224
2241
  def update!(**args)
2242
+ @confidence = args[:confidence] if args.key?(:confidence)
2243
+ @display_name = args[:display_name] if args.key?(:display_name)
2225
2244
  @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
2226
2245
  @parameters = args[:parameters] if args.key?(:parameters)
2227
2246
  end
@@ -2819,9 +2838,10 @@ module Google
2819
2838
  attr_accessor :is_list
2820
2839
  alias_method :is_list?, :is_list
2821
2840
 
2822
- # Indicates whether the parameter content is logged in text and audio. If it is
2823
- # set to true, the parameter content will be replaced to parameter name in both
2824
- # request and response. The default value is false.
2841
+ # Indicates whether the parameter content should be redacted in log. If
2842
+ # redaction is enabled, the parameter content will be replaced by parameter name
2843
+ # during logging. Note: the parameter content is subject to redaction if either
2844
+ # parameter level redaction or entity type level redaction is enabled.
2825
2845
  # Corresponds to the JSON property `redact`
2826
2846
  # @return [Boolean]
2827
2847
  attr_accessor :redact
@@ -3364,9 +3384,10 @@ module Google
3364
3384
  attr_accessor :is_list
3365
3385
  alias_method :is_list?, :is_list
3366
3386
 
3367
- # Indicates whether the parameter content is logged in text and audio. If it is
3368
- # set to true, the parameter content will be replaced to parameter id in both
3369
- # request and response. The default value is false.
3387
+ # Indicates whether the parameter content should be redacted in log. If
3388
+ # redaction is enabled, the parameter content will be replaced by parameter name
3389
+ # during logging. Note: the parameter content is subject to redaction if either
3390
+ # parameter level redaction or entity type level redaction is enabled.
3370
3391
  # Corresponds to the JSON property `redact`
3371
3392
  # @return [Boolean]
3372
3393
  attr_accessor :redact
@@ -3520,9 +3541,12 @@ module Google
3520
3541
  # conversation to another page in the same flow, or another flow. When we are in
3521
3542
  # a certain page, the TransitionRoutes are evalauted in the following order: *
3522
3543
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
3523
- # defined in the transition route groups. * TransitionRoutes defined in flow
3524
- # with intent specified. * TransitionRoutes defined in the page with only
3525
- # condition specified.
3544
+ # defined in the transition route groups with intent specified. *
3545
+ # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
3546
+ # defined in the transition route groups with intent specified. *
3547
+ # TransitionRoutes defined in the page with only condition specified. *
3548
+ # TransitionRoutes defined in the transition route groups with only condition
3549
+ # specified.
3526
3550
  # Corresponds to the JSON property `transitionRoutes`
3527
3551
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute>]
3528
3552
  attr_accessor :transition_routes
@@ -4072,7 +4096,8 @@ module Google
4072
4096
 
4073
4097
  # Always present for WebhookRequest. Ignored for WebhookResponse. The unique
4074
4098
  # identifier of the session. This field can be used by the webhook to identify a
4075
- # user. Format: `projects//locations//agents//sessions/`.
4099
+ # session. Format: `projects//locations//agents//sessions/` or `projects//
4100
+ # locations//agents//environments//sessions/` if environment is specified.
4076
4101
  # Corresponds to the JSON property `session`
4077
4102
  # @return [String]
4078
4103
  attr_accessor :session
@@ -4196,8 +4221,8 @@ module Google
4196
4221
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ConversationTurn>]
4197
4222
  attr_accessor :conversation_turns
4198
4223
 
4199
- # Optional. Environment where the test was run. If not set, it indicates the
4200
- # draft environment.
4224
+ # Environment where the test was run. If not set, it indicates the draft
4225
+ # environment.
4201
4226
  # Corresponds to the JSON property `environment`
4202
4227
  # @return [String]
4203
4228
  attr_accessor :environment
@@ -4509,6 +4534,17 @@ module Google
4509
4534
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
4510
4535
  include Google::Apis::Core::Hashable
4511
4536
 
4537
+ # The confidence of the matched intent. Values range from 0.0 (completely
4538
+ # uncertain) to 1.0 (completely certain).
4539
+ # Corresponds to the JSON property `confidence`
4540
+ # @return [Float]
4541
+ attr_accessor :confidence
4542
+
4543
+ # Always present. The display name of the last matched intent.
4544
+ # Corresponds to the JSON property `displayName`
4545
+ # @return [String]
4546
+ attr_accessor :display_name
4547
+
4512
4548
  # Always present. The unique identifier of the last matched intent. Format: `
4513
4549
  # projects//locations//agents//intents/`.
4514
4550
  # Corresponds to the JSON property `lastMatchedIntent`
@@ -4529,6 +4565,8 @@ module Google
4529
4565
 
4530
4566
  # Update properties of this object
4531
4567
  def update!(**args)
4568
+ @confidence = args[:confidence] if args.key?(:confidence)
4569
+ @display_name = args[:display_name] if args.key?(:display_name)
4532
4570
  @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
4533
4571
  @parameters = args[:parameters] if args.key?(:parameters)
4534
4572
  end
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201231"
25
+ REVISION = "20210130"
26
26
  end
27
27
  end
28
28
  end
@@ -2472,6 +2472,8 @@ module Google
2472
2472
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
2473
2473
  # @private
2474
2474
  class Representation < Google::Apis::Core::JsonRepresentation
2475
+ property :confidence, as: 'confidence'
2476
+ property :display_name, as: 'displayName'
2475
2477
  property :last_matched_intent, as: 'lastMatchedIntent'
2476
2478
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
2477
2479
 
@@ -3124,6 +3126,8 @@ module Google
3124
3126
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
3125
3127
  # @private
3126
3128
  class Representation < Google::Apis::Core::JsonRepresentation
3129
+ property :confidence, as: 'confidence'
3130
+ property :display_name, as: 'displayName'
3127
3131
  property :last_matched_intent, as: 'lastMatchedIntent'
3128
3132
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
3129
3133
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 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_v2beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Dialogflow API V2beta1