google-apis-dialogflow_v2 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46c25afe196c68ab1694967b57b72dd054ec711ae05eeaea7fc255ed5d187fff
4
- data.tar.gz: e391c0c5ce15abf6a2adbe6c30dcfb882ad10fe6695221eda75eb2a4705e296d
3
+ metadata.gz: 61b62546d636a92aba7f70d6911b147daa59691a1f9f89c383c8404e42a6759b
4
+ data.tar.gz: 394f7d1e238ac59efa69284cc6ae9dd6cbbd0376b53bda55d3fc0978c92297fc
5
5
  SHA512:
6
- metadata.gz: 62c194f7a1c800c92d87a2fc0dc84195cc62623897cd5b60b36e87e8bee30e0789c5a54dfbff95bc803cec91be08ac0edeed858749a1b5e4923bd16c331c0d3c
7
- data.tar.gz: 3a69f88e27e741603f86dcfd633afefb1d5cf9465102bb5b691148c88a3e080f1fde9460a76eb510e65e84da8af51d5c9dde179244053a49824032fc5f8c724e
6
+ metadata.gz: 58001206272b1936450847d064c44bcd2546d3ca9763b57543655d0311688584b79857e04b3294a0713016b739ace43057d6e53969d8db3e258d3d3523dc16aa
7
+ data.tar.gz: 7e030c7cbe18908fb89a5c318444fb85fa54b7020c36777a22f1f6b0952148fee716bc792c70fcac15b8763100085c3cb204bee97e7ae90f80a5bfb9cdd981f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dialogflow_v2
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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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 DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 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
@@ -2424,6 +2424,8 @@ module Google
2424
2424
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
2425
2425
  # @private
2426
2426
  class Representation < Google::Apis::Core::JsonRepresentation
2427
+ property :confidence, as: 'confidence'
2428
+ property :display_name, as: 'displayName'
2427
2429
  property :last_matched_intent, as: 'lastMatchedIntent'
2428
2430
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
2429
2431
 
@@ -3076,6 +3078,8 @@ module Google
3076
3078
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
3077
3079
  # @private
3078
3080
  class Representation < Google::Apis::Core::JsonRepresentation
3081
+ property :confidence, as: 'confidence'
3082
+ property :display_name, as: 'displayName'
3079
3083
  property :last_matched_intent, as: 'lastMatchedIntent'
3080
3084
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
3081
3085
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
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_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
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 V2