google-apis-dialogflow_v2 0.9.0 → 0.10.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: 3a7e5b6301965f2e5179e4520d119694d511f66b7d312d38ea3fdd4d69deb5e7
4
- data.tar.gz: cc5e63bf7d7a8a5e10fc7f984501590c0ffa14f6cb977c451e029ae76780144e
3
+ metadata.gz: 91b09d28be6fb5698da2d1d82660fa1fdf720d7265b24800b9c41bae97569bd5
4
+ data.tar.gz: a32351e95163a5330c8e01b655bc69fa94b46baa5f2a546c492b59f21ed81754
5
5
  SHA512:
6
- metadata.gz: '0906ef6f59bb121d4c5a2f82a618452f62ac4fcee6b346a26c5e23b4d768e5a73972d61833eb1fe6cab1a70667a3b6815829f4a1146b9fb0f5a474f911f3801d'
7
- data.tar.gz: 3f8f643204693ef7bcbdedf21ccf11e596118b06eebe4452272803fd44f09536b6d933982d835a38d8c7092f87dd1c0ea6b17a7bd02314d86880b2a0e33d5495
6
+ metadata.gz: e9131e3bb084644c14210781450193f6fcf7e340f35939573f3d3099792cc868d8c372077188ef8dd9c6f13a15f024b50655318d4c87822069eb04fd4450578b
7
+ data.tar.gz: fc2c08b4921e57fcc735f0ac968aa1aae2256b83f91368069585b174a418cbeb52b72e2b9026e3f092c834a3e3c843e69d8583ad119a1c7c386ed785261ff149
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.10.0 (2021-04-01)
4
+
5
+ * Regenerated from discovery document revision 20210329
6
+
3
7
  ### v0.9.0 (2021-03-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20210320
@@ -2175,6 +2175,30 @@ module Google
2175
2175
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo]
2176
2176
  attr_accessor :session_info
2177
2177
 
2178
+ # If natural language text was provided as input, this field will contain a copy
2179
+ # of the text.
2180
+ # Corresponds to the JSON property `text`
2181
+ # @return [String]
2182
+ attr_accessor :text
2183
+
2184
+ # If natural language speech audio was provided as input, this field will
2185
+ # contain the transcript for the audio.
2186
+ # Corresponds to the JSON property `transcript`
2187
+ # @return [String]
2188
+ attr_accessor :transcript
2189
+
2190
+ # If an event was provided as input, this field will contain the name of the
2191
+ # event.
2192
+ # Corresponds to the JSON property `triggerEvent`
2193
+ # @return [String]
2194
+ attr_accessor :trigger_event
2195
+
2196
+ # If an intent was provided as input, this field will contain a copy of the
2197
+ # intent identifier. Format: `projects//locations//agents//intents/`.
2198
+ # Corresponds to the JSON property `triggerIntent`
2199
+ # @return [String]
2200
+ attr_accessor :trigger_intent
2201
+
2178
2202
  def initialize(**args)
2179
2203
  update!(**args)
2180
2204
  end
@@ -2189,6 +2213,10 @@ module Google
2189
2213
  @payload = args[:payload] if args.key?(:payload)
2190
2214
  @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
2191
2215
  @session_info = args[:session_info] if args.key?(:session_info)
2216
+ @text = args[:text] if args.key?(:text)
2217
+ @transcript = args[:transcript] if args.key?(:transcript)
2218
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
2219
+ @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
2192
2220
  end
2193
2221
  end
2194
2222
 
@@ -4534,6 +4562,30 @@ module Google
4534
4562
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo]
4535
4563
  attr_accessor :session_info
4536
4564
 
4565
+ # If natural language text was provided as input, this field will contain a copy
4566
+ # of the text.
4567
+ # Corresponds to the JSON property `text`
4568
+ # @return [String]
4569
+ attr_accessor :text
4570
+
4571
+ # If natural language speech audio was provided as input, this field will
4572
+ # contain the transcript for the audio.
4573
+ # Corresponds to the JSON property `transcript`
4574
+ # @return [String]
4575
+ attr_accessor :transcript
4576
+
4577
+ # If an event was provided as input, this field will contain the name of the
4578
+ # event.
4579
+ # Corresponds to the JSON property `triggerEvent`
4580
+ # @return [String]
4581
+ attr_accessor :trigger_event
4582
+
4583
+ # If an intent was provided as input, this field will contain a copy of the
4584
+ # intent identifier. Format: `projects//locations//agents//intents/`.
4585
+ # Corresponds to the JSON property `triggerIntent`
4586
+ # @return [String]
4587
+ attr_accessor :trigger_intent
4588
+
4537
4589
  def initialize(**args)
4538
4590
  update!(**args)
4539
4591
  end
@@ -4548,6 +4600,10 @@ module Google
4548
4600
  @payload = args[:payload] if args.key?(:payload)
4549
4601
  @sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
4550
4602
  @session_info = args[:session_info] if args.key?(:session_info)
4603
+ @text = args[:text] if args.key?(:text)
4604
+ @transcript = args[:transcript] if args.key?(:transcript)
4605
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
4606
+ @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
4551
4607
  end
4552
4608
  end
4553
4609
 
@@ -5747,6 +5803,13 @@ module Google
5747
5803
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfig]
5748
5804
  attr_accessor :human_agent_assistant_config
5749
5805
 
5806
+ # Defines the hand off to a live agent, typically on which external agent
5807
+ # service provider to connect to a conversation. Currently, this feature is not
5808
+ # general available, please contact Google to get access.
5809
+ # Corresponds to the JSON property `humanAgentHandoffConfig`
5810
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig]
5811
+ attr_accessor :human_agent_handoff_config
5812
+
5750
5813
  # Language which represents the conversationProfile. If unspecified, the default
5751
5814
  # language code en-us applies. Users need to create a ConversationProfile for
5752
5815
  # each language they want to support.
@@ -5795,6 +5858,7 @@ module Google
5795
5858
  @create_time = args[:create_time] if args.key?(:create_time)
5796
5859
  @display_name = args[:display_name] if args.key?(:display_name)
5797
5860
  @human_agent_assistant_config = args[:human_agent_assistant_config] if args.key?(:human_agent_assistant_config)
5861
+ @human_agent_handoff_config = args[:human_agent_handoff_config] if args.key?(:human_agent_handoff_config)
5798
5862
  @language_code = args[:language_code] if args.key?(:language_code)
5799
5863
  @logging_config = args[:logging_config] if args.key?(:logging_config)
5800
5864
  @name = args[:name] if args.key?(:name)
@@ -6507,6 +6571,11 @@ module Google
6507
6571
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
6508
6572
  include Google::Apis::Core::Hashable
6509
6573
 
6574
+ # Detail human agent assistant config.
6575
+ # Corresponds to the JSON property `endUserSuggestionConfig`
6576
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]
6577
+ attr_accessor :end_user_suggestion_config
6578
+
6510
6579
  # Detail human agent assistant config.
6511
6580
  # Corresponds to the JSON property `humanAgentSuggestionConfig`
6512
6581
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]
@@ -6528,6 +6597,7 @@ module Google
6528
6597
 
6529
6598
  # Update properties of this object
6530
6599
  def update!(**args)
6600
+ @end_user_suggestion_config = args[:end_user_suggestion_config] if args.key?(:end_user_suggestion_config)
6531
6601
  @human_agent_suggestion_config = args[:human_agent_suggestion_config] if args.key?(:human_agent_suggestion_config)
6532
6602
  @message_analysis_config = args[:message_analysis_config] if args.key?(:message_analysis_config)
6533
6603
  @notification_config = args[:notification_config] if args.key?(:notification_config)
@@ -6559,6 +6629,15 @@ module Google
6559
6629
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
6560
6630
  include Google::Apis::Core::Hashable
6561
6631
 
6632
+ # Enable entity extraction in conversation messages on [agent assist stage](
6633
+ # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
6634
+ # If unspecified, defaults to false. Currently, this feature is not general
6635
+ # available, please contact Google to get access.
6636
+ # Corresponds to the JSON property `enableEntityExtraction`
6637
+ # @return [Boolean]
6638
+ attr_accessor :enable_entity_extraction
6639
+ alias_method :enable_entity_extraction?, :enable_entity_extraction
6640
+
6562
6641
  # Enable sentiment analysis in conversation messages on [agent assist stage](
6563
6642
  # https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
6564
6643
  # If unspecified, defaults to false. Sentiment analysis inspects user input and
@@ -6583,6 +6662,7 @@ module Google
6583
6662
 
6584
6663
  # Update properties of this object
6585
6664
  def update!(**args)
6665
+ @enable_entity_extraction = args[:enable_entity_extraction] if args.key?(:enable_entity_extraction)
6586
6666
  @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
6587
6667
  end
6588
6668
  end
@@ -6887,6 +6967,93 @@ module Google
6887
6967
  end
6888
6968
  end
6889
6969
 
6970
+ # Defines the hand off to a live agent, typically on which external agent
6971
+ # service provider to connect to a conversation. Currently, this feature is not
6972
+ # general available, please contact Google to get access.
6973
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfig
6974
+ include Google::Apis::Core::Hashable
6975
+
6976
+ # Configuration specific to LivePerson (https://www.liveperson.com).
6977
+ # Corresponds to the JSON property `livePersonConfig`
6978
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig]
6979
+ attr_accessor :live_person_config
6980
+
6981
+ # Configuration specific to Salesforce Live Agent.
6982
+ # Corresponds to the JSON property `salesforceLiveAgentConfig`
6983
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig]
6984
+ attr_accessor :salesforce_live_agent_config
6985
+
6986
+ def initialize(**args)
6987
+ update!(**args)
6988
+ end
6989
+
6990
+ # Update properties of this object
6991
+ def update!(**args)
6992
+ @live_person_config = args[:live_person_config] if args.key?(:live_person_config)
6993
+ @salesforce_live_agent_config = args[:salesforce_live_agent_config] if args.key?(:salesforce_live_agent_config)
6994
+ end
6995
+ end
6996
+
6997
+ # Configuration specific to LivePerson (https://www.liveperson.com).
6998
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig
6999
+ include Google::Apis::Core::Hashable
7000
+
7001
+ # Required. Account number of the LivePerson account to connect. This is the
7002
+ # account number you input at the login page.
7003
+ # Corresponds to the JSON property `accountNumber`
7004
+ # @return [String]
7005
+ attr_accessor :account_number
7006
+
7007
+ def initialize(**args)
7008
+ update!(**args)
7009
+ end
7010
+
7011
+ # Update properties of this object
7012
+ def update!(**args)
7013
+ @account_number = args[:account_number] if args.key?(:account_number)
7014
+ end
7015
+ end
7016
+
7017
+ # Configuration specific to Salesforce Live Agent.
7018
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig
7019
+ include Google::Apis::Core::Hashable
7020
+
7021
+ # Required. Live Agent chat button ID.
7022
+ # Corresponds to the JSON property `buttonId`
7023
+ # @return [String]
7024
+ attr_accessor :button_id
7025
+
7026
+ # Required. Live Agent deployment ID.
7027
+ # Corresponds to the JSON property `deploymentId`
7028
+ # @return [String]
7029
+ attr_accessor :deployment_id
7030
+
7031
+ # Required. Domain of the Live Agent endpoint for this agent. You can find the
7032
+ # endpoint URL in the `Live Agent settings` page. For example if URL has the
7033
+ # form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.
7034
+ # la4-c2-phx.salesforceliveagent.com.
7035
+ # Corresponds to the JSON property `endpointDomain`
7036
+ # @return [String]
7037
+ attr_accessor :endpoint_domain
7038
+
7039
+ # Required. The organization ID of the Salesforce account.
7040
+ # Corresponds to the JSON property `organizationId`
7041
+ # @return [String]
7042
+ attr_accessor :organization_id
7043
+
7044
+ def initialize(**args)
7045
+ update!(**args)
7046
+ end
7047
+
7048
+ # Update properties of this object
7049
+ def update!(**args)
7050
+ @button_id = args[:button_id] if args.key?(:button_id)
7051
+ @deployment_id = args[:deployment_id] if args.key?(:deployment_id)
7052
+ @endpoint_domain = args[:endpoint_domain] if args.key?(:endpoint_domain)
7053
+ @organization_id = args[:organization_id] if args.key?(:organization_id)
7054
+ end
7055
+ end
7056
+
6890
7057
  # The request message for Agents.ImportAgent.
6891
7058
  class GoogleCloudDialogflowV2ImportAgentRequest
6892
7059
  include Google::Apis::Core::Hashable
@@ -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.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210320"
25
+ REVISION = "20210329"
26
26
  end
27
27
  end
28
28
  end
@@ -1162,6 +1162,24 @@ module Google
1162
1162
  include Google::Apis::Core::JsonObjectSupport
1163
1163
  end
1164
1164
 
1165
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfig
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ include Google::Apis::Core::JsonObjectSupport
1169
+ end
1170
+
1171
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1177
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig
1178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1179
+
1180
+ include Google::Apis::Core::JsonObjectSupport
1181
+ end
1182
+
1165
1183
  class GoogleCloudDialogflowV2ImportAgentRequest
1166
1184
  class Representation < Google::Apis::Core::JsonRepresentation; end
1167
1185
 
@@ -2803,6 +2821,10 @@ module Google
2803
2821
 
2804
2822
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3SessionInfo::Representation
2805
2823
 
2824
+ property :text, as: 'text'
2825
+ property :transcript, as: 'transcript'
2826
+ property :trigger_event, as: 'triggerEvent'
2827
+ property :trigger_intent, as: 'triggerIntent'
2806
2828
  end
2807
2829
  end
2808
2830
 
@@ -3467,6 +3489,10 @@ module Google
3467
3489
 
3468
3490
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
3469
3491
 
3492
+ property :text, as: 'text'
3493
+ property :transcript, as: 'transcript'
3494
+ property :trigger_event, as: 'triggerEvent'
3495
+ property :trigger_intent, as: 'triggerIntent'
3470
3496
  end
3471
3497
  end
3472
3498
 
@@ -3797,6 +3823,8 @@ module Google
3797
3823
  property :display_name, as: 'displayName'
3798
3824
  property :human_agent_assistant_config, as: 'humanAgentAssistantConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfig::Representation
3799
3825
 
3826
+ property :human_agent_handoff_config, as: 'humanAgentHandoffConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig::Representation
3827
+
3800
3828
  property :language_code, as: 'languageCode'
3801
3829
  property :logging_config, as: 'loggingConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig::Representation
3802
3830
 
@@ -3981,6 +4009,8 @@ module Google
3981
4009
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
3982
4010
  # @private
3983
4011
  class Representation < Google::Apis::Core::JsonRepresentation
4012
+ property :end_user_suggestion_config, as: 'endUserSuggestionConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig::Representation
4013
+
3984
4014
  property :human_agent_suggestion_config, as: 'humanAgentSuggestionConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig::Representation
3985
4015
 
3986
4016
  property :message_analysis_config, as: 'messageAnalysisConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig::Representation
@@ -4000,6 +4030,7 @@ module Google
4000
4030
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
4001
4031
  # @private
4002
4032
  class Representation < Google::Apis::Core::JsonRepresentation
4033
+ property :enable_entity_extraction, as: 'enableEntityExtraction'
4003
4034
  property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
4004
4035
  end
4005
4036
  end
@@ -4092,6 +4123,33 @@ module Google
4092
4123
  end
4093
4124
  end
4094
4125
 
4126
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfig
4127
+ # @private
4128
+ class Representation < Google::Apis::Core::JsonRepresentation
4129
+ property :live_person_config, as: 'livePersonConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig::Representation
4130
+
4131
+ property :salesforce_live_agent_config, as: 'salesforceLiveAgentConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig::Representation
4132
+
4133
+ end
4134
+ end
4135
+
4136
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig
4137
+ # @private
4138
+ class Representation < Google::Apis::Core::JsonRepresentation
4139
+ property :account_number, as: 'accountNumber'
4140
+ end
4141
+ end
4142
+
4143
+ class GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig
4144
+ # @private
4145
+ class Representation < Google::Apis::Core::JsonRepresentation
4146
+ property :button_id, as: 'buttonId'
4147
+ property :deployment_id, as: 'deploymentId'
4148
+ property :endpoint_domain, as: 'endpointDomain'
4149
+ property :organization_id, as: 'organizationId'
4150
+ end
4151
+ end
4152
+
4095
4153
  class GoogleCloudDialogflowV2ImportAgentRequest
4096
4154
  # @private
4097
4155
  class Representation < Google::Apis::Core::JsonRepresentation
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.9.0
4
+ version: 0.10.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-03-29 00:00:00.000000000 Z
11
+ date: 2021-04-05 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.9.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.10.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: []