google-apis-dialogflow_v3beta1 0.87.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: c20f7574596d0ef7fce52549c70e88b2173171e2abb88bc421c7c1017e4afdaf
4
- data.tar.gz: 016bf022cc1b8235733b568021fa9d01c7e62c5e26c6d84d55347ff14389765c
3
+ metadata.gz: dd54de14b1bb86b6e1c5be0c5790d99d7f12ab0e01392017b6aee229aa3edbd0
4
+ data.tar.gz: f9e0c443cceb69af9ab766913bacfa2091383840b94bac62ab55de39bbc28169
5
5
  SHA512:
6
- metadata.gz: ad276537ab7ae640d2980da2c68f5ca40660f7aaa983f97a8400ac3deb541843c679e283d31ca16f8bc9ba1cb010d59d1e76493ff5c0b99ba570a12d076783ef
7
- data.tar.gz: b3d9342491b4735615b97e7e50d1d98becae4e9abad5e0536545029c9e0eead6da35d1c6a4042cdfb990a59ba8b512b6a30a9239af8054a0a4e838867b45018e
6
+ metadata.gz: 426c6294ce00c64ab7f2d751c2afdaf356ce1765871abdc7694ad8a183920f413fd07601f9246dcfe0d41497ac64ec3e7aa3acabc4dab81ae86de68c934979b5
7
+ data.tar.gz: 34d35d2fd2ec52bc32acfa6fa4d39349d2109bc6f8c06f6327a358cc0f81ab5346522feed2e6a9333955e4fae846f09f652b15c87d3a33edc158b349472ada97
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.89.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240704
6
+
7
+ ### v0.88.0 (2024-06-26)
8
+
9
+ * Regenerated from discovery document revision 20240617
10
+
3
11
  ### v0.87.0 (2024-06-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20240603
@@ -836,6 +836,12 @@ module Google
836
836
  # @return [String]
837
837
  attr_accessor :target_page
838
838
 
839
+ # The target playbook to transition to. Format: `projects//locations//agents//
840
+ # playbooks/`.
841
+ # Corresponds to the JSON property `targetPlaybook`
842
+ # @return [String]
843
+ attr_accessor :target_playbook
844
+
839
845
  # A fulfillment can do one or more of the following actions at the same time: *
840
846
  # Generate rich message responses. * Set parameter values. * Call the webhook.
841
847
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -857,6 +863,7 @@ module Google
857
863
  @name = args[:name] if args.key?(:name)
858
864
  @target_flow = args[:target_flow] if args.key?(:target_flow)
859
865
  @target_page = args[:target_page] if args.key?(:target_page)
866
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
860
867
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
861
868
  end
862
869
  end
@@ -3051,18 +3058,16 @@ module Google
3051
3058
 
3052
3059
  # Flow name to start the test case with. Format: `projects//locations//agents//
3053
3060
  # flows/`. Only one of `flow` and `page` should be set to indicate the starting
3054
- # point of the test case. If both are set, `page` takes precedence over `flow`.
3055
- # If neither is set, the test case will start with start page on the default
3056
- # start flow.
3061
+ # point of the test case. If neither is set, the test case will start with start
3062
+ # page on the default start flow.
3057
3063
  # Corresponds to the JSON property `flow`
3058
3064
  # @return [String]
3059
3065
  attr_accessor :flow
3060
3066
 
3061
3067
  # The page to start the test case with. Format: `projects//locations//agents//
3062
3068
  # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
3063
- # starting point of the test case. If both are set, `page` takes precedence over
3064
- # `flow`. If neither is set, the test case will start with start page on the
3065
- # default start flow.
3069
+ # starting point of the test case. If neither is set, the test case will start
3070
+ # with start page on the default start flow.
3066
3071
  # Corresponds to the JSON property `page`
3067
3072
  # @return [String]
3068
3073
  attr_accessor :page
@@ -5604,6 +5609,12 @@ module Google
5604
5609
  class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
5605
5610
  include Google::Apis::Core::Hashable
5606
5611
 
5612
+ # Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
5613
+ # gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
5614
+ # Corresponds to the JSON property `model`
5615
+ # @return [String]
5616
+ attr_accessor :model
5617
+
5607
5618
  # Output of the generative model.
5608
5619
  # Corresponds to the JSON property `modelOutput`
5609
5620
  # @return [String]
@@ -5620,6 +5631,7 @@ module Google
5620
5631
 
5621
5632
  # Update properties of this object
5622
5633
  def update!(**args)
5634
+ @model = args[:model] if args.key?(:model)
5623
5635
  @model_output = args[:model_output] if args.key?(:model_output)
5624
5636
  @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
5625
5637
  end
@@ -5704,6 +5716,12 @@ module Google
5704
5716
  class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
5705
5717
  include Google::Apis::Core::Hashable
5706
5718
 
5719
+ # Name of the generative model. For example, "gemini-ultra", "gemini-pro", "
5720
+ # gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
5721
+ # Corresponds to the JSON property `model`
5722
+ # @return [String]
5723
+ attr_accessor :model
5724
+
5707
5725
  # Output of the generative model.
5708
5726
  # Corresponds to the JSON property `modelOutput`
5709
5727
  # @return [String]
@@ -5720,6 +5738,7 @@ module Google
5720
5738
 
5721
5739
  # Update properties of this object
5722
5740
  def update!(**args)
5741
+ @model = args[:model] if args.key?(:model)
5723
5742
  @model_output = args[:model_output] if args.key?(:model_output)
5724
5743
  @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
5725
5744
  end
@@ -6405,6 +6424,12 @@ module Google
6405
6424
  # @return [String]
6406
6425
  attr_accessor :target_page
6407
6426
 
6427
+ # The target playbook to transition to. Format: `projects//locations//agents//
6428
+ # playbooks/`.
6429
+ # Corresponds to the JSON property `targetPlaybook`
6430
+ # @return [String]
6431
+ attr_accessor :target_playbook
6432
+
6408
6433
  # A fulfillment can do one or more of the following actions at the same time: *
6409
6434
  # Generate rich message responses. * Set parameter values. * Call the webhook.
6410
6435
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -6426,6 +6451,7 @@ module Google
6426
6451
  @name = args[:name] if args.key?(:name)
6427
6452
  @target_flow = args[:target_flow] if args.key?(:target_flow)
6428
6453
  @target_page = args[:target_page] if args.key?(:target_page)
6454
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
6429
6455
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
6430
6456
  end
6431
6457
  end
@@ -12505,18 +12531,16 @@ module Google
12505
12531
 
12506
12532
  # Flow name to start the test case with. Format: `projects//locations//agents//
12507
12533
  # flows/`. Only one of `flow` and `page` should be set to indicate the starting
12508
- # point of the test case. If both are set, `page` takes precedence over `flow`.
12509
- # If neither is set, the test case will start with start page on the default
12510
- # start flow.
12534
+ # point of the test case. If neither is set, the test case will start with start
12535
+ # page on the default start flow.
12511
12536
  # Corresponds to the JSON property `flow`
12512
12537
  # @return [String]
12513
12538
  attr_accessor :flow
12514
12539
 
12515
12540
  # The page to start the test case with. Format: `projects//locations//agents//
12516
12541
  # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
12517
- # starting point of the test case. If both are set, `page` takes precedence over
12518
- # `flow`. If neither is set, the test case will start with start page on the
12519
- # default start flow.
12542
+ # starting point of the test case. If neither is set, the test case will start
12543
+ # with start page on the default start flow.
12520
12544
  # Corresponds to the JSON property `page`
12521
12545
  # @return [String]
12522
12546
  attr_accessor :page
@@ -14891,6 +14915,37 @@ module Google
14891
14915
  end
14892
14916
  end
14893
14917
 
14918
+ # A customer-managed encryption key specification that can be applied to all
14919
+ # created resources (e.g. Conversation).
14920
+ class GoogleCloudDialogflowV2EncryptionSpec
14921
+ include Google::Apis::Core::Hashable
14922
+
14923
+ # Required. The name of customer-managed encryption key that is used to secure a
14924
+ # resource and its sub-resources. If empty, the resource is secured by the
14925
+ # default Google encryption key. Only the key in the same location as this
14926
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
14927
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
14928
+ # Corresponds to the JSON property `kmsKey`
14929
+ # @return [String]
14930
+ attr_accessor :kms_key
14931
+
14932
+ # Immutable. The resource name of the encryption key specification resource.
14933
+ # Format: projects/`project`/locations/`location`/encryptionSpec
14934
+ # Corresponds to the JSON property `name`
14935
+ # @return [String]
14936
+ attr_accessor :name
14937
+
14938
+ def initialize(**args)
14939
+ update!(**args)
14940
+ end
14941
+
14942
+ # Update properties of this object
14943
+ def update!(**args)
14944
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
14945
+ @name = args[:name] if args.key?(:name)
14946
+ end
14947
+ end
14948
+
14894
14949
  # Each intent parameter has a type, called the entity type, which dictates
14895
14950
  # exactly how data from an end-user expression is extracted. Dialogflow provides
14896
14951
  # predefined system entities that can match many common types of data. For
@@ -15265,6 +15320,45 @@ module Google
15265
15320
  end
15266
15321
  end
15267
15322
 
15323
+ # Metadata for initializing a location-level encryption specification.
15324
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
15325
+ include Google::Apis::Core::Hashable
15326
+
15327
+ # The request to initialize a location-level encryption specification.
15328
+ # Corresponds to the JSON property `request`
15329
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
15330
+ attr_accessor :request
15331
+
15332
+ def initialize(**args)
15333
+ update!(**args)
15334
+ end
15335
+
15336
+ # Update properties of this object
15337
+ def update!(**args)
15338
+ @request = args[:request] if args.key?(:request)
15339
+ end
15340
+ end
15341
+
15342
+ # The request to initialize a location-level encryption specification.
15343
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
15344
+ include Google::Apis::Core::Hashable
15345
+
15346
+ # A customer-managed encryption key specification that can be applied to all
15347
+ # created resources (e.g. Conversation).
15348
+ # Corresponds to the JSON property `encryptionSpec`
15349
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec]
15350
+ attr_accessor :encryption_spec
15351
+
15352
+ def initialize(**args)
15353
+ update!(**args)
15354
+ end
15355
+
15356
+ # Update properties of this object
15357
+ def update!(**args)
15358
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
15359
+ end
15360
+ end
15361
+
15268
15362
  # InputDataset used to create model or do evaluation. NextID:5
15269
15363
  class GoogleCloudDialogflowV2InputDataset
15270
15364
  include Google::Apis::Core::Hashable
@@ -17861,6 +17955,37 @@ module Google
17861
17955
  end
17862
17956
  end
17863
17957
 
17958
+ # A customer-managed encryption key specification that can be applied to all
17959
+ # created resources (e.g. Conversation).
17960
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
17961
+ include Google::Apis::Core::Hashable
17962
+
17963
+ # Required. The name of customer-managed encryption key that is used to secure a
17964
+ # resource and its sub-resources. If empty, the resource is secured by the
17965
+ # default Google encryption key. Only the key in the same location as this
17966
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
17967
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
17968
+ # Corresponds to the JSON property `kmsKey`
17969
+ # @return [String]
17970
+ attr_accessor :kms_key
17971
+
17972
+ # Immutable. The resource name of the encryption key specification resource.
17973
+ # Format: projects/`project`/locations/`location`/encryptionSpec
17974
+ # Corresponds to the JSON property `name`
17975
+ # @return [String]
17976
+ attr_accessor :name
17977
+
17978
+ def initialize(**args)
17979
+ update!(**args)
17980
+ end
17981
+
17982
+ # Update properties of this object
17983
+ def update!(**args)
17984
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
17985
+ @name = args[:name] if args.key?(:name)
17986
+ end
17987
+ end
17988
+
17864
17989
  # Each intent parameter has a type, called the entity type, which dictates
17865
17990
  # exactly how data from an end-user expression is extracted. Dialogflow provides
17866
17991
  # predefined system entities that can match many common types of data. For
@@ -18179,6 +18304,45 @@ module Google
18179
18304
  end
18180
18305
  end
18181
18306
 
18307
+ # Metadata for initializing a location-level encryption specification.
18308
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
18309
+ include Google::Apis::Core::Hashable
18310
+
18311
+ # The request to initialize a location-level encryption specification.
18312
+ # Corresponds to the JSON property `request`
18313
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
18314
+ attr_accessor :request
18315
+
18316
+ def initialize(**args)
18317
+ update!(**args)
18318
+ end
18319
+
18320
+ # Update properties of this object
18321
+ def update!(**args)
18322
+ @request = args[:request] if args.key?(:request)
18323
+ end
18324
+ end
18325
+
18326
+ # The request to initialize a location-level encryption specification.
18327
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
18328
+ include Google::Apis::Core::Hashable
18329
+
18330
+ # A customer-managed encryption key specification that can be applied to all
18331
+ # created resources (e.g. Conversation).
18332
+ # Corresponds to the JSON property `encryptionSpec`
18333
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
18334
+ attr_accessor :encryption_spec
18335
+
18336
+ def initialize(**args)
18337
+ update!(**args)
18338
+ end
18339
+
18340
+ # Update properties of this object
18341
+ def update!(**args)
18342
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
18343
+ end
18344
+ end
18345
+
18182
18346
  # An intent categorizes an end-user's intention for one conversation turn. For
18183
18347
  # each agent, you define many intents, where your combined intents can handle a
18184
18348
  # complete conversation. When an end-user writes or says something, referred to
@@ -20235,6 +20399,11 @@ module Google
20235
20399
  # @return [String]
20236
20400
  attr_accessor :participant_role
20237
20401
 
20402
+ # Optional. Automated agent responses.
20403
+ # Corresponds to the JSON property `responseMessages`
20404
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
20405
+ attr_accessor :response_messages
20406
+
20238
20407
  # Optional. The time when the message was sent.
20239
20408
  # Corresponds to the JSON property `sendTime`
20240
20409
  # @return [String]
@@ -20265,6 +20434,7 @@ module Google
20265
20434
  @name = args[:name] if args.key?(:name)
20266
20435
  @participant = args[:participant] if args.key?(:participant)
20267
20436
  @participant_role = args[:participant_role] if args.key?(:participant_role)
20437
+ @response_messages = args[:response_messages] if args.key?(:response_messages)
20268
20438
  @send_time = args[:send_time] if args.key?(:send_time)
20269
20439
  @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
20270
20440
  end
@@ -20508,6 +20678,203 @@ module Google
20508
20678
  end
20509
20679
  end
20510
20680
 
20681
+ # Response messages from an automated agent.
20682
+ class GoogleCloudDialogflowV2beta1ResponseMessage
20683
+ include Google::Apis::Core::Hashable
20684
+
20685
+ # Indicates that interaction with the Dialogflow agent has ended.
20686
+ # Corresponds to the JSON property `endInteraction`
20687
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction]
20688
+ attr_accessor :end_interaction
20689
+
20690
+ # Indicates that the conversation should be handed off to a human agent.
20691
+ # Dialogflow only uses this to determine which conversations were handed off to
20692
+ # a human agent for measurement purposes. What else to do with this signal is up
20693
+ # to you and your handoff procedures. You may set this, for example: * In the
20694
+ # entry fulfillment of a CX Page if entering the page indicates something went
20695
+ # extremely wrong in the conversation. * In a webhook response when you
20696
+ # determine that the customer issue can only be handled by a human.
20697
+ # Corresponds to the JSON property `liveAgentHandoff`
20698
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
20699
+ attr_accessor :live_agent_handoff
20700
+
20701
+ # Represents an audio message that is composed of both segments synthesized from
20702
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
20703
+ # Corresponds to the JSON property `mixedAudio`
20704
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
20705
+ attr_accessor :mixed_audio
20706
+
20707
+ # Returns a response containing a custom, platform-specific payload.
20708
+ # Corresponds to the JSON property `payload`
20709
+ # @return [Hash<String,Object>]
20710
+ attr_accessor :payload
20711
+
20712
+ # Represents the signal that telles the client to transfer the phone call
20713
+ # connected to the agent to a third-party endpoint.
20714
+ # Corresponds to the JSON property `telephonyTransferCall`
20715
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
20716
+ attr_accessor :telephony_transfer_call
20717
+
20718
+ # The text response message.
20719
+ # Corresponds to the JSON property `text`
20720
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageText]
20721
+ attr_accessor :text
20722
+
20723
+ def initialize(**args)
20724
+ update!(**args)
20725
+ end
20726
+
20727
+ # Update properties of this object
20728
+ def update!(**args)
20729
+ @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
20730
+ @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
20731
+ @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
20732
+ @payload = args[:payload] if args.key?(:payload)
20733
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
20734
+ @text = args[:text] if args.key?(:text)
20735
+ end
20736
+ end
20737
+
20738
+ # Indicates that interaction with the Dialogflow agent has ended.
20739
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
20740
+ include Google::Apis::Core::Hashable
20741
+
20742
+ def initialize(**args)
20743
+ update!(**args)
20744
+ end
20745
+
20746
+ # Update properties of this object
20747
+ def update!(**args)
20748
+ end
20749
+ end
20750
+
20751
+ # Indicates that the conversation should be handed off to a human agent.
20752
+ # Dialogflow only uses this to determine which conversations were handed off to
20753
+ # a human agent for measurement purposes. What else to do with this signal is up
20754
+ # to you and your handoff procedures. You may set this, for example: * In the
20755
+ # entry fulfillment of a CX Page if entering the page indicates something went
20756
+ # extremely wrong in the conversation. * In a webhook response when you
20757
+ # determine that the customer issue can only be handled by a human.
20758
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
20759
+ include Google::Apis::Core::Hashable
20760
+
20761
+ # Custom metadata for your handoff procedure. Dialogflow doesn't impose any
20762
+ # structure on this.
20763
+ # Corresponds to the JSON property `metadata`
20764
+ # @return [Hash<String,Object>]
20765
+ attr_accessor :metadata
20766
+
20767
+ def initialize(**args)
20768
+ update!(**args)
20769
+ end
20770
+
20771
+ # Update properties of this object
20772
+ def update!(**args)
20773
+ @metadata = args[:metadata] if args.key?(:metadata)
20774
+ end
20775
+ end
20776
+
20777
+ # Represents an audio message that is composed of both segments synthesized from
20778
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
20779
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
20780
+ include Google::Apis::Core::Hashable
20781
+
20782
+ # Segments this audio response is composed of.
20783
+ # Corresponds to the JSON property `segments`
20784
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
20785
+ attr_accessor :segments
20786
+
20787
+ def initialize(**args)
20788
+ update!(**args)
20789
+ end
20790
+
20791
+ # Update properties of this object
20792
+ def update!(**args)
20793
+ @segments = args[:segments] if args.key?(:segments)
20794
+ end
20795
+ end
20796
+
20797
+ # Represents one segment of audio.
20798
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
20799
+ include Google::Apis::Core::Hashable
20800
+
20801
+ # Whether the playback of this segment can be interrupted by the end user's
20802
+ # speech and the client should then start the next Dialogflow request.
20803
+ # Corresponds to the JSON property `allowPlaybackInterruption`
20804
+ # @return [Boolean]
20805
+ attr_accessor :allow_playback_interruption
20806
+ alias_method :allow_playback_interruption?, :allow_playback_interruption
20807
+
20808
+ # Raw audio synthesized from the Dialogflow agent's response using the output
20809
+ # config specified in the request.
20810
+ # Corresponds to the JSON property `audio`
20811
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
20812
+ # @return [String]
20813
+ attr_accessor :audio
20814
+
20815
+ # Client-specific URI that points to an audio clip accessible to the client.
20816
+ # Corresponds to the JSON property `uri`
20817
+ # @return [String]
20818
+ attr_accessor :uri
20819
+
20820
+ def initialize(**args)
20821
+ update!(**args)
20822
+ end
20823
+
20824
+ # Update properties of this object
20825
+ def update!(**args)
20826
+ @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
20827
+ @audio = args[:audio] if args.key?(:audio)
20828
+ @uri = args[:uri] if args.key?(:uri)
20829
+ end
20830
+ end
20831
+
20832
+ # Represents the signal that telles the client to transfer the phone call
20833
+ # connected to the agent to a third-party endpoint.
20834
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
20835
+ include Google::Apis::Core::Hashable
20836
+
20837
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
20838
+ # wiki/E.164).
20839
+ # Corresponds to the JSON property `phoneNumber`
20840
+ # @return [String]
20841
+ attr_accessor :phone_number
20842
+
20843
+ # Transfer the call to a SIP endpoint.
20844
+ # Corresponds to the JSON property `sipUri`
20845
+ # @return [String]
20846
+ attr_accessor :sip_uri
20847
+
20848
+ def initialize(**args)
20849
+ update!(**args)
20850
+ end
20851
+
20852
+ # Update properties of this object
20853
+ def update!(**args)
20854
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
20855
+ @sip_uri = args[:sip_uri] if args.key?(:sip_uri)
20856
+ end
20857
+ end
20858
+
20859
+ # The text response message.
20860
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
20861
+ include Google::Apis::Core::Hashable
20862
+
20863
+ # A collection of text responses.
20864
+ # Corresponds to the JSON property `text`
20865
+ # @return [Array<String>]
20866
+ attr_accessor :text
20867
+
20868
+ def initialize(**args)
20869
+ update!(**args)
20870
+ end
20871
+
20872
+ # Update properties of this object
20873
+ def update!(**args)
20874
+ @text = args[:text] if args.key?(:text)
20875
+ end
20876
+ end
20877
+
20511
20878
  # The sentiment, such as positive/negative feeling or association, for a unit of
20512
20879
  # analysis, such as the query text. See: https://cloud.google.com/natural-
20513
20880
  # language/docs/basics#interpreting_sentiment_analysis_values for how to
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.87.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 = "20240603"
25
+ REVISION = "20240704"
26
26
  end
27
27
  end
28
28
  end
@@ -2446,6 +2446,12 @@ module Google
2446
2446
  include Google::Apis::Core::JsonObjectSupport
2447
2447
  end
2448
2448
 
2449
+ class GoogleCloudDialogflowV2EncryptionSpec
2450
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2451
+
2452
+ include Google::Apis::Core::JsonObjectSupport
2453
+ end
2454
+
2449
2455
  class GoogleCloudDialogflowV2EntityType
2450
2456
  class Representation < Google::Apis::Core::JsonRepresentation; end
2451
2457
 
@@ -2512,6 +2518,18 @@ module Google
2512
2518
  include Google::Apis::Core::JsonObjectSupport
2513
2519
  end
2514
2520
 
2521
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
2522
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2523
+
2524
+ include Google::Apis::Core::JsonObjectSupport
2525
+ end
2526
+
2527
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
2528
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2529
+
2530
+ include Google::Apis::Core::JsonObjectSupport
2531
+ end
2532
+
2515
2533
  class GoogleCloudDialogflowV2InputDataset
2516
2534
  class Representation < Google::Apis::Core::JsonRepresentation; end
2517
2535
 
@@ -2914,6 +2932,12 @@ module Google
2914
2932
  include Google::Apis::Core::JsonObjectSupport
2915
2933
  end
2916
2934
 
2935
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
2936
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2937
+
2938
+ include Google::Apis::Core::JsonObjectSupport
2939
+ end
2940
+
2917
2941
  class GoogleCloudDialogflowV2beta1EntityType
2918
2942
  class Representation < Google::Apis::Core::JsonRepresentation; end
2919
2943
 
@@ -2968,6 +2992,18 @@ module Google
2968
2992
  include Google::Apis::Core::JsonObjectSupport
2969
2993
  end
2970
2994
 
2995
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
2996
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2997
+
2998
+ include Google::Apis::Core::JsonObjectSupport
2999
+ end
3000
+
3001
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
3002
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3003
+
3004
+ include Google::Apis::Core::JsonObjectSupport
3005
+ end
3006
+
2971
3007
  class GoogleCloudDialogflowV2beta1Intent
2972
3008
  class Representation < Google::Apis::Core::JsonRepresentation; end
2973
3009
 
@@ -3334,6 +3370,48 @@ module Google
3334
3370
  include Google::Apis::Core::JsonObjectSupport
3335
3371
  end
3336
3372
 
3373
+ class GoogleCloudDialogflowV2beta1ResponseMessage
3374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3375
+
3376
+ include Google::Apis::Core::JsonObjectSupport
3377
+ end
3378
+
3379
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
3380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3381
+
3382
+ include Google::Apis::Core::JsonObjectSupport
3383
+ end
3384
+
3385
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
3386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3387
+
3388
+ include Google::Apis::Core::JsonObjectSupport
3389
+ end
3390
+
3391
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
3392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3393
+
3394
+ include Google::Apis::Core::JsonObjectSupport
3395
+ end
3396
+
3397
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
3398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3399
+
3400
+ include Google::Apis::Core::JsonObjectSupport
3401
+ end
3402
+
3403
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
3404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3405
+
3406
+ include Google::Apis::Core::JsonObjectSupport
3407
+ end
3408
+
3409
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
3410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3411
+
3412
+ include Google::Apis::Core::JsonObjectSupport
3413
+ end
3414
+
3337
3415
  class GoogleCloudDialogflowV2beta1Sentiment
3338
3416
  class Representation < Google::Apis::Core::JsonRepresentation; end
3339
3417
 
@@ -3744,6 +3822,7 @@ module Google
3744
3822
  property :name, as: 'name'
3745
3823
  property :target_flow, as: 'targetFlow'
3746
3824
  property :target_page, as: 'targetPage'
3825
+ property :target_playbook, as: 'targetPlaybook'
3747
3826
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
3748
3827
 
3749
3828
  end
@@ -5041,6 +5120,7 @@ module Google
5041
5120
  class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
5042
5121
  # @private
5043
5122
  class Representation < Google::Apis::Core::JsonRepresentation
5123
+ property :model, as: 'model'
5044
5124
  property :model_output, as: 'modelOutput'
5045
5125
  property :rendered_prompt, as: 'renderedPrompt'
5046
5126
  end
@@ -5074,6 +5154,7 @@ module Google
5074
5154
  class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
5075
5155
  # @private
5076
5156
  class Representation < Google::Apis::Core::JsonRepresentation
5157
+ property :model, as: 'model'
5077
5158
  property :model_output, as: 'modelOutput'
5078
5159
  property :rendered_prompt, as: 'renderedPrompt'
5079
5160
  end
@@ -5263,6 +5344,7 @@ module Google
5263
5344
  property :name, as: 'name'
5264
5345
  property :target_flow, as: 'targetFlow'
5265
5346
  property :target_page, as: 'targetPage'
5347
+ property :target_playbook, as: 'targetPlaybook'
5266
5348
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
5267
5349
 
5268
5350
  end
@@ -7579,6 +7661,14 @@ module Google
7579
7661
  end
7580
7662
  end
7581
7663
 
7664
+ class GoogleCloudDialogflowV2EncryptionSpec
7665
+ # @private
7666
+ class Representation < Google::Apis::Core::JsonRepresentation
7667
+ property :kms_key, as: 'kmsKey'
7668
+ property :name, as: 'name'
7669
+ end
7670
+ end
7671
+
7582
7672
  class GoogleCloudDialogflowV2EntityType
7583
7673
  # @private
7584
7674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7680,6 +7770,22 @@ module Google
7680
7770
  end
7681
7771
  end
7682
7772
 
7773
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
7774
+ # @private
7775
+ class Representation < Google::Apis::Core::JsonRepresentation
7776
+ property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
7777
+
7778
+ end
7779
+ end
7780
+
7781
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
7782
+ # @private
7783
+ class Representation < Google::Apis::Core::JsonRepresentation
7784
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec::Representation
7785
+
7786
+ end
7787
+ end
7788
+
7683
7789
  class GoogleCloudDialogflowV2InputDataset
7684
7790
  # @private
7685
7791
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8395,6 +8501,14 @@ module Google
8395
8501
  end
8396
8502
  end
8397
8503
 
8504
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
8505
+ # @private
8506
+ class Representation < Google::Apis::Core::JsonRepresentation
8507
+ property :kms_key, as: 'kmsKey'
8508
+ property :name, as: 'name'
8509
+ end
8510
+ end
8511
+
8398
8512
  class GoogleCloudDialogflowV2beta1EntityType
8399
8513
  # @private
8400
8514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8478,6 +8592,22 @@ module Google
8478
8592
  end
8479
8593
  end
8480
8594
 
8595
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
8596
+ # @private
8597
+ class Representation < Google::Apis::Core::JsonRepresentation
8598
+ property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
8599
+
8600
+ end
8601
+ end
8602
+
8603
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
8604
+ # @private
8605
+ class Representation < Google::Apis::Core::JsonRepresentation
8606
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
8607
+
8608
+ end
8609
+ end
8610
+
8481
8611
  class GoogleCloudDialogflowV2beta1Intent
8482
8612
  # @private
8483
8613
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9077,6 +9207,8 @@ module Google
9077
9207
  property :name, as: 'name'
9078
9208
  property :participant, as: 'participant'
9079
9209
  property :participant_role, as: 'participantRole'
9210
+ collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
9211
+
9080
9212
  property :send_time, as: 'sendTime'
9081
9213
  property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
9082
9214
 
@@ -9129,6 +9261,68 @@ module Google
9129
9261
  end
9130
9262
  end
9131
9263
 
9264
+ class GoogleCloudDialogflowV2beta1ResponseMessage
9265
+ # @private
9266
+ class Representation < Google::Apis::Core::JsonRepresentation
9267
+ property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction::Representation
9268
+
9269
+ property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
9270
+
9271
+ property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::Representation
9272
+
9273
+ hash :payload, as: 'payload'
9274
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
9275
+
9276
+ property :text, as: 'text', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageText::Representation
9277
+
9278
+ end
9279
+ end
9280
+
9281
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
9282
+ # @private
9283
+ class Representation < Google::Apis::Core::JsonRepresentation
9284
+ end
9285
+ end
9286
+
9287
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
9288
+ # @private
9289
+ class Representation < Google::Apis::Core::JsonRepresentation
9290
+ hash :metadata, as: 'metadata'
9291
+ end
9292
+ end
9293
+
9294
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
9295
+ # @private
9296
+ class Representation < Google::Apis::Core::JsonRepresentation
9297
+ collection :segments, as: 'segments', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment::Representation
9298
+
9299
+ end
9300
+ end
9301
+
9302
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
9303
+ # @private
9304
+ class Representation < Google::Apis::Core::JsonRepresentation
9305
+ property :allow_playback_interruption, as: 'allowPlaybackInterruption'
9306
+ property :audio, :base64 => true, as: 'audio'
9307
+ property :uri, as: 'uri'
9308
+ end
9309
+ end
9310
+
9311
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
9312
+ # @private
9313
+ class Representation < Google::Apis::Core::JsonRepresentation
9314
+ property :phone_number, as: 'phoneNumber'
9315
+ property :sip_uri, as: 'sipUri'
9316
+ end
9317
+ end
9318
+
9319
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
9320
+ # @private
9321
+ class Representation < Google::Apis::Core::JsonRepresentation
9322
+ collection :text, as: 'text'
9323
+ end
9324
+ end
9325
+
9132
9326
  class GoogleCloudDialogflowV2beta1Sentiment
9133
9327
  # @private
9134
9328
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.87.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-06-09 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_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.87.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.89.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []