google-apis-dialogflow_v3 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: '0906506a7e5342b3816251e14cd54367839737199efd7b08ad5f84d6f37a078e'
4
- data.tar.gz: ba1286d59f5f250b9add223a33956a3728f3bc193a2c3bf9f583dba5fbf86bce
3
+ metadata.gz: fe16d8bb9c9b13338d44c15896d4de21a30bb1ec81cec13400b7b3bc4c1e5ac0
4
+ data.tar.gz: b598b552a2fdbbb48de2d25c5a2adb37cd897a343cf70f7674a78efcdfd5b92b
5
5
  SHA512:
6
- metadata.gz: d0779df6533d38f52b150e95d9a843aedb80d9c421912875e6cf28c8b1d8ba60cfe69aca717d2969f707a5eda278f6ee0098c9557a2241ab73c8411be66f5db1
7
- data.tar.gz: 5c19455a1f1d4818828e4bda4094d661ae15b1d3a714508d9bb296bd004722306f0b8c6a6bebe574eb75828691979801a77667b1d55de15c7842cb72c3f2dd8b
6
+ metadata.gz: a2d0c89f809d406e0bd5aee887876911c7718d57fa824d3a92a342e7511094dd24f7c0e666596c54e0abb0677bf08d953d62413d24d4c6e2e9c01c28626ff93f
7
+ data.tar.gz: 79047568bc11a894442baa0aefc6d8642d6560f758e08dd27a496e81472510938be461af58ecd1a1543faaccf6ea9a558da86c675c8f58650c855ce31eb66418
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dialogflow_v3
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
@@ -75,6 +75,12 @@ module Google
75
75
  # @return [String]
76
76
  attr_accessor :name
77
77
 
78
+ # Name of the SecuritySettings reference for the agent. Format: `projects//
79
+ # locations//securitySettings/`.
80
+ # Corresponds to the JSON property `securitySettings`
81
+ # @return [String]
82
+ attr_accessor :security_settings
83
+
78
84
  # Settings related to speech recognition.
79
85
  # Corresponds to the JSON property `speechToTextSettings`
80
86
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings]
@@ -106,6 +112,7 @@ module Google
106
112
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
107
113
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
108
114
  @name = args[:name] if args.key?(:name)
115
+ @security_settings = args[:security_settings] if args.key?(:security_settings)
109
116
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
110
117
  @start_flow = args[:start_flow] if args.key?(:start_flow)
111
118
  @time_zone = args[:time_zone] if args.key?(:time_zone)
@@ -650,6 +657,14 @@ module Google
650
657
  # @return [String]
651
658
  attr_accessor :name
652
659
 
660
+ # Indicates whether parameters of the entity type should be redacted in log. If
661
+ # redaction is enabled, page parameters and intent parameters referring to the
662
+ # entity type will be replaced by parameter name when logging.
663
+ # Corresponds to the JSON property `redact`
664
+ # @return [Boolean]
665
+ attr_accessor :redact
666
+ alias_method :redact?, :redact
667
+
653
668
  def initialize(**args)
654
669
  update!(**args)
655
670
  end
@@ -663,10 +678,11 @@ module Google
663
678
  @excluded_phrases = args[:excluded_phrases] if args.key?(:excluded_phrases)
664
679
  @kind = args[:kind] if args.key?(:kind)
665
680
  @name = args[:name] if args.key?(:name)
681
+ @redact = args[:redact] if args.key?(:redact)
666
682
  end
667
683
  end
668
684
 
669
- # An **entity entry** for an associated entity type. Next Id = 8
685
+ # An **entity entry** for an associated entity type.
670
686
  class GoogleCloudDialogflowCxV3EntityTypeEntity
671
687
  include Google::Apis::Core::Hashable
672
688
 
@@ -865,7 +881,7 @@ module Google
865
881
  end
866
882
  end
867
883
 
868
- # Represents an experiment in an environment. Next ID: 13
884
+ # Represents an experiment in an environment.
869
885
  class GoogleCloudDialogflowCxV3Experiment
870
886
  include Google::Apis::Core::Hashable
871
887
 
@@ -874,7 +890,7 @@ module Google
874
890
  # @return [String]
875
891
  attr_accessor :create_time
876
892
 
877
- # Definition of the experiment. Next ID: 3
893
+ # Definition of the experiment.
878
894
  # Corresponds to the JSON property `definition`
879
895
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentDefinition]
880
896
  attr_accessor :definition
@@ -955,7 +971,7 @@ module Google
955
971
  end
956
972
  end
957
973
 
958
- # Definition of the experiment. Next ID: 3
974
+ # Definition of the experiment.
959
975
  class GoogleCloudDialogflowCxV3ExperimentDefinition
960
976
  include Google::Apis::Core::Hashable
961
977
 
@@ -1060,12 +1076,24 @@ module Google
1060
1076
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval]
1061
1077
  attr_accessor :confidence_interval
1062
1078
 
1079
+ # Count value of a metric.
1080
+ # Corresponds to the JSON property `count`
1081
+ # @return [Float]
1082
+ attr_accessor :count
1083
+
1084
+ # Count-based metric type. Only one of type or count_type is specified in each
1085
+ # Metric.
1086
+ # Corresponds to the JSON property `countType`
1087
+ # @return [String]
1088
+ attr_accessor :count_type
1089
+
1063
1090
  # Ratio value of a metric.
1064
1091
  # Corresponds to the JSON property `ratio`
1065
1092
  # @return [Float]
1066
1093
  attr_accessor :ratio
1067
1094
 
1068
- # The type of the metric.
1095
+ # Ratio-based metric type. Only one of type or count_type is specified in each
1096
+ # Metric.
1069
1097
  # Corresponds to the JSON property `type`
1070
1098
  # @return [String]
1071
1099
  attr_accessor :type
@@ -1077,6 +1105,8 @@ module Google
1077
1105
  # Update properties of this object
1078
1106
  def update!(**args)
1079
1107
  @confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval)
1108
+ @count = args[:count] if args.key?(:count)
1109
+ @count_type = args[:count_type] if args.key?(:count_type)
1080
1110
  @ratio = args[:ratio] if args.key?(:ratio)
1081
1111
  @type = args[:type] if args.key?(:type)
1082
1112
  end
@@ -1403,9 +1433,10 @@ module Google
1403
1433
  attr_accessor :is_list
1404
1434
  alias_method :is_list?, :is_list
1405
1435
 
1406
- # Indicates whether the parameter content is logged in text and audio. If it is
1407
- # set to true, the parameter content will be replaced to parameter name in both
1408
- # request and response. The default value is false.
1436
+ # Indicates whether the parameter content should be redacted in log. If
1437
+ # redaction is enabled, the parameter content will be replaced by parameter name
1438
+ # during logging. Note: the parameter content is subject to redaction if either
1439
+ # parameter level redaction or entity type level redaction is enabled.
1409
1440
  # Corresponds to the JSON property `redact`
1410
1441
  # @return [Boolean]
1411
1442
  attr_accessor :redact
@@ -2104,9 +2135,10 @@ module Google
2104
2135
  attr_accessor :is_list
2105
2136
  alias_method :is_list?, :is_list
2106
2137
 
2107
- # Indicates whether the parameter content is logged in text and audio. If it is
2108
- # set to true, the parameter content will be replaced to parameter id in both
2109
- # request and response. The default value is false.
2138
+ # Indicates whether the parameter content should be redacted in log. If
2139
+ # redaction is enabled, the parameter content will be replaced by parameter name
2140
+ # during logging. Note: the parameter content is subject to redaction if either
2141
+ # parameter level redaction or entity type level redaction is enabled.
2110
2142
  # Corresponds to the JSON property `redact`
2111
2143
  # @return [Boolean]
2112
2144
  attr_accessor :redact
@@ -2921,9 +2953,12 @@ module Google
2921
2953
  # conversation to another page in the same flow, or another flow. When we are in
2922
2954
  # a certain page, the TransitionRoutes are evalauted in the following order: *
2923
2955
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
2924
- # defined in the transition route groups. * TransitionRoutes defined in flow
2925
- # with intent specified. * TransitionRoutes defined in the page with only
2926
- # condition specified.
2956
+ # defined in the transition route groups with intent specified. *
2957
+ # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
2958
+ # defined in the transition route groups with intent specified. *
2959
+ # TransitionRoutes defined in the page with only condition specified. *
2960
+ # TransitionRoutes defined in the transition route groups with only condition
2961
+ # specified.
2927
2962
  # Corresponds to the JSON property `transitionRoutes`
2928
2963
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute>]
2929
2964
  attr_accessor :transition_routes
@@ -3913,7 +3948,8 @@ module Google
3913
3948
 
3914
3949
  # Always present for WebhookRequest. Ignored for WebhookResponse. The unique
3915
3950
  # identifier of the session. This field can be used by the webhook to identify a
3916
- # user. Format: `projects//locations//agents//sessions/`.
3951
+ # session. Format: `projects//locations//agents//sessions/` or `projects//
3952
+ # locations//agents//environments//sessions/` if environment is specified.
3917
3953
  # Corresponds to the JSON property `session`
3918
3954
  # @return [String]
3919
3955
  attr_accessor :session
@@ -4140,8 +4176,8 @@ module Google
4140
4176
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn>]
4141
4177
  attr_accessor :conversation_turns
4142
4178
 
4143
- # Optional. Environment where the test was run. If not set, it indicates the
4144
- # draft environment.
4179
+ # Environment where the test was run. If not set, it indicates the draft
4180
+ # environment.
4145
4181
  # Corresponds to the JSON property `environment`
4146
4182
  # @return [String]
4147
4183
  attr_accessor :environment
@@ -4519,9 +4555,7 @@ module Google
4519
4555
  # @return [String]
4520
4556
  attr_accessor :name
4521
4557
 
4522
- # Transition routes associated with the TransitionRouteGroup. Duplicate
4523
- # transition routes (i.e. using the same `intent`) are not allowed. Note that
4524
- # the `name` field is not used in the transition route group scope.
4558
+ # Transition routes associated with the TransitionRouteGroup.
4525
4559
  # Corresponds to the JSON property `transitionRoutes`
4526
4560
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute>]
4527
4561
  attr_accessor :transition_routes
@@ -4969,6 +5003,17 @@ module Google
4969
5003
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
4970
5004
  include Google::Apis::Core::Hashable
4971
5005
 
5006
+ # The confidence of the matched intent. Values range from 0.0 (completely
5007
+ # uncertain) to 1.0 (completely certain).
5008
+ # Corresponds to the JSON property `confidence`
5009
+ # @return [Float]
5010
+ attr_accessor :confidence
5011
+
5012
+ # Always present. The display name of the last matched intent.
5013
+ # Corresponds to the JSON property `displayName`
5014
+ # @return [String]
5015
+ attr_accessor :display_name
5016
+
4972
5017
  # Always present. The unique identifier of the last matched intent. Format: `
4973
5018
  # projects//locations//agents//intents/`.
4974
5019
  # Corresponds to the JSON property `lastMatchedIntent`
@@ -4989,6 +5034,8 @@ module Google
4989
5034
 
4990
5035
  # Update properties of this object
4991
5036
  def update!(**args)
5037
+ @confidence = args[:confidence] if args.key?(:confidence)
5038
+ @display_name = args[:display_name] if args.key?(:display_name)
4992
5039
  @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
4993
5040
  @parameters = args[:parameters] if args.key?(:parameters)
4994
5041
  end
@@ -5586,9 +5633,10 @@ module Google
5586
5633
  attr_accessor :is_list
5587
5634
  alias_method :is_list?, :is_list
5588
5635
 
5589
- # Indicates whether the parameter content is logged in text and audio. If it is
5590
- # set to true, the parameter content will be replaced to parameter name in both
5591
- # request and response. The default value is false.
5636
+ # Indicates whether the parameter content should be redacted in log. If
5637
+ # redaction is enabled, the parameter content will be replaced by parameter name
5638
+ # during logging. Note: the parameter content is subject to redaction if either
5639
+ # parameter level redaction or entity type level redaction is enabled.
5592
5640
  # Corresponds to the JSON property `redact`
5593
5641
  # @return [Boolean]
5594
5642
  attr_accessor :redact
@@ -6131,9 +6179,10 @@ module Google
6131
6179
  attr_accessor :is_list
6132
6180
  alias_method :is_list?, :is_list
6133
6181
 
6134
- # Indicates whether the parameter content is logged in text and audio. If it is
6135
- # set to true, the parameter content will be replaced to parameter id in both
6136
- # request and response. The default value is false.
6182
+ # Indicates whether the parameter content should be redacted in log. If
6183
+ # redaction is enabled, the parameter content will be replaced by parameter name
6184
+ # during logging. Note: the parameter content is subject to redaction if either
6185
+ # parameter level redaction or entity type level redaction is enabled.
6137
6186
  # Corresponds to the JSON property `redact`
6138
6187
  # @return [Boolean]
6139
6188
  attr_accessor :redact
@@ -6287,9 +6336,12 @@ module Google
6287
6336
  # conversation to another page in the same flow, or another flow. When we are in
6288
6337
  # a certain page, the TransitionRoutes are evalauted in the following order: *
6289
6338
  # TransitionRoutes defined in the page with intent specified. * TransitionRoutes
6290
- # defined in the transition route groups. * TransitionRoutes defined in flow
6291
- # with intent specified. * TransitionRoutes defined in the page with only
6292
- # condition specified.
6339
+ # defined in the transition route groups with intent specified. *
6340
+ # TransitionRoutes defined in flow with intent specified. * TransitionRoutes
6341
+ # defined in the transition route groups with intent specified. *
6342
+ # TransitionRoutes defined in the page with only condition specified. *
6343
+ # TransitionRoutes defined in the transition route groups with only condition
6344
+ # specified.
6293
6345
  # Corresponds to the JSON property `transitionRoutes`
6294
6346
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute>]
6295
6347
  attr_accessor :transition_routes
@@ -6839,7 +6891,8 @@ module Google
6839
6891
 
6840
6892
  # Always present for WebhookRequest. Ignored for WebhookResponse. The unique
6841
6893
  # identifier of the session. This field can be used by the webhook to identify a
6842
- # user. Format: `projects//locations//agents//sessions/`.
6894
+ # session. Format: `projects//locations//agents//sessions/` or `projects//
6895
+ # locations//agents//environments//sessions/` if environment is specified.
6843
6896
  # Corresponds to the JSON property `session`
6844
6897
  # @return [String]
6845
6898
  attr_accessor :session
@@ -6963,8 +7016,8 @@ module Google
6963
7016
  # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn>]
6964
7017
  attr_accessor :conversation_turns
6965
7018
 
6966
- # Optional. Environment where the test was run. If not set, it indicates the
6967
- # draft environment.
7019
+ # Environment where the test was run. If not set, it indicates the draft
7020
+ # environment.
6968
7021
  # Corresponds to the JSON property `environment`
6969
7022
  # @return [String]
6970
7023
  attr_accessor :environment
@@ -7276,6 +7329,17 @@ module Google
7276
7329
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
7277
7330
  include Google::Apis::Core::Hashable
7278
7331
 
7332
+ # The confidence of the matched intent. Values range from 0.0 (completely
7333
+ # uncertain) to 1.0 (completely certain).
7334
+ # Corresponds to the JSON property `confidence`
7335
+ # @return [Float]
7336
+ attr_accessor :confidence
7337
+
7338
+ # Always present. The display name of the last matched intent.
7339
+ # Corresponds to the JSON property `displayName`
7340
+ # @return [String]
7341
+ attr_accessor :display_name
7342
+
7279
7343
  # Always present. The unique identifier of the last matched intent. Format: `
7280
7344
  # projects//locations//agents//intents/`.
7281
7345
  # Corresponds to the JSON property `lastMatchedIntent`
@@ -7296,6 +7360,8 @@ module Google
7296
7360
 
7297
7361
  # Update properties of this object
7298
7362
  def update!(**args)
7363
+ @confidence = args[:confidence] if args.key?(:confidence)
7364
+ @display_name = args[:display_name] if args.key?(:display_name)
7299
7365
  @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
7300
7366
  @parameters = args[:parameters] if args.key?(:parameters)
7301
7367
  end
@@ -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.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
@@ -2048,6 +2048,7 @@ module Google
2048
2048
  property :enable_spell_correction, as: 'enableSpellCorrection'
2049
2049
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
2050
2050
  property :name, as: 'name'
2051
+ property :security_settings, as: 'securitySettings'
2051
2052
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
2052
2053
 
2053
2054
  property :start_flow, as: 'startFlow'
@@ -2220,6 +2221,7 @@ module Google
2220
2221
 
2221
2222
  property :kind, as: 'kind'
2222
2223
  property :name, as: 'name'
2224
+ property :redact, as: 'redact'
2223
2225
  end
2224
2226
  end
2225
2227
 
@@ -2330,6 +2332,8 @@ module Google
2330
2332
  class Representation < Google::Apis::Core::JsonRepresentation
2331
2333
  property :confidence_interval, as: 'confidenceInterval', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval::Representation
2332
2334
 
2335
+ property :count, as: 'count'
2336
+ property :count_type, as: 'countType'
2333
2337
  property :ratio, as: 'ratio'
2334
2338
  property :type, as: 'type'
2335
2339
  end
@@ -3408,6 +3412,8 @@ module Google
3408
3412
  class GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
3409
3413
  # @private
3410
3414
  class Representation < Google::Apis::Core::JsonRepresentation
3415
+ property :confidence, as: 'confidence'
3416
+ property :display_name, as: 'displayName'
3411
3417
  property :last_matched_intent, as: 'lastMatchedIntent'
3412
3418
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue::Representation
3413
3419
 
@@ -4060,6 +4066,8 @@ module Google
4060
4066
  class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
4061
4067
  # @private
4062
4068
  class Representation < Google::Apis::Core::JsonRepresentation
4069
+ property :confidence, as: 'confidence'
4070
+ property :display_name, as: 'displayName'
4063
4071
  property :last_matched_intent, as: 'lastMatchedIntent'
4064
4072
  hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
4065
4073
 
@@ -3081,9 +3081,8 @@ module Google
3081
3081
  # testCases/`.
3082
3082
  # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] google_cloud_dialogflow_cx_v3_test_case_object
3083
3083
  # @param [String] update_mask
3084
- # Required. The mask to specify which fields should be updated. Only a test case'
3085
- # s metadata and replayed_conversation_turns may be updated. The original
3086
- # test_case_conversation_turns may not be updated.
3084
+ # Required. The mask to specify which fields should be updated. The `
3085
+ # creationTime` and `lastTestResult` cannot be updated.
3087
3086
  # @param [String] fields
3088
3087
  # Selector specifying which fields to include in a partial response.
3089
3088
  # @param [String] quota_user
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.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_v3/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.2.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: []
@@ -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 V3