google-apis-dialogflow_v3 0.88.0 → 0.89.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e5f8e08829d5a13985dbe5e2b13710dbf94388241b78a6e8d547a616e7eb68
|
4
|
+
data.tar.gz: 6fdbed63fb7ed65804be46608e78d9bdf65f3ff3324e1d1ab07dde0dc37d8be3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41a8e98e5725a11ca89aeb1a1fe329d6ff883bf11382f1a43412c78ff959d3f35a51f6b7ae570c304bfe7ea6265786f623febddf193ebc010896526734f14f05
|
7
|
+
data.tar.gz: de533aa867910dc019f77b1a5c1dfeeed44e0d348b612d38453620d0542e8c5beed9c315e52f25e6c4520e94a0eca8384d2d4d0754ff4273bdd5fc51e5b6acc7
|
data/CHANGELOG.md
CHANGED
@@ -1326,6 +1326,12 @@ module Google
|
|
1326
1326
|
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
1327
1327
|
include Google::Apis::Core::Hashable
|
1328
1328
|
|
1329
|
+
# Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
|
1330
|
+
# gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
|
1331
|
+
# Corresponds to the JSON property `model`
|
1332
|
+
# @return [String]
|
1333
|
+
attr_accessor :model
|
1334
|
+
|
1329
1335
|
# Output of the generative model.
|
1330
1336
|
# Corresponds to the JSON property `modelOutput`
|
1331
1337
|
# @return [String]
|
@@ -1342,6 +1348,7 @@ module Google
|
|
1342
1348
|
|
1343
1349
|
# Update properties of this object
|
1344
1350
|
def update!(**args)
|
1351
|
+
@model = args[:model] if args.key?(:model)
|
1345
1352
|
@model_output = args[:model_output] if args.key?(:model_output)
|
1346
1353
|
@rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
|
1347
1354
|
end
|
@@ -1426,6 +1433,12 @@ module Google
|
|
1426
1433
|
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
|
1427
1434
|
include Google::Apis::Core::Hashable
|
1428
1435
|
|
1436
|
+
# Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
|
1437
|
+
# gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
|
1438
|
+
# Corresponds to the JSON property `model`
|
1439
|
+
# @return [String]
|
1440
|
+
attr_accessor :model
|
1441
|
+
|
1429
1442
|
# Output of the generative model.
|
1430
1443
|
# Corresponds to the JSON property `modelOutput`
|
1431
1444
|
# @return [String]
|
@@ -1442,6 +1455,7 @@ module Google
|
|
1442
1455
|
|
1443
1456
|
# Update properties of this object
|
1444
1457
|
def update!(**args)
|
1458
|
+
@model = args[:model] if args.key?(:model)
|
1445
1459
|
@model_output = args[:model_output] if args.key?(:model_output)
|
1446
1460
|
@rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
|
1447
1461
|
end
|
@@ -2112,6 +2126,12 @@ module Google
|
|
2112
2126
|
# @return [String]
|
2113
2127
|
attr_accessor :target_page
|
2114
2128
|
|
2129
|
+
# The target playbook to transition to. Format: `projects//locations//agents//
|
2130
|
+
# playbooks/`.
|
2131
|
+
# Corresponds to the JSON property `targetPlaybook`
|
2132
|
+
# @return [String]
|
2133
|
+
attr_accessor :target_playbook
|
2134
|
+
|
2115
2135
|
# A fulfillment can do one or more of the following actions at the same time: *
|
2116
2136
|
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
2117
2137
|
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
@@ -2133,6 +2153,7 @@ module Google
|
|
2133
2153
|
@name = args[:name] if args.key?(:name)
|
2134
2154
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
2135
2155
|
@target_page = args[:target_page] if args.key?(:target_page)
|
2156
|
+
@target_playbook = args[:target_playbook] if args.key?(:target_playbook)
|
2136
2157
|
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
2137
2158
|
end
|
2138
2159
|
end
|
@@ -9629,6 +9650,12 @@ module Google
|
|
9629
9650
|
# @return [String]
|
9630
9651
|
attr_accessor :target_page
|
9631
9652
|
|
9653
|
+
# The target playbook to transition to. Format: `projects//locations//agents//
|
9654
|
+
# playbooks/`.
|
9655
|
+
# Corresponds to the JSON property `targetPlaybook`
|
9656
|
+
# @return [String]
|
9657
|
+
attr_accessor :target_playbook
|
9658
|
+
|
9632
9659
|
# A fulfillment can do one or more of the following actions at the same time: *
|
9633
9660
|
# Generate rich message responses. * Set parameter values. * Call the webhook.
|
9634
9661
|
# Fulfillments can be called at various stages in the Page or Form lifecycle.
|
@@ -9650,6 +9677,7 @@ module Google
|
|
9650
9677
|
@name = args[:name] if args.key?(:name)
|
9651
9678
|
@target_flow = args[:target_flow] if args.key?(:target_flow)
|
9652
9679
|
@target_page = args[:target_page] if args.key?(:target_page)
|
9680
|
+
@target_playbook = args[:target_playbook] if args.key?(:target_playbook)
|
9653
9681
|
@trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
|
9654
9682
|
end
|
9655
9683
|
end
|
@@ -13272,6 +13300,37 @@ module Google
|
|
13272
13300
|
end
|
13273
13301
|
end
|
13274
13302
|
|
13303
|
+
# A customer-managed encryption key specification that can be applied to all
|
13304
|
+
# created resources (e.g. Conversation).
|
13305
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
13306
|
+
include Google::Apis::Core::Hashable
|
13307
|
+
|
13308
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
13309
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
13310
|
+
# default Google encryption key. Only the key in the same location as this
|
13311
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
13312
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
13313
|
+
# Corresponds to the JSON property `kmsKey`
|
13314
|
+
# @return [String]
|
13315
|
+
attr_accessor :kms_key
|
13316
|
+
|
13317
|
+
# Immutable. The resource name of the encryption key specification resource.
|
13318
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
13319
|
+
# Corresponds to the JSON property `name`
|
13320
|
+
# @return [String]
|
13321
|
+
attr_accessor :name
|
13322
|
+
|
13323
|
+
def initialize(**args)
|
13324
|
+
update!(**args)
|
13325
|
+
end
|
13326
|
+
|
13327
|
+
# Update properties of this object
|
13328
|
+
def update!(**args)
|
13329
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
13330
|
+
@name = args[:name] if args.key?(:name)
|
13331
|
+
end
|
13332
|
+
end
|
13333
|
+
|
13275
13334
|
# Each intent parameter has a type, called the entity type, which dictates
|
13276
13335
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
13277
13336
|
# predefined system entities that can match many common types of data. For
|
@@ -13646,6 +13705,45 @@ module Google
|
|
13646
13705
|
end
|
13647
13706
|
end
|
13648
13707
|
|
13708
|
+
# Metadata for initializing a location-level encryption specification.
|
13709
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
13710
|
+
include Google::Apis::Core::Hashable
|
13711
|
+
|
13712
|
+
# The request to initialize a location-level encryption specification.
|
13713
|
+
# Corresponds to the JSON property `request`
|
13714
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
13715
|
+
attr_accessor :request
|
13716
|
+
|
13717
|
+
def initialize(**args)
|
13718
|
+
update!(**args)
|
13719
|
+
end
|
13720
|
+
|
13721
|
+
# Update properties of this object
|
13722
|
+
def update!(**args)
|
13723
|
+
@request = args[:request] if args.key?(:request)
|
13724
|
+
end
|
13725
|
+
end
|
13726
|
+
|
13727
|
+
# The request to initialize a location-level encryption specification.
|
13728
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
13729
|
+
include Google::Apis::Core::Hashable
|
13730
|
+
|
13731
|
+
# A customer-managed encryption key specification that can be applied to all
|
13732
|
+
# created resources (e.g. Conversation).
|
13733
|
+
# Corresponds to the JSON property `encryptionSpec`
|
13734
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec]
|
13735
|
+
attr_accessor :encryption_spec
|
13736
|
+
|
13737
|
+
def initialize(**args)
|
13738
|
+
update!(**args)
|
13739
|
+
end
|
13740
|
+
|
13741
|
+
# Update properties of this object
|
13742
|
+
def update!(**args)
|
13743
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
13744
|
+
end
|
13745
|
+
end
|
13746
|
+
|
13649
13747
|
# InputDataset used to create model or do evaluation. NextID:5
|
13650
13748
|
class GoogleCloudDialogflowV2InputDataset
|
13651
13749
|
include Google::Apis::Core::Hashable
|
@@ -16242,6 +16340,37 @@ module Google
|
|
16242
16340
|
end
|
16243
16341
|
end
|
16244
16342
|
|
16343
|
+
# A customer-managed encryption key specification that can be applied to all
|
16344
|
+
# created resources (e.g. Conversation).
|
16345
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
16346
|
+
include Google::Apis::Core::Hashable
|
16347
|
+
|
16348
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
16349
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
16350
|
+
# default Google encryption key. Only the key in the same location as this
|
16351
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
16352
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
16353
|
+
# Corresponds to the JSON property `kmsKey`
|
16354
|
+
# @return [String]
|
16355
|
+
attr_accessor :kms_key
|
16356
|
+
|
16357
|
+
# Immutable. The resource name of the encryption key specification resource.
|
16358
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
16359
|
+
# Corresponds to the JSON property `name`
|
16360
|
+
# @return [String]
|
16361
|
+
attr_accessor :name
|
16362
|
+
|
16363
|
+
def initialize(**args)
|
16364
|
+
update!(**args)
|
16365
|
+
end
|
16366
|
+
|
16367
|
+
# Update properties of this object
|
16368
|
+
def update!(**args)
|
16369
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
16370
|
+
@name = args[:name] if args.key?(:name)
|
16371
|
+
end
|
16372
|
+
end
|
16373
|
+
|
16245
16374
|
# Each intent parameter has a type, called the entity type, which dictates
|
16246
16375
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
16247
16376
|
# predefined system entities that can match many common types of data. For
|
@@ -16560,6 +16689,45 @@ module Google
|
|
16560
16689
|
end
|
16561
16690
|
end
|
16562
16691
|
|
16692
|
+
# Metadata for initializing a location-level encryption specification.
|
16693
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
16694
|
+
include Google::Apis::Core::Hashable
|
16695
|
+
|
16696
|
+
# The request to initialize a location-level encryption specification.
|
16697
|
+
# Corresponds to the JSON property `request`
|
16698
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
16699
|
+
attr_accessor :request
|
16700
|
+
|
16701
|
+
def initialize(**args)
|
16702
|
+
update!(**args)
|
16703
|
+
end
|
16704
|
+
|
16705
|
+
# Update properties of this object
|
16706
|
+
def update!(**args)
|
16707
|
+
@request = args[:request] if args.key?(:request)
|
16708
|
+
end
|
16709
|
+
end
|
16710
|
+
|
16711
|
+
# The request to initialize a location-level encryption specification.
|
16712
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
16713
|
+
include Google::Apis::Core::Hashable
|
16714
|
+
|
16715
|
+
# A customer-managed encryption key specification that can be applied to all
|
16716
|
+
# created resources (e.g. Conversation).
|
16717
|
+
# Corresponds to the JSON property `encryptionSpec`
|
16718
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
16719
|
+
attr_accessor :encryption_spec
|
16720
|
+
|
16721
|
+
def initialize(**args)
|
16722
|
+
update!(**args)
|
16723
|
+
end
|
16724
|
+
|
16725
|
+
# Update properties of this object
|
16726
|
+
def update!(**args)
|
16727
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
16728
|
+
end
|
16729
|
+
end
|
16730
|
+
|
16563
16731
|
# An intent categorizes an end-user's intention for one conversation turn. For
|
16564
16732
|
# each agent, you define many intents, where your combined intents can handle a
|
16565
16733
|
# complete conversation. When an end-user writes or says something, referred to
|
@@ -18616,6 +18784,11 @@ module Google
|
|
18616
18784
|
# @return [String]
|
18617
18785
|
attr_accessor :participant_role
|
18618
18786
|
|
18787
|
+
# Optional. Automated agent responses.
|
18788
|
+
# Corresponds to the JSON property `responseMessages`
|
18789
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage>]
|
18790
|
+
attr_accessor :response_messages
|
18791
|
+
|
18619
18792
|
# Optional. The time when the message was sent.
|
18620
18793
|
# Corresponds to the JSON property `sendTime`
|
18621
18794
|
# @return [String]
|
@@ -18646,6 +18819,7 @@ module Google
|
|
18646
18819
|
@name = args[:name] if args.key?(:name)
|
18647
18820
|
@participant = args[:participant] if args.key?(:participant)
|
18648
18821
|
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
18822
|
+
@response_messages = args[:response_messages] if args.key?(:response_messages)
|
18649
18823
|
@send_time = args[:send_time] if args.key?(:send_time)
|
18650
18824
|
@sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
|
18651
18825
|
end
|
@@ -18889,6 +19063,203 @@ module Google
|
|
18889
19063
|
end
|
18890
19064
|
end
|
18891
19065
|
|
19066
|
+
# Response messages from an automated agent.
|
19067
|
+
class GoogleCloudDialogflowV2beta1ResponseMessage
|
19068
|
+
include Google::Apis::Core::Hashable
|
19069
|
+
|
19070
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
19071
|
+
# Corresponds to the JSON property `endInteraction`
|
19072
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction]
|
19073
|
+
attr_accessor :end_interaction
|
19074
|
+
|
19075
|
+
# Indicates that the conversation should be handed off to a human agent.
|
19076
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
19077
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
19078
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
19079
|
+
# entry fulfillment of a CX Page if entering the page indicates something went
|
19080
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
19081
|
+
# determine that the customer issue can only be handled by a human.
|
19082
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
19083
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
|
19084
|
+
attr_accessor :live_agent_handoff
|
19085
|
+
|
19086
|
+
# Represents an audio message that is composed of both segments synthesized from
|
19087
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
19088
|
+
# Corresponds to the JSON property `mixedAudio`
|
19089
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
|
19090
|
+
attr_accessor :mixed_audio
|
19091
|
+
|
19092
|
+
# Returns a response containing a custom, platform-specific payload.
|
19093
|
+
# Corresponds to the JSON property `payload`
|
19094
|
+
# @return [Hash<String,Object>]
|
19095
|
+
attr_accessor :payload
|
19096
|
+
|
19097
|
+
# Represents the signal that telles the client to transfer the phone call
|
19098
|
+
# connected to the agent to a third-party endpoint.
|
19099
|
+
# Corresponds to the JSON property `telephonyTransferCall`
|
19100
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
|
19101
|
+
attr_accessor :telephony_transfer_call
|
19102
|
+
|
19103
|
+
# The text response message.
|
19104
|
+
# Corresponds to the JSON property `text`
|
19105
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText]
|
19106
|
+
attr_accessor :text
|
19107
|
+
|
19108
|
+
def initialize(**args)
|
19109
|
+
update!(**args)
|
19110
|
+
end
|
19111
|
+
|
19112
|
+
# Update properties of this object
|
19113
|
+
def update!(**args)
|
19114
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
19115
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
19116
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
19117
|
+
@payload = args[:payload] if args.key?(:payload)
|
19118
|
+
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
19119
|
+
@text = args[:text] if args.key?(:text)
|
19120
|
+
end
|
19121
|
+
end
|
19122
|
+
|
19123
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
19124
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
|
19125
|
+
include Google::Apis::Core::Hashable
|
19126
|
+
|
19127
|
+
def initialize(**args)
|
19128
|
+
update!(**args)
|
19129
|
+
end
|
19130
|
+
|
19131
|
+
# Update properties of this object
|
19132
|
+
def update!(**args)
|
19133
|
+
end
|
19134
|
+
end
|
19135
|
+
|
19136
|
+
# Indicates that the conversation should be handed off to a human agent.
|
19137
|
+
# Dialogflow only uses this to determine which conversations were handed off to
|
19138
|
+
# a human agent for measurement purposes. What else to do with this signal is up
|
19139
|
+
# to you and your handoff procedures. You may set this, for example: * In the
|
19140
|
+
# entry fulfillment of a CX Page if entering the page indicates something went
|
19141
|
+
# extremely wrong in the conversation. * In a webhook response when you
|
19142
|
+
# determine that the customer issue can only be handled by a human.
|
19143
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
|
19144
|
+
include Google::Apis::Core::Hashable
|
19145
|
+
|
19146
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose any
|
19147
|
+
# structure on this.
|
19148
|
+
# Corresponds to the JSON property `metadata`
|
19149
|
+
# @return [Hash<String,Object>]
|
19150
|
+
attr_accessor :metadata
|
19151
|
+
|
19152
|
+
def initialize(**args)
|
19153
|
+
update!(**args)
|
19154
|
+
end
|
19155
|
+
|
19156
|
+
# Update properties of this object
|
19157
|
+
def update!(**args)
|
19158
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
19159
|
+
end
|
19160
|
+
end
|
19161
|
+
|
19162
|
+
# Represents an audio message that is composed of both segments synthesized from
|
19163
|
+
# the Dialogflow agent prompts and ones hosted externally at the specified URIs.
|
19164
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
19165
|
+
include Google::Apis::Core::Hashable
|
19166
|
+
|
19167
|
+
# Segments this audio response is composed of.
|
19168
|
+
# Corresponds to the JSON property `segments`
|
19169
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
|
19170
|
+
attr_accessor :segments
|
19171
|
+
|
19172
|
+
def initialize(**args)
|
19173
|
+
update!(**args)
|
19174
|
+
end
|
19175
|
+
|
19176
|
+
# Update properties of this object
|
19177
|
+
def update!(**args)
|
19178
|
+
@segments = args[:segments] if args.key?(:segments)
|
19179
|
+
end
|
19180
|
+
end
|
19181
|
+
|
19182
|
+
# Represents one segment of audio.
|
19183
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
|
19184
|
+
include Google::Apis::Core::Hashable
|
19185
|
+
|
19186
|
+
# Whether the playback of this segment can be interrupted by the end user's
|
19187
|
+
# speech and the client should then start the next Dialogflow request.
|
19188
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
19189
|
+
# @return [Boolean]
|
19190
|
+
attr_accessor :allow_playback_interruption
|
19191
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
19192
|
+
|
19193
|
+
# Raw audio synthesized from the Dialogflow agent's response using the output
|
19194
|
+
# config specified in the request.
|
19195
|
+
# Corresponds to the JSON property `audio`
|
19196
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
19197
|
+
# @return [String]
|
19198
|
+
attr_accessor :audio
|
19199
|
+
|
19200
|
+
# Client-specific URI that points to an audio clip accessible to the client.
|
19201
|
+
# Corresponds to the JSON property `uri`
|
19202
|
+
# @return [String]
|
19203
|
+
attr_accessor :uri
|
19204
|
+
|
19205
|
+
def initialize(**args)
|
19206
|
+
update!(**args)
|
19207
|
+
end
|
19208
|
+
|
19209
|
+
# Update properties of this object
|
19210
|
+
def update!(**args)
|
19211
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
19212
|
+
@audio = args[:audio] if args.key?(:audio)
|
19213
|
+
@uri = args[:uri] if args.key?(:uri)
|
19214
|
+
end
|
19215
|
+
end
|
19216
|
+
|
19217
|
+
# Represents the signal that telles the client to transfer the phone call
|
19218
|
+
# connected to the agent to a third-party endpoint.
|
19219
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
19220
|
+
include Google::Apis::Core::Hashable
|
19221
|
+
|
19222
|
+
# Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
|
19223
|
+
# wiki/E.164).
|
19224
|
+
# Corresponds to the JSON property `phoneNumber`
|
19225
|
+
# @return [String]
|
19226
|
+
attr_accessor :phone_number
|
19227
|
+
|
19228
|
+
# Transfer the call to a SIP endpoint.
|
19229
|
+
# Corresponds to the JSON property `sipUri`
|
19230
|
+
# @return [String]
|
19231
|
+
attr_accessor :sip_uri
|
19232
|
+
|
19233
|
+
def initialize(**args)
|
19234
|
+
update!(**args)
|
19235
|
+
end
|
19236
|
+
|
19237
|
+
# Update properties of this object
|
19238
|
+
def update!(**args)
|
19239
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
19240
|
+
@sip_uri = args[:sip_uri] if args.key?(:sip_uri)
|
19241
|
+
end
|
19242
|
+
end
|
19243
|
+
|
19244
|
+
# The text response message.
|
19245
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
19246
|
+
include Google::Apis::Core::Hashable
|
19247
|
+
|
19248
|
+
# A collection of text responses.
|
19249
|
+
# Corresponds to the JSON property `text`
|
19250
|
+
# @return [Array<String>]
|
19251
|
+
attr_accessor :text
|
19252
|
+
|
19253
|
+
def initialize(**args)
|
19254
|
+
update!(**args)
|
19255
|
+
end
|
19256
|
+
|
19257
|
+
# Update properties of this object
|
19258
|
+
def update!(**args)
|
19259
|
+
@text = args[:text] if args.key?(:text)
|
19260
|
+
end
|
19261
|
+
end
|
19262
|
+
|
18892
19263
|
# The sentiment, such as positive/negative feeling or association, for a unit of
|
18893
19264
|
# analysis, such as the query text. See: https://cloud.google.com/natural-
|
18894
19265
|
# 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.
|
19
|
+
GEM_VERSION = "0.89.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 = "
|
25
|
+
REVISION = "20240704"
|
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
|
|
@@ -3633,6 +3711,7 @@ module Google
|
|
3633
3711
|
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
|
3634
3712
|
# @private
|
3635
3713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3714
|
+
property :model, as: 'model'
|
3636
3715
|
property :model_output, as: 'modelOutput'
|
3637
3716
|
property :rendered_prompt, as: 'renderedPrompt'
|
3638
3717
|
end
|
@@ -3666,6 +3745,7 @@ module Google
|
|
3666
3745
|
class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
|
3667
3746
|
# @private
|
3668
3747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3748
|
+
property :model, as: 'model'
|
3669
3749
|
property :model_output, as: 'modelOutput'
|
3670
3750
|
property :rendered_prompt, as: 'renderedPrompt'
|
3671
3751
|
end
|
@@ -3854,6 +3934,7 @@ module Google
|
|
3854
3934
|
property :name, as: 'name'
|
3855
3935
|
property :target_flow, as: 'targetFlow'
|
3856
3936
|
property :target_page, as: 'targetPage'
|
3937
|
+
property :target_playbook, as: 'targetPlaybook'
|
3857
3938
|
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3858
3939
|
|
3859
3940
|
end
|
@@ -5899,6 +5980,7 @@ module Google
|
|
5899
5980
|
property :name, as: 'name'
|
5900
5981
|
property :target_flow, as: 'targetFlow'
|
5901
5982
|
property :target_page, as: 'targetPage'
|
5983
|
+
property :target_playbook, as: 'targetPlaybook'
|
5902
5984
|
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
5903
5985
|
|
5904
5986
|
end
|
@@ -6887,6 +6969,14 @@ module Google
|
|
6887
6969
|
end
|
6888
6970
|
end
|
6889
6971
|
|
6972
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
6973
|
+
# @private
|
6974
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6975
|
+
property :kms_key, as: 'kmsKey'
|
6976
|
+
property :name, as: 'name'
|
6977
|
+
end
|
6978
|
+
end
|
6979
|
+
|
6890
6980
|
class GoogleCloudDialogflowV2EntityType
|
6891
6981
|
# @private
|
6892
6982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6988,6 +7078,22 @@ module Google
|
|
6988
7078
|
end
|
6989
7079
|
end
|
6990
7080
|
|
7081
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
7082
|
+
# @private
|
7083
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7084
|
+
property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
|
7085
|
+
|
7086
|
+
end
|
7087
|
+
end
|
7088
|
+
|
7089
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
7090
|
+
# @private
|
7091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7092
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EncryptionSpec::Representation
|
7093
|
+
|
7094
|
+
end
|
7095
|
+
end
|
7096
|
+
|
6991
7097
|
class GoogleCloudDialogflowV2InputDataset
|
6992
7098
|
# @private
|
6993
7099
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7703,6 +7809,14 @@ module Google
|
|
7703
7809
|
end
|
7704
7810
|
end
|
7705
7811
|
|
7812
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
7813
|
+
# @private
|
7814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7815
|
+
property :kms_key, as: 'kmsKey'
|
7816
|
+
property :name, as: 'name'
|
7817
|
+
end
|
7818
|
+
end
|
7819
|
+
|
7706
7820
|
class GoogleCloudDialogflowV2beta1EntityType
|
7707
7821
|
# @private
|
7708
7822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7786,6 +7900,22 @@ module Google
|
|
7786
7900
|
end
|
7787
7901
|
end
|
7788
7902
|
|
7903
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
7904
|
+
# @private
|
7905
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7906
|
+
property :request, as: 'request', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
|
7907
|
+
|
7908
|
+
end
|
7909
|
+
end
|
7910
|
+
|
7911
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
7912
|
+
# @private
|
7913
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7914
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
|
7915
|
+
|
7916
|
+
end
|
7917
|
+
end
|
7918
|
+
|
7789
7919
|
class GoogleCloudDialogflowV2beta1Intent
|
7790
7920
|
# @private
|
7791
7921
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8385,6 +8515,8 @@ module Google
|
|
8385
8515
|
property :name, as: 'name'
|
8386
8516
|
property :participant, as: 'participant'
|
8387
8517
|
property :participant_role, as: 'participantRole'
|
8518
|
+
collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
|
8519
|
+
|
8388
8520
|
property :send_time, as: 'sendTime'
|
8389
8521
|
property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
|
8390
8522
|
|
@@ -8437,6 +8569,68 @@ module Google
|
|
8437
8569
|
end
|
8438
8570
|
end
|
8439
8571
|
|
8572
|
+
class GoogleCloudDialogflowV2beta1ResponseMessage
|
8573
|
+
# @private
|
8574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8575
|
+
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction::Representation
|
8576
|
+
|
8577
|
+
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
|
8578
|
+
|
8579
|
+
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::Representation
|
8580
|
+
|
8581
|
+
hash :payload, as: 'payload'
|
8582
|
+
property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
|
8583
|
+
|
8584
|
+
property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageText::Representation
|
8585
|
+
|
8586
|
+
end
|
8587
|
+
end
|
8588
|
+
|
8589
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
|
8590
|
+
# @private
|
8591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8592
|
+
end
|
8593
|
+
end
|
8594
|
+
|
8595
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
|
8596
|
+
# @private
|
8597
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8598
|
+
hash :metadata, as: 'metadata'
|
8599
|
+
end
|
8600
|
+
end
|
8601
|
+
|
8602
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
8603
|
+
# @private
|
8604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8605
|
+
collection :segments, as: 'segments', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment::Representation
|
8606
|
+
|
8607
|
+
end
|
8608
|
+
end
|
8609
|
+
|
8610
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
|
8611
|
+
# @private
|
8612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8613
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
8614
|
+
property :audio, :base64 => true, as: 'audio'
|
8615
|
+
property :uri, as: 'uri'
|
8616
|
+
end
|
8617
|
+
end
|
8618
|
+
|
8619
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
8620
|
+
# @private
|
8621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8622
|
+
property :phone_number, as: 'phoneNumber'
|
8623
|
+
property :sip_uri, as: 'sipUri'
|
8624
|
+
end
|
8625
|
+
end
|
8626
|
+
|
8627
|
+
class GoogleCloudDialogflowV2beta1ResponseMessageText
|
8628
|
+
# @private
|
8629
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8630
|
+
collection :text, as: 'text'
|
8631
|
+
end
|
8632
|
+
end
|
8633
|
+
|
8440
8634
|
class GoogleCloudDialogflowV2beta1Sentiment
|
8441
8635
|
# @private
|
8442
8636
|
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.
|
4
|
+
version: 0.89.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-
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.89.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: []
|