google-apis-dialogflow_v3 0.88.0 → 0.90.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: c569b3ae807599f55e54211085d3949793d221a2d4bb2b15ee8a6e588dbfaeb8
4
- data.tar.gz: 355b6344300ed1f9a7b6dcd7520352bc23f11d0aad2803effbdc8924d4d63f24
3
+ metadata.gz: c000cb596e2b261b4f44ab343424f2a9d1619876182ba0fe75a28938451f6ffb
4
+ data.tar.gz: 8228b6ddc01de5dd165a97f039f7954d7499da3b388d92ae0c795518447074de
5
5
  SHA512:
6
- metadata.gz: 4822103153bc92d6961e278a8dd5a5d847c783a4752623931e450e11279053f5ded3afbf7828c47f896d98f39146c27e010348b6a172a44db4e5f1ac9a31b538
7
- data.tar.gz: 8451724004329567b32be12aa947d20f1327180efc20a7a03c46ed79e8f44ac3d48a2b20b1c38477c1927e5809eec3011b77e382feb533792ee0f3671c7caf7a
6
+ metadata.gz: 015e4246466836ff6f114acbb49bf42b73994540a393e2c17fa93f286e1b0866f302bd86c92eae655329ed7b5556608f9096cf367dc6cec5512934cc8ee6b626
7
+ data.tar.gz: 275d0ce5cda6305404e6df7b1f2b97a51ba001e55dd27a7d9edcf08fe8b8125e3f8f2b0b7164abd57307d4109f3dcd4a558878a77fefdfa727a6ba1b756a849e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.90.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240721
6
+
7
+ ### v0.89.0 (2024-07-25)
8
+
9
+ * Regenerated from discovery document revision 20240704
10
+
3
11
  ### v0.88.0 (2024-06-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20240617
@@ -119,6 +119,14 @@ module Google
119
119
  class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
120
120
  include Google::Apis::Core::Hashable
121
121
 
122
+ # Enables consent-based end-user input redaction, if true, a pre-defined session
123
+ # parameter `$session.params.conversation-redaction` will be used to determine
124
+ # if the utterance should be redacted.
125
+ # Corresponds to the JSON property `enableConsentBasedRedaction`
126
+ # @return [Boolean]
127
+ attr_accessor :enable_consent_based_redaction
128
+ alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
129
+
122
130
  # Enables DF Interaction logging.
123
131
  # Corresponds to the JSON property `enableInteractionLogging`
124
132
  # @return [Boolean]
@@ -137,6 +145,7 @@ module Google
137
145
 
138
146
  # Update properties of this object
139
147
  def update!(**args)
148
+ @enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
140
149
  @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
141
150
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
142
151
  end
@@ -1326,6 +1335,12 @@ module Google
1326
1335
  class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
1327
1336
  include Google::Apis::Core::Hashable
1328
1337
 
1338
+ # Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
1339
+ # gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
1340
+ # Corresponds to the JSON property `model`
1341
+ # @return [String]
1342
+ attr_accessor :model
1343
+
1329
1344
  # Output of the generative model.
1330
1345
  # Corresponds to the JSON property `modelOutput`
1331
1346
  # @return [String]
@@ -1342,6 +1357,7 @@ module Google
1342
1357
 
1343
1358
  # Update properties of this object
1344
1359
  def update!(**args)
1360
+ @model = args[:model] if args.key?(:model)
1345
1361
  @model_output = args[:model_output] if args.key?(:model_output)
1346
1362
  @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
1347
1363
  end
@@ -1426,6 +1442,12 @@ module Google
1426
1442
  class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
1427
1443
  include Google::Apis::Core::Hashable
1428
1444
 
1445
+ # Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
1446
+ # gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
1447
+ # Corresponds to the JSON property `model`
1448
+ # @return [String]
1449
+ attr_accessor :model
1450
+
1429
1451
  # Output of the generative model.
1430
1452
  # Corresponds to the JSON property `modelOutput`
1431
1453
  # @return [String]
@@ -1442,6 +1464,7 @@ module Google
1442
1464
 
1443
1465
  # Update properties of this object
1444
1466
  def update!(**args)
1467
+ @model = args[:model] if args.key?(:model)
1445
1468
  @model_output = args[:model_output] if args.key?(:model_output)
1446
1469
  @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
1447
1470
  end
@@ -2112,6 +2135,12 @@ module Google
2112
2135
  # @return [String]
2113
2136
  attr_accessor :target_page
2114
2137
 
2138
+ # The target playbook to transition to. Format: `projects//locations//agents//
2139
+ # playbooks/`.
2140
+ # Corresponds to the JSON property `targetPlaybook`
2141
+ # @return [String]
2142
+ attr_accessor :target_playbook
2143
+
2115
2144
  # A fulfillment can do one or more of the following actions at the same time: *
2116
2145
  # Generate rich message responses. * Set parameter values. * Call the webhook.
2117
2146
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -2133,6 +2162,7 @@ module Google
2133
2162
  @name = args[:name] if args.key?(:name)
2134
2163
  @target_flow = args[:target_flow] if args.key?(:target_flow)
2135
2164
  @target_page = args[:target_page] if args.key?(:target_page)
2165
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
2136
2166
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
2137
2167
  end
2138
2168
  end
@@ -8912,6 +8942,14 @@ module Google
8912
8942
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
8913
8943
  include Google::Apis::Core::Hashable
8914
8944
 
8945
+ # Enables consent-based end-user input redaction, if true, a pre-defined session
8946
+ # parameter `$session.params.conversation-redaction` will be used to determine
8947
+ # if the utterance should be redacted.
8948
+ # Corresponds to the JSON property `enableConsentBasedRedaction`
8949
+ # @return [Boolean]
8950
+ attr_accessor :enable_consent_based_redaction
8951
+ alias_method :enable_consent_based_redaction?, :enable_consent_based_redaction
8952
+
8915
8953
  # Enables DF Interaction logging.
8916
8954
  # Corresponds to the JSON property `enableInteractionLogging`
8917
8955
  # @return [Boolean]
@@ -8930,6 +8968,7 @@ module Google
8930
8968
 
8931
8969
  # Update properties of this object
8932
8970
  def update!(**args)
8971
+ @enable_consent_based_redaction = args[:enable_consent_based_redaction] if args.key?(:enable_consent_based_redaction)
8933
8972
  @enable_interaction_logging = args[:enable_interaction_logging] if args.key?(:enable_interaction_logging)
8934
8973
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
8935
8974
  end
@@ -9629,6 +9668,12 @@ module Google
9629
9668
  # @return [String]
9630
9669
  attr_accessor :target_page
9631
9670
 
9671
+ # The target playbook to transition to. Format: `projects//locations//agents//
9672
+ # playbooks/`.
9673
+ # Corresponds to the JSON property `targetPlaybook`
9674
+ # @return [String]
9675
+ attr_accessor :target_playbook
9676
+
9632
9677
  # A fulfillment can do one or more of the following actions at the same time: *
9633
9678
  # Generate rich message responses. * Set parameter values. * Call the webhook.
9634
9679
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -9650,6 +9695,7 @@ module Google
9650
9695
  @name = args[:name] if args.key?(:name)
9651
9696
  @target_flow = args[:target_flow] if args.key?(:target_flow)
9652
9697
  @target_page = args[:target_page] if args.key?(:target_page)
9698
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
9653
9699
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
9654
9700
  end
9655
9701
  end
@@ -13272,6 +13318,37 @@ module Google
13272
13318
  end
13273
13319
  end
13274
13320
 
13321
+ # A customer-managed encryption key specification that can be applied to all
13322
+ # created resources (e.g. Conversation).
13323
+ class GoogleCloudDialogflowV2EncryptionSpec
13324
+ include Google::Apis::Core::Hashable
13325
+
13326
+ # Required. The name of customer-managed encryption key that is used to secure a
13327
+ # resource and its sub-resources. If empty, the resource is secured by the
13328
+ # default Google encryption key. Only the key in the same location as this
13329
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
13330
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
13331
+ # Corresponds to the JSON property `kmsKey`
13332
+ # @return [String]
13333
+ attr_accessor :kms_key
13334
+
13335
+ # Immutable. The resource name of the encryption key specification resource.
13336
+ # Format: projects/`project`/locations/`location`/encryptionSpec
13337
+ # Corresponds to the JSON property `name`
13338
+ # @return [String]
13339
+ attr_accessor :name
13340
+
13341
+ def initialize(**args)
13342
+ update!(**args)
13343
+ end
13344
+
13345
+ # Update properties of this object
13346
+ def update!(**args)
13347
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
13348
+ @name = args[:name] if args.key?(:name)
13349
+ end
13350
+ end
13351
+
13275
13352
  # Each intent parameter has a type, called the entity type, which dictates
13276
13353
  # exactly how data from an end-user expression is extracted. Dialogflow provides
13277
13354
  # predefined system entities that can match many common types of data. For
@@ -13646,6 +13723,45 @@ module Google
13646
13723
  end
13647
13724
  end
13648
13725
 
13726
+ # Metadata for initializing a location-level encryption specification.
13727
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
13728
+ include Google::Apis::Core::Hashable
13729
+
13730
+ # The request to initialize a location-level encryption specification.
13731
+ # Corresponds to the JSON property `request`
13732
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
13733
+ attr_accessor :request
13734
+
13735
+ def initialize(**args)
13736
+ update!(**args)
13737
+ end
13738
+
13739
+ # Update properties of this object
13740
+ def update!(**args)
13741
+ @request = args[:request] if args.key?(:request)
13742
+ end
13743
+ end
13744
+
13745
+ # The request to initialize a location-level encryption specification.
13746
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
13747
+ include Google::Apis::Core::Hashable
13748
+
13749
+ # A customer-managed encryption key specification that can be applied to all
13750
+ # created resources (e.g. Conversation).
13751
+ # Corresponds to the JSON property `encryptionSpec`
13752
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec]
13753
+ attr_accessor :encryption_spec
13754
+
13755
+ def initialize(**args)
13756
+ update!(**args)
13757
+ end
13758
+
13759
+ # Update properties of this object
13760
+ def update!(**args)
13761
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
13762
+ end
13763
+ end
13764
+
13649
13765
  # InputDataset used to create model or do evaluation. NextID:5
13650
13766
  class GoogleCloudDialogflowV2InputDataset
13651
13767
  include Google::Apis::Core::Hashable
@@ -16242,6 +16358,37 @@ module Google
16242
16358
  end
16243
16359
  end
16244
16360
 
16361
+ # A customer-managed encryption key specification that can be applied to all
16362
+ # created resources (e.g. Conversation).
16363
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
16364
+ include Google::Apis::Core::Hashable
16365
+
16366
+ # Required. The name of customer-managed encryption key that is used to secure a
16367
+ # resource and its sub-resources. If empty, the resource is secured by the
16368
+ # default Google encryption key. Only the key in the same location as this
16369
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
16370
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
16371
+ # Corresponds to the JSON property `kmsKey`
16372
+ # @return [String]
16373
+ attr_accessor :kms_key
16374
+
16375
+ # Immutable. The resource name of the encryption key specification resource.
16376
+ # Format: projects/`project`/locations/`location`/encryptionSpec
16377
+ # Corresponds to the JSON property `name`
16378
+ # @return [String]
16379
+ attr_accessor :name
16380
+
16381
+ def initialize(**args)
16382
+ update!(**args)
16383
+ end
16384
+
16385
+ # Update properties of this object
16386
+ def update!(**args)
16387
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
16388
+ @name = args[:name] if args.key?(:name)
16389
+ end
16390
+ end
16391
+
16245
16392
  # Each intent parameter has a type, called the entity type, which dictates
16246
16393
  # exactly how data from an end-user expression is extracted. Dialogflow provides
16247
16394
  # predefined system entities that can match many common types of data. For
@@ -16560,6 +16707,45 @@ module Google
16560
16707
  end
16561
16708
  end
16562
16709
 
16710
+ # Metadata for initializing a location-level encryption specification.
16711
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
16712
+ include Google::Apis::Core::Hashable
16713
+
16714
+ # The request to initialize a location-level encryption specification.
16715
+ # Corresponds to the JSON property `request`
16716
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
16717
+ attr_accessor :request
16718
+
16719
+ def initialize(**args)
16720
+ update!(**args)
16721
+ end
16722
+
16723
+ # Update properties of this object
16724
+ def update!(**args)
16725
+ @request = args[:request] if args.key?(:request)
16726
+ end
16727
+ end
16728
+
16729
+ # The request to initialize a location-level encryption specification.
16730
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
16731
+ include Google::Apis::Core::Hashable
16732
+
16733
+ # A customer-managed encryption key specification that can be applied to all
16734
+ # created resources (e.g. Conversation).
16735
+ # Corresponds to the JSON property `encryptionSpec`
16736
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec]
16737
+ attr_accessor :encryption_spec
16738
+
16739
+ def initialize(**args)
16740
+ update!(**args)
16741
+ end
16742
+
16743
+ # Update properties of this object
16744
+ def update!(**args)
16745
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
16746
+ end
16747
+ end
16748
+
16563
16749
  # An intent categorizes an end-user's intention for one conversation turn. For
16564
16750
  # each agent, you define many intents, where your combined intents can handle a
16565
16751
  # complete conversation. When an end-user writes or says something, referred to
@@ -18616,6 +18802,11 @@ module Google
18616
18802
  # @return [String]
18617
18803
  attr_accessor :participant_role
18618
18804
 
18805
+ # Optional. Automated agent responses.
18806
+ # Corresponds to the JSON property `responseMessages`
18807
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage>]
18808
+ attr_accessor :response_messages
18809
+
18619
18810
  # Optional. The time when the message was sent.
18620
18811
  # Corresponds to the JSON property `sendTime`
18621
18812
  # @return [String]
@@ -18646,6 +18837,7 @@ module Google
18646
18837
  @name = args[:name] if args.key?(:name)
18647
18838
  @participant = args[:participant] if args.key?(:participant)
18648
18839
  @participant_role = args[:participant_role] if args.key?(:participant_role)
18840
+ @response_messages = args[:response_messages] if args.key?(:response_messages)
18649
18841
  @send_time = args[:send_time] if args.key?(:send_time)
18650
18842
  @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
18651
18843
  end
@@ -18889,6 +19081,203 @@ module Google
18889
19081
  end
18890
19082
  end
18891
19083
 
19084
+ # Response messages from an automated agent.
19085
+ class GoogleCloudDialogflowV2beta1ResponseMessage
19086
+ include Google::Apis::Core::Hashable
19087
+
19088
+ # Indicates that interaction with the Dialogflow agent has ended.
19089
+ # Corresponds to the JSON property `endInteraction`
19090
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction]
19091
+ attr_accessor :end_interaction
19092
+
19093
+ # Indicates that the conversation should be handed off to a human agent.
19094
+ # Dialogflow only uses this to determine which conversations were handed off to
19095
+ # a human agent for measurement purposes. What else to do with this signal is up
19096
+ # to you and your handoff procedures. You may set this, for example: * In the
19097
+ # entry fulfillment of a CX Page if entering the page indicates something went
19098
+ # extremely wrong in the conversation. * In a webhook response when you
19099
+ # determine that the customer issue can only be handled by a human.
19100
+ # Corresponds to the JSON property `liveAgentHandoff`
19101
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
19102
+ attr_accessor :live_agent_handoff
19103
+
19104
+ # Represents an audio message that is composed of both segments synthesized from
19105
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
19106
+ # Corresponds to the JSON property `mixedAudio`
19107
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
19108
+ attr_accessor :mixed_audio
19109
+
19110
+ # Returns a response containing a custom, platform-specific payload.
19111
+ # Corresponds to the JSON property `payload`
19112
+ # @return [Hash<String,Object>]
19113
+ attr_accessor :payload
19114
+
19115
+ # Represents the signal that telles the client to transfer the phone call
19116
+ # connected to the agent to a third-party endpoint.
19117
+ # Corresponds to the JSON property `telephonyTransferCall`
19118
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
19119
+ attr_accessor :telephony_transfer_call
19120
+
19121
+ # The text response message.
19122
+ # Corresponds to the JSON property `text`
19123
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText]
19124
+ attr_accessor :text
19125
+
19126
+ def initialize(**args)
19127
+ update!(**args)
19128
+ end
19129
+
19130
+ # Update properties of this object
19131
+ def update!(**args)
19132
+ @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
19133
+ @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
19134
+ @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
19135
+ @payload = args[:payload] if args.key?(:payload)
19136
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
19137
+ @text = args[:text] if args.key?(:text)
19138
+ end
19139
+ end
19140
+
19141
+ # Indicates that interaction with the Dialogflow agent has ended.
19142
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
19143
+ include Google::Apis::Core::Hashable
19144
+
19145
+ def initialize(**args)
19146
+ update!(**args)
19147
+ end
19148
+
19149
+ # Update properties of this object
19150
+ def update!(**args)
19151
+ end
19152
+ end
19153
+
19154
+ # Indicates that the conversation should be handed off to a human agent.
19155
+ # Dialogflow only uses this to determine which conversations were handed off to
19156
+ # a human agent for measurement purposes. What else to do with this signal is up
19157
+ # to you and your handoff procedures. You may set this, for example: * In the
19158
+ # entry fulfillment of a CX Page if entering the page indicates something went
19159
+ # extremely wrong in the conversation. * In a webhook response when you
19160
+ # determine that the customer issue can only be handled by a human.
19161
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
19162
+ include Google::Apis::Core::Hashable
19163
+
19164
+ # Custom metadata for your handoff procedure. Dialogflow doesn't impose any
19165
+ # structure on this.
19166
+ # Corresponds to the JSON property `metadata`
19167
+ # @return [Hash<String,Object>]
19168
+ attr_accessor :metadata
19169
+
19170
+ def initialize(**args)
19171
+ update!(**args)
19172
+ end
19173
+
19174
+ # Update properties of this object
19175
+ def update!(**args)
19176
+ @metadata = args[:metadata] if args.key?(:metadata)
19177
+ end
19178
+ end
19179
+
19180
+ # Represents an audio message that is composed of both segments synthesized from
19181
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
19182
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
19183
+ include Google::Apis::Core::Hashable
19184
+
19185
+ # Segments this audio response is composed of.
19186
+ # Corresponds to the JSON property `segments`
19187
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
19188
+ attr_accessor :segments
19189
+
19190
+ def initialize(**args)
19191
+ update!(**args)
19192
+ end
19193
+
19194
+ # Update properties of this object
19195
+ def update!(**args)
19196
+ @segments = args[:segments] if args.key?(:segments)
19197
+ end
19198
+ end
19199
+
19200
+ # Represents one segment of audio.
19201
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
19202
+ include Google::Apis::Core::Hashable
19203
+
19204
+ # Whether the playback of this segment can be interrupted by the end user's
19205
+ # speech and the client should then start the next Dialogflow request.
19206
+ # Corresponds to the JSON property `allowPlaybackInterruption`
19207
+ # @return [Boolean]
19208
+ attr_accessor :allow_playback_interruption
19209
+ alias_method :allow_playback_interruption?, :allow_playback_interruption
19210
+
19211
+ # Raw audio synthesized from the Dialogflow agent's response using the output
19212
+ # config specified in the request.
19213
+ # Corresponds to the JSON property `audio`
19214
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19215
+ # @return [String]
19216
+ attr_accessor :audio
19217
+
19218
+ # Client-specific URI that points to an audio clip accessible to the client.
19219
+ # Corresponds to the JSON property `uri`
19220
+ # @return [String]
19221
+ attr_accessor :uri
19222
+
19223
+ def initialize(**args)
19224
+ update!(**args)
19225
+ end
19226
+
19227
+ # Update properties of this object
19228
+ def update!(**args)
19229
+ @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
19230
+ @audio = args[:audio] if args.key?(:audio)
19231
+ @uri = args[:uri] if args.key?(:uri)
19232
+ end
19233
+ end
19234
+
19235
+ # Represents the signal that telles the client to transfer the phone call
19236
+ # connected to the agent to a third-party endpoint.
19237
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
19238
+ include Google::Apis::Core::Hashable
19239
+
19240
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
19241
+ # wiki/E.164).
19242
+ # Corresponds to the JSON property `phoneNumber`
19243
+ # @return [String]
19244
+ attr_accessor :phone_number
19245
+
19246
+ # Transfer the call to a SIP endpoint.
19247
+ # Corresponds to the JSON property `sipUri`
19248
+ # @return [String]
19249
+ attr_accessor :sip_uri
19250
+
19251
+ def initialize(**args)
19252
+ update!(**args)
19253
+ end
19254
+
19255
+ # Update properties of this object
19256
+ def update!(**args)
19257
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
19258
+ @sip_uri = args[:sip_uri] if args.key?(:sip_uri)
19259
+ end
19260
+ end
19261
+
19262
+ # The text response message.
19263
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
19264
+ include Google::Apis::Core::Hashable
19265
+
19266
+ # A collection of text responses.
19267
+ # Corresponds to the JSON property `text`
19268
+ # @return [Array<String>]
19269
+ attr_accessor :text
19270
+
19271
+ def initialize(**args)
19272
+ update!(**args)
19273
+ end
19274
+
19275
+ # Update properties of this object
19276
+ def update!(**args)
19277
+ @text = args[:text] if args.key?(:text)
19278
+ end
19279
+ end
19280
+
18892
19281
  # The sentiment, such as positive/negative feeling or association, for a unit of
18893
19282
  # analysis, such as the query text. See: https://cloud.google.com/natural-
18894
19283
  # language/docs/basics#interpreting_sentiment_analysis_values for how to
@@ -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.88.0"
19
+ GEM_VERSION = "0.90.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240617"
25
+ REVISION = "20240721"
26
26
  end
27
27
  end
28
28
  end
@@ -2206,6 +2206,12 @@ module Google
2206
2206
  include Google::Apis::Core::JsonObjectSupport
2207
2207
  end
2208
2208
 
2209
+ class GoogleCloudDialogflowV2EncryptionSpec
2210
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2211
+
2212
+ include Google::Apis::Core::JsonObjectSupport
2213
+ end
2214
+
2209
2215
  class GoogleCloudDialogflowV2EntityType
2210
2216
  class Representation < Google::Apis::Core::JsonRepresentation; end
2211
2217
 
@@ -2272,6 +2278,18 @@ module Google
2272
2278
  include Google::Apis::Core::JsonObjectSupport
2273
2279
  end
2274
2280
 
2281
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
2282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2283
+
2284
+ include Google::Apis::Core::JsonObjectSupport
2285
+ end
2286
+
2287
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
2288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2289
+
2290
+ include Google::Apis::Core::JsonObjectSupport
2291
+ end
2292
+
2275
2293
  class GoogleCloudDialogflowV2InputDataset
2276
2294
  class Representation < Google::Apis::Core::JsonRepresentation; end
2277
2295
 
@@ -2674,6 +2692,12 @@ module Google
2674
2692
  include Google::Apis::Core::JsonObjectSupport
2675
2693
  end
2676
2694
 
2695
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
2696
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2697
+
2698
+ include Google::Apis::Core::JsonObjectSupport
2699
+ end
2700
+
2677
2701
  class GoogleCloudDialogflowV2beta1EntityType
2678
2702
  class Representation < Google::Apis::Core::JsonRepresentation; end
2679
2703
 
@@ -2728,6 +2752,18 @@ module Google
2728
2752
  include Google::Apis::Core::JsonObjectSupport
2729
2753
  end
2730
2754
 
2755
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
2756
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2757
+
2758
+ include Google::Apis::Core::JsonObjectSupport
2759
+ end
2760
+
2761
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
2762
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2763
+
2764
+ include Google::Apis::Core::JsonObjectSupport
2765
+ end
2766
+
2731
2767
  class GoogleCloudDialogflowV2beta1Intent
2732
2768
  class Representation < Google::Apis::Core::JsonRepresentation; end
2733
2769
 
@@ -3094,6 +3130,48 @@ module Google
3094
3130
  include Google::Apis::Core::JsonObjectSupport
3095
3131
  end
3096
3132
 
3133
+ class GoogleCloudDialogflowV2beta1ResponseMessage
3134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3135
+
3136
+ include Google::Apis::Core::JsonObjectSupport
3137
+ end
3138
+
3139
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
3140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3141
+
3142
+ include Google::Apis::Core::JsonObjectSupport
3143
+ end
3144
+
3145
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
3146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3147
+
3148
+ include Google::Apis::Core::JsonObjectSupport
3149
+ end
3150
+
3151
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
3152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3153
+
3154
+ include Google::Apis::Core::JsonObjectSupport
3155
+ end
3156
+
3157
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
3158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3159
+
3160
+ include Google::Apis::Core::JsonObjectSupport
3161
+ end
3162
+
3163
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
3164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3165
+
3166
+ include Google::Apis::Core::JsonObjectSupport
3167
+ end
3168
+
3169
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
3170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3171
+
3172
+ include Google::Apis::Core::JsonObjectSupport
3173
+ end
3174
+
3097
3175
  class GoogleCloudDialogflowV2beta1Sentiment
3098
3176
  class Representation < Google::Apis::Core::JsonRepresentation; end
3099
3177
 
@@ -3296,6 +3374,7 @@ module Google
3296
3374
  class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
3297
3375
  # @private
3298
3376
  class Representation < Google::Apis::Core::JsonRepresentation
3377
+ property :enable_consent_based_redaction, as: 'enableConsentBasedRedaction'
3299
3378
  property :enable_interaction_logging, as: 'enableInteractionLogging'
3300
3379
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
3301
3380
  end
@@ -3633,6 +3712,7 @@ module Google
3633
3712
  class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
3634
3713
  # @private
3635
3714
  class Representation < Google::Apis::Core::JsonRepresentation
3715
+ property :model, as: 'model'
3636
3716
  property :model_output, as: 'modelOutput'
3637
3717
  property :rendered_prompt, as: 'renderedPrompt'
3638
3718
  end
@@ -3666,6 +3746,7 @@ module Google
3666
3746
  class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
3667
3747
  # @private
3668
3748
  class Representation < Google::Apis::Core::JsonRepresentation
3749
+ property :model, as: 'model'
3669
3750
  property :model_output, as: 'modelOutput'
3670
3751
  property :rendered_prompt, as: 'renderedPrompt'
3671
3752
  end
@@ -3854,6 +3935,7 @@ module Google
3854
3935
  property :name, as: 'name'
3855
3936
  property :target_flow, as: 'targetFlow'
3856
3937
  property :target_page, as: 'targetPage'
3938
+ property :target_playbook, as: 'targetPlaybook'
3857
3939
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment::Representation
3858
3940
 
3859
3941
  end
@@ -5691,6 +5773,7 @@ module Google
5691
5773
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
5692
5774
  # @private
5693
5775
  class Representation < Google::Apis::Core::JsonRepresentation
5776
+ property :enable_consent_based_redaction, as: 'enableConsentBasedRedaction'
5694
5777
  property :enable_interaction_logging, as: 'enableInteractionLogging'
5695
5778
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
5696
5779
  end
@@ -5899,6 +5982,7 @@ module Google
5899
5982
  property :name, as: 'name'
5900
5983
  property :target_flow, as: 'targetFlow'
5901
5984
  property :target_page, as: 'targetPage'
5985
+ property :target_playbook, as: 'targetPlaybook'
5902
5986
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
5903
5987
 
5904
5988
  end
@@ -6887,6 +6971,14 @@ module Google
6887
6971
  end
6888
6972
  end
6889
6973
 
6974
+ class GoogleCloudDialogflowV2EncryptionSpec
6975
+ # @private
6976
+ class Representation < Google::Apis::Core::JsonRepresentation
6977
+ property :kms_key, as: 'kmsKey'
6978
+ property :name, as: 'name'
6979
+ end
6980
+ end
6981
+
6890
6982
  class GoogleCloudDialogflowV2EntityType
6891
6983
  # @private
6892
6984
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6988,6 +7080,22 @@ module Google
6988
7080
  end
6989
7081
  end
6990
7082
 
7083
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
7084
+ # @private
7085
+ class Representation < Google::Apis::Core::JsonRepresentation
7086
+ property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
7087
+
7088
+ end
7089
+ end
7090
+
7091
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
7092
+ # @private
7093
+ class Representation < Google::Apis::Core::JsonRepresentation
7094
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec::Representation
7095
+
7096
+ end
7097
+ end
7098
+
6991
7099
  class GoogleCloudDialogflowV2InputDataset
6992
7100
  # @private
6993
7101
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7703,6 +7811,14 @@ module Google
7703
7811
  end
7704
7812
  end
7705
7813
 
7814
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
7815
+ # @private
7816
+ class Representation < Google::Apis::Core::JsonRepresentation
7817
+ property :kms_key, as: 'kmsKey'
7818
+ property :name, as: 'name'
7819
+ end
7820
+ end
7821
+
7706
7822
  class GoogleCloudDialogflowV2beta1EntityType
7707
7823
  # @private
7708
7824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7786,6 +7902,22 @@ module Google
7786
7902
  end
7787
7903
  end
7788
7904
 
7905
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
7906
+ # @private
7907
+ class Representation < Google::Apis::Core::JsonRepresentation
7908
+ property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
7909
+
7910
+ end
7911
+ end
7912
+
7913
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
7914
+ # @private
7915
+ class Representation < Google::Apis::Core::JsonRepresentation
7916
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
7917
+
7918
+ end
7919
+ end
7920
+
7789
7921
  class GoogleCloudDialogflowV2beta1Intent
7790
7922
  # @private
7791
7923
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8385,6 +8517,8 @@ module Google
8385
8517
  property :name, as: 'name'
8386
8518
  property :participant, as: 'participant'
8387
8519
  property :participant_role, as: 'participantRole'
8520
+ collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
8521
+
8388
8522
  property :send_time, as: 'sendTime'
8389
8523
  property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
8390
8524
 
@@ -8437,6 +8571,68 @@ module Google
8437
8571
  end
8438
8572
  end
8439
8573
 
8574
+ class GoogleCloudDialogflowV2beta1ResponseMessage
8575
+ # @private
8576
+ class Representation < Google::Apis::Core::JsonRepresentation
8577
+ property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction::Representation
8578
+
8579
+ property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
8580
+
8581
+ property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::Representation
8582
+
8583
+ hash :payload, as: 'payload'
8584
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
8585
+
8586
+ property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText::Representation
8587
+
8588
+ end
8589
+ end
8590
+
8591
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
8592
+ # @private
8593
+ class Representation < Google::Apis::Core::JsonRepresentation
8594
+ end
8595
+ end
8596
+
8597
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
8598
+ # @private
8599
+ class Representation < Google::Apis::Core::JsonRepresentation
8600
+ hash :metadata, as: 'metadata'
8601
+ end
8602
+ end
8603
+
8604
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
8605
+ # @private
8606
+ class Representation < Google::Apis::Core::JsonRepresentation
8607
+ collection :segments, as: 'segments', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment::Representation
8608
+
8609
+ end
8610
+ end
8611
+
8612
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
8613
+ # @private
8614
+ class Representation < Google::Apis::Core::JsonRepresentation
8615
+ property :allow_playback_interruption, as: 'allowPlaybackInterruption'
8616
+ property :audio, :base64 => true, as: 'audio'
8617
+ property :uri, as: 'uri'
8618
+ end
8619
+ end
8620
+
8621
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
8622
+ # @private
8623
+ class Representation < Google::Apis::Core::JsonRepresentation
8624
+ property :phone_number, as: 'phoneNumber'
8625
+ property :sip_uri, as: 'sipUri'
8626
+ end
8627
+ end
8628
+
8629
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
8630
+ # @private
8631
+ class Representation < Google::Apis::Core::JsonRepresentation
8632
+ collection :text, as: 'text'
8633
+ end
8634
+ end
8635
+
8440
8636
  class GoogleCloudDialogflowV2beta1Sentiment
8441
8637
  # @private
8442
8638
  class Representation < Google::Apis::Core::JsonRepresentation
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.88.0
4
+ version: 0.90.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: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.88.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.90.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []