google-apis-dialogflow_v2 0.92.0 → 0.93.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: 610c076eff5779cdd10ac37acaa8a78e30f7bf5033603a438b95d4768e5d909b
4
- data.tar.gz: a2df15058fb61444b825fda37bf4cda5672f6f27f244cdf50849fcc1d7eca41c
3
+ metadata.gz: f895ecdfdbe1869ef2d5638b1a28ef0ed96d48495480cc122d5c4f676f244224
4
+ data.tar.gz: bf1daa0699f4e10f3fb3f017978369ec668000451d279de12411f5a4bec24b72
5
5
  SHA512:
6
- metadata.gz: 37e5e1f51e76f4b63e106fccc67755c6914f1f9fdee7e50dfe90736dadc49241d8763ebaccadb4d8affbd847a63e40980beb3d08e5b8bc5e53023b373723d1fb
7
- data.tar.gz: 236f7d139f22438a812f7f71bc3ce36338b2b9508cad9edd851d9931a230dad7e8da700b2ea5a3cae9752005fd4ca420d4e4c7462030186aaf45d45e89b698ef
6
+ metadata.gz: 04e0f456966bd79512db0630dc40def620d2abadd9cf686ea6f4f907367c028b3e85e7091d3140146fe03c172247dd2f8281253b2df35ba4da4a982b91f0f6e7
7
+ data.tar.gz: '081eda2b5067c9dda0d872ae46e7298e33067bf4721ab125225b0847fbafb7d43834afa94fcb6b1c88aba5e99894e16edef66d97e46c5b868ae17601d5b9e6ba'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.93.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240704
6
+
3
7
  ### v0.92.0 (2024-06-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240617
@@ -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
@@ -4680,6 +4687,12 @@ module Google
4680
4687
  # @return [String]
4681
4688
  attr_accessor :target_page
4682
4689
 
4690
+ # The target playbook to transition to. Format: `projects//locations//agents//
4691
+ # playbooks/`.
4692
+ # Corresponds to the JSON property `targetPlaybook`
4693
+ # @return [String]
4694
+ attr_accessor :target_playbook
4695
+
4683
4696
  # A fulfillment can do one or more of the following actions at the same time: *
4684
4697
  # Generate rich message responses. * Set parameter values. * Call the webhook.
4685
4698
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -4701,6 +4714,7 @@ module Google
4701
4714
  @name = args[:name] if args.key?(:name)
4702
4715
  @target_flow = args[:target_flow] if args.key?(:target_flow)
4703
4716
  @target_page = args[:target_page] if args.key?(:target_page)
4717
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
4704
4718
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
4705
4719
  end
4706
4720
  end
@@ -9905,6 +9919,37 @@ module Google
9905
9919
  end
9906
9920
  end
9907
9921
 
9922
+ # A customer-managed encryption key specification that can be applied to all
9923
+ # created resources (e.g. Conversation).
9924
+ class GoogleCloudDialogflowV2EncryptionSpec
9925
+ include Google::Apis::Core::Hashable
9926
+
9927
+ # Required. The name of customer-managed encryption key that is used to secure a
9928
+ # resource and its sub-resources. If empty, the resource is secured by the
9929
+ # default Google encryption key. Only the key in the same location as this
9930
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
9931
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
9932
+ # Corresponds to the JSON property `kmsKey`
9933
+ # @return [String]
9934
+ attr_accessor :kms_key
9935
+
9936
+ # Immutable. The resource name of the encryption key specification resource.
9937
+ # Format: projects/`project`/locations/`location`/encryptionSpec
9938
+ # Corresponds to the JSON property `name`
9939
+ # @return [String]
9940
+ attr_accessor :name
9941
+
9942
+ def initialize(**args)
9943
+ update!(**args)
9944
+ end
9945
+
9946
+ # Update properties of this object
9947
+ def update!(**args)
9948
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
9949
+ @name = args[:name] if args.key?(:name)
9950
+ end
9951
+ end
9952
+
9908
9953
  # Each intent parameter has a type, called the entity type, which dictates
9909
9954
  # exactly how data from an end-user expression is extracted. Dialogflow provides
9910
9955
  # predefined system entities that can match many common types of data. For
@@ -11818,6 +11863,45 @@ module Google
11818
11863
  end
11819
11864
  end
11820
11865
 
11866
+ # Metadata for initializing a location-level encryption specification.
11867
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
11868
+ include Google::Apis::Core::Hashable
11869
+
11870
+ # The request to initialize a location-level encryption specification.
11871
+ # Corresponds to the JSON property `request`
11872
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
11873
+ attr_accessor :request
11874
+
11875
+ def initialize(**args)
11876
+ update!(**args)
11877
+ end
11878
+
11879
+ # Update properties of this object
11880
+ def update!(**args)
11881
+ @request = args[:request] if args.key?(:request)
11882
+ end
11883
+ end
11884
+
11885
+ # The request to initialize a location-level encryption specification.
11886
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
11887
+ include Google::Apis::Core::Hashable
11888
+
11889
+ # A customer-managed encryption key specification that can be applied to all
11890
+ # created resources (e.g. Conversation).
11891
+ # Corresponds to the JSON property `encryptionSpec`
11892
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec]
11893
+ attr_accessor :encryption_spec
11894
+
11895
+ def initialize(**args)
11896
+ update!(**args)
11897
+ end
11898
+
11899
+ # Update properties of this object
11900
+ def update!(**args)
11901
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
11902
+ end
11903
+ end
11904
+
11821
11905
  # Instructs the speech recognizer how to process the audio content.
11822
11906
  class GoogleCloudDialogflowV2InputAudioConfig
11823
11907
  include Google::Apis::Core::Hashable
@@ -16659,6 +16743,37 @@ module Google
16659
16743
  end
16660
16744
  end
16661
16745
 
16746
+ # A customer-managed encryption key specification that can be applied to all
16747
+ # created resources (e.g. Conversation).
16748
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
16749
+ include Google::Apis::Core::Hashable
16750
+
16751
+ # Required. The name of customer-managed encryption key that is used to secure a
16752
+ # resource and its sub-resources. If empty, the resource is secured by the
16753
+ # default Google encryption key. Only the key in the same location as this
16754
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
16755
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
16756
+ # Corresponds to the JSON property `kmsKey`
16757
+ # @return [String]
16758
+ attr_accessor :kms_key
16759
+
16760
+ # Immutable. The resource name of the encryption key specification resource.
16761
+ # Format: projects/`project`/locations/`location`/encryptionSpec
16762
+ # Corresponds to the JSON property `name`
16763
+ # @return [String]
16764
+ attr_accessor :name
16765
+
16766
+ def initialize(**args)
16767
+ update!(**args)
16768
+ end
16769
+
16770
+ # Update properties of this object
16771
+ def update!(**args)
16772
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
16773
+ @name = args[:name] if args.key?(:name)
16774
+ end
16775
+ end
16776
+
16662
16777
  # Each intent parameter has a type, called the entity type, which dictates
16663
16778
  # exactly how data from an end-user expression is extracted. Dialogflow provides
16664
16779
  # predefined system entities that can match many common types of data. For
@@ -16977,6 +17092,45 @@ module Google
16977
17092
  end
16978
17093
  end
16979
17094
 
17095
+ # Metadata for initializing a location-level encryption specification.
17096
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
17097
+ include Google::Apis::Core::Hashable
17098
+
17099
+ # The request to initialize a location-level encryption specification.
17100
+ # Corresponds to the JSON property `request`
17101
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
17102
+ attr_accessor :request
17103
+
17104
+ def initialize(**args)
17105
+ update!(**args)
17106
+ end
17107
+
17108
+ # Update properties of this object
17109
+ def update!(**args)
17110
+ @request = args[:request] if args.key?(:request)
17111
+ end
17112
+ end
17113
+
17114
+ # The request to initialize a location-level encryption specification.
17115
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
17116
+ include Google::Apis::Core::Hashable
17117
+
17118
+ # A customer-managed encryption key specification that can be applied to all
17119
+ # created resources (e.g. Conversation).
17120
+ # Corresponds to the JSON property `encryptionSpec`
17121
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec]
17122
+ attr_accessor :encryption_spec
17123
+
17124
+ def initialize(**args)
17125
+ update!(**args)
17126
+ end
17127
+
17128
+ # Update properties of this object
17129
+ def update!(**args)
17130
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
17131
+ end
17132
+ end
17133
+
16980
17134
  # An intent categorizes an end-user's intention for one conversation turn. For
16981
17135
  # each agent, you define many intents, where your combined intents can handle a
16982
17136
  # complete conversation. When an end-user writes or says something, referred to
@@ -19033,6 +19187,11 @@ module Google
19033
19187
  # @return [String]
19034
19188
  attr_accessor :participant_role
19035
19189
 
19190
+ # Optional. Automated agent responses.
19191
+ # Corresponds to the JSON property `responseMessages`
19192
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessage>]
19193
+ attr_accessor :response_messages
19194
+
19036
19195
  # Optional. The time when the message was sent.
19037
19196
  # Corresponds to the JSON property `sendTime`
19038
19197
  # @return [String]
@@ -19063,6 +19222,7 @@ module Google
19063
19222
  @name = args[:name] if args.key?(:name)
19064
19223
  @participant = args[:participant] if args.key?(:participant)
19065
19224
  @participant_role = args[:participant_role] if args.key?(:participant_role)
19225
+ @response_messages = args[:response_messages] if args.key?(:response_messages)
19066
19226
  @send_time = args[:send_time] if args.key?(:send_time)
19067
19227
  @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
19068
19228
  end
@@ -19306,6 +19466,203 @@ module Google
19306
19466
  end
19307
19467
  end
19308
19468
 
19469
+ # Response messages from an automated agent.
19470
+ class GoogleCloudDialogflowV2beta1ResponseMessage
19471
+ include Google::Apis::Core::Hashable
19472
+
19473
+ # Indicates that interaction with the Dialogflow agent has ended.
19474
+ # Corresponds to the JSON property `endInteraction`
19475
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction]
19476
+ attr_accessor :end_interaction
19477
+
19478
+ # Indicates that the conversation should be handed off to a human agent.
19479
+ # Dialogflow only uses this to determine which conversations were handed off to
19480
+ # a human agent for measurement purposes. What else to do with this signal is up
19481
+ # to you and your handoff procedures. You may set this, for example: * In the
19482
+ # entry fulfillment of a CX Page if entering the page indicates something went
19483
+ # extremely wrong in the conversation. * In a webhook response when you
19484
+ # determine that the customer issue can only be handled by a human.
19485
+ # Corresponds to the JSON property `liveAgentHandoff`
19486
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
19487
+ attr_accessor :live_agent_handoff
19488
+
19489
+ # Represents an audio message that is composed of both segments synthesized from
19490
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
19491
+ # Corresponds to the JSON property `mixedAudio`
19492
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
19493
+ attr_accessor :mixed_audio
19494
+
19495
+ # Returns a response containing a custom, platform-specific payload.
19496
+ # Corresponds to the JSON property `payload`
19497
+ # @return [Hash<String,Object>]
19498
+ attr_accessor :payload
19499
+
19500
+ # Represents the signal that telles the client to transfer the phone call
19501
+ # connected to the agent to a third-party endpoint.
19502
+ # Corresponds to the JSON property `telephonyTransferCall`
19503
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall]
19504
+ attr_accessor :telephony_transfer_call
19505
+
19506
+ # The text response message.
19507
+ # Corresponds to the JSON property `text`
19508
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageText]
19509
+ attr_accessor :text
19510
+
19511
+ def initialize(**args)
19512
+ update!(**args)
19513
+ end
19514
+
19515
+ # Update properties of this object
19516
+ def update!(**args)
19517
+ @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
19518
+ @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
19519
+ @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
19520
+ @payload = args[:payload] if args.key?(:payload)
19521
+ @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
19522
+ @text = args[:text] if args.key?(:text)
19523
+ end
19524
+ end
19525
+
19526
+ # Indicates that interaction with the Dialogflow agent has ended.
19527
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
19528
+ include Google::Apis::Core::Hashable
19529
+
19530
+ def initialize(**args)
19531
+ update!(**args)
19532
+ end
19533
+
19534
+ # Update properties of this object
19535
+ def update!(**args)
19536
+ end
19537
+ end
19538
+
19539
+ # Indicates that the conversation should be handed off to a human agent.
19540
+ # Dialogflow only uses this to determine which conversations were handed off to
19541
+ # a human agent for measurement purposes. What else to do with this signal is up
19542
+ # to you and your handoff procedures. You may set this, for example: * In the
19543
+ # entry fulfillment of a CX Page if entering the page indicates something went
19544
+ # extremely wrong in the conversation. * In a webhook response when you
19545
+ # determine that the customer issue can only be handled by a human.
19546
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
19547
+ include Google::Apis::Core::Hashable
19548
+
19549
+ # Custom metadata for your handoff procedure. Dialogflow doesn't impose any
19550
+ # structure on this.
19551
+ # Corresponds to the JSON property `metadata`
19552
+ # @return [Hash<String,Object>]
19553
+ attr_accessor :metadata
19554
+
19555
+ def initialize(**args)
19556
+ update!(**args)
19557
+ end
19558
+
19559
+ # Update properties of this object
19560
+ def update!(**args)
19561
+ @metadata = args[:metadata] if args.key?(:metadata)
19562
+ end
19563
+ end
19564
+
19565
+ # Represents an audio message that is composed of both segments synthesized from
19566
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
19567
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
19568
+ include Google::Apis::Core::Hashable
19569
+
19570
+ # Segments this audio response is composed of.
19571
+ # Corresponds to the JSON property `segments`
19572
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
19573
+ attr_accessor :segments
19574
+
19575
+ def initialize(**args)
19576
+ update!(**args)
19577
+ end
19578
+
19579
+ # Update properties of this object
19580
+ def update!(**args)
19581
+ @segments = args[:segments] if args.key?(:segments)
19582
+ end
19583
+ end
19584
+
19585
+ # Represents one segment of audio.
19586
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
19587
+ include Google::Apis::Core::Hashable
19588
+
19589
+ # Whether the playback of this segment can be interrupted by the end user's
19590
+ # speech and the client should then start the next Dialogflow request.
19591
+ # Corresponds to the JSON property `allowPlaybackInterruption`
19592
+ # @return [Boolean]
19593
+ attr_accessor :allow_playback_interruption
19594
+ alias_method :allow_playback_interruption?, :allow_playback_interruption
19595
+
19596
+ # Raw audio synthesized from the Dialogflow agent's response using the output
19597
+ # config specified in the request.
19598
+ # Corresponds to the JSON property `audio`
19599
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19600
+ # @return [String]
19601
+ attr_accessor :audio
19602
+
19603
+ # Client-specific URI that points to an audio clip accessible to the client.
19604
+ # Corresponds to the JSON property `uri`
19605
+ # @return [String]
19606
+ attr_accessor :uri
19607
+
19608
+ def initialize(**args)
19609
+ update!(**args)
19610
+ end
19611
+
19612
+ # Update properties of this object
19613
+ def update!(**args)
19614
+ @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
19615
+ @audio = args[:audio] if args.key?(:audio)
19616
+ @uri = args[:uri] if args.key?(:uri)
19617
+ end
19618
+ end
19619
+
19620
+ # Represents the signal that telles the client to transfer the phone call
19621
+ # connected to the agent to a third-party endpoint.
19622
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
19623
+ include Google::Apis::Core::Hashable
19624
+
19625
+ # Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/
19626
+ # wiki/E.164).
19627
+ # Corresponds to the JSON property `phoneNumber`
19628
+ # @return [String]
19629
+ attr_accessor :phone_number
19630
+
19631
+ # Transfer the call to a SIP endpoint.
19632
+ # Corresponds to the JSON property `sipUri`
19633
+ # @return [String]
19634
+ attr_accessor :sip_uri
19635
+
19636
+ def initialize(**args)
19637
+ update!(**args)
19638
+ end
19639
+
19640
+ # Update properties of this object
19641
+ def update!(**args)
19642
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
19643
+ @sip_uri = args[:sip_uri] if args.key?(:sip_uri)
19644
+ end
19645
+ end
19646
+
19647
+ # The text response message.
19648
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
19649
+ include Google::Apis::Core::Hashable
19650
+
19651
+ # A collection of text responses.
19652
+ # Corresponds to the JSON property `text`
19653
+ # @return [Array<String>]
19654
+ attr_accessor :text
19655
+
19656
+ def initialize(**args)
19657
+ update!(**args)
19658
+ end
19659
+
19660
+ # Update properties of this object
19661
+ def update!(**args)
19662
+ @text = args[:text] if args.key?(:text)
19663
+ end
19664
+ end
19665
+
19309
19666
  # The sentiment, such as positive/negative feeling or association, for a unit of
19310
19667
  # analysis, such as the query text. See: https://cloud.google.com/natural-
19311
19668
  # language/docs/basics#interpreting_sentiment_analysis_values for how to
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.92.0"
19
+ GEM_VERSION = "0.93.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 = "20240704"
26
26
  end
27
27
  end
28
28
  end
@@ -1636,6 +1636,12 @@ module Google
1636
1636
  include Google::Apis::Core::JsonObjectSupport
1637
1637
  end
1638
1638
 
1639
+ class GoogleCloudDialogflowV2EncryptionSpec
1640
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1641
+
1642
+ include Google::Apis::Core::JsonObjectSupport
1643
+ end
1644
+
1639
1645
  class GoogleCloudDialogflowV2EntityType
1640
1646
  class Representation < Google::Apis::Core::JsonRepresentation; end
1641
1647
 
@@ -1966,6 +1972,18 @@ module Google
1966
1972
  include Google::Apis::Core::JsonObjectSupport
1967
1973
  end
1968
1974
 
1975
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
1976
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1977
+
1978
+ include Google::Apis::Core::JsonObjectSupport
1979
+ end
1980
+
1981
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
1982
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1983
+
1984
+ include Google::Apis::Core::JsonObjectSupport
1985
+ end
1986
+
1969
1987
  class GoogleCloudDialogflowV2InputAudioConfig
1970
1988
  class Representation < Google::Apis::Core::JsonRepresentation; end
1971
1989
 
@@ -2764,6 +2782,12 @@ module Google
2764
2782
  include Google::Apis::Core::JsonObjectSupport
2765
2783
  end
2766
2784
 
2785
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
2786
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2787
+
2788
+ include Google::Apis::Core::JsonObjectSupport
2789
+ end
2790
+
2767
2791
  class GoogleCloudDialogflowV2beta1EntityType
2768
2792
  class Representation < Google::Apis::Core::JsonRepresentation; end
2769
2793
 
@@ -2818,6 +2842,18 @@ module Google
2818
2842
  include Google::Apis::Core::JsonObjectSupport
2819
2843
  end
2820
2844
 
2845
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
2846
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2847
+
2848
+ include Google::Apis::Core::JsonObjectSupport
2849
+ end
2850
+
2851
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
2852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2853
+
2854
+ include Google::Apis::Core::JsonObjectSupport
2855
+ end
2856
+
2821
2857
  class GoogleCloudDialogflowV2beta1Intent
2822
2858
  class Representation < Google::Apis::Core::JsonRepresentation; end
2823
2859
 
@@ -3184,6 +3220,48 @@ module Google
3184
3220
  include Google::Apis::Core::JsonObjectSupport
3185
3221
  end
3186
3222
 
3223
+ class GoogleCloudDialogflowV2beta1ResponseMessage
3224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3225
+
3226
+ include Google::Apis::Core::JsonObjectSupport
3227
+ end
3228
+
3229
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
3230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3231
+
3232
+ include Google::Apis::Core::JsonObjectSupport
3233
+ end
3234
+
3235
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
3236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3237
+
3238
+ include Google::Apis::Core::JsonObjectSupport
3239
+ end
3240
+
3241
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
3242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3243
+
3244
+ include Google::Apis::Core::JsonObjectSupport
3245
+ end
3246
+
3247
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
3248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3249
+
3250
+ include Google::Apis::Core::JsonObjectSupport
3251
+ end
3252
+
3253
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
3254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3255
+
3256
+ include Google::Apis::Core::JsonObjectSupport
3257
+ end
3258
+
3259
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
3260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3261
+
3262
+ include Google::Apis::Core::JsonObjectSupport
3263
+ end
3264
+
3187
3265
  class GoogleCloudDialogflowV2beta1Sentiment
3188
3266
  class Representation < Google::Apis::Core::JsonRepresentation; end
3189
3267
 
@@ -3594,6 +3672,7 @@ module Google
3594
3672
  property :name, as: 'name'
3595
3673
  property :target_flow, as: 'targetFlow'
3596
3674
  property :target_page, as: 'targetPage'
3675
+ property :target_playbook, as: 'targetPlaybook'
3597
3676
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation
3598
3677
 
3599
3678
  end
@@ -4648,6 +4727,7 @@ module Google
4648
4727
  property :name, as: 'name'
4649
4728
  property :target_flow, as: 'targetFlow'
4650
4729
  property :target_page, as: 'targetPage'
4730
+ property :target_playbook, as: 'targetPlaybook'
4651
4731
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
4652
4732
 
4653
4733
  end
@@ -6055,6 +6135,14 @@ module Google
6055
6135
  end
6056
6136
  end
6057
6137
 
6138
+ class GoogleCloudDialogflowV2EncryptionSpec
6139
+ # @private
6140
+ class Representation < Google::Apis::Core::JsonRepresentation
6141
+ property :kms_key, as: 'kmsKey'
6142
+ property :name, as: 'name'
6143
+ end
6144
+ end
6145
+
6058
6146
  class GoogleCloudDialogflowV2EntityType
6059
6147
  # @private
6060
6148
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6590,6 +6678,22 @@ module Google
6590
6678
  end
6591
6679
  end
6592
6680
 
6681
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
6682
+ # @private
6683
+ class Representation < Google::Apis::Core::JsonRepresentation
6684
+ property :request, as: 'request', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
6685
+
6686
+ end
6687
+ end
6688
+
6689
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
6690
+ # @private
6691
+ class Representation < Google::Apis::Core::JsonRepresentation
6692
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec::Representation
6693
+
6694
+ end
6695
+ end
6696
+
6593
6697
  class GoogleCloudDialogflowV2InputAudioConfig
6594
6698
  # @private
6595
6699
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7928,6 +8032,14 @@ module Google
7928
8032
  end
7929
8033
  end
7930
8034
 
8035
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
8036
+ # @private
8037
+ class Representation < Google::Apis::Core::JsonRepresentation
8038
+ property :kms_key, as: 'kmsKey'
8039
+ property :name, as: 'name'
8040
+ end
8041
+ end
8042
+
7931
8043
  class GoogleCloudDialogflowV2beta1EntityType
7932
8044
  # @private
7933
8045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8011,6 +8123,22 @@ module Google
8011
8123
  end
8012
8124
  end
8013
8125
 
8126
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
8127
+ # @private
8128
+ class Representation < Google::Apis::Core::JsonRepresentation
8129
+ property :request, as: 'request', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
8130
+
8131
+ end
8132
+ end
8133
+
8134
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
8135
+ # @private
8136
+ class Representation < Google::Apis::Core::JsonRepresentation
8137
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
8138
+
8139
+ end
8140
+ end
8141
+
8014
8142
  class GoogleCloudDialogflowV2beta1Intent
8015
8143
  # @private
8016
8144
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8610,6 +8738,8 @@ module Google
8610
8738
  property :name, as: 'name'
8611
8739
  property :participant, as: 'participant'
8612
8740
  property :participant_role, as: 'participantRole'
8741
+ collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
8742
+
8613
8743
  property :send_time, as: 'sendTime'
8614
8744
  property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
8615
8745
 
@@ -8662,6 +8792,68 @@ module Google
8662
8792
  end
8663
8793
  end
8664
8794
 
8795
+ class GoogleCloudDialogflowV2beta1ResponseMessage
8796
+ # @private
8797
+ class Representation < Google::Apis::Core::JsonRepresentation
8798
+ property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction::Representation
8799
+
8800
+ property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
8801
+
8802
+ property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::Representation
8803
+
8804
+ hash :payload, as: 'payload'
8805
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
8806
+
8807
+ property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageText::Representation
8808
+
8809
+ end
8810
+ end
8811
+
8812
+ class GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
8813
+ # @private
8814
+ class Representation < Google::Apis::Core::JsonRepresentation
8815
+ end
8816
+ end
8817
+
8818
+ class GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
8819
+ # @private
8820
+ class Representation < Google::Apis::Core::JsonRepresentation
8821
+ hash :metadata, as: 'metadata'
8822
+ end
8823
+ end
8824
+
8825
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
8826
+ # @private
8827
+ class Representation < Google::Apis::Core::JsonRepresentation
8828
+ collection :segments, as: 'segments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment::Representation
8829
+
8830
+ end
8831
+ end
8832
+
8833
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
8834
+ # @private
8835
+ class Representation < Google::Apis::Core::JsonRepresentation
8836
+ property :allow_playback_interruption, as: 'allowPlaybackInterruption'
8837
+ property :audio, :base64 => true, as: 'audio'
8838
+ property :uri, as: 'uri'
8839
+ end
8840
+ end
8841
+
8842
+ class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
8843
+ # @private
8844
+ class Representation < Google::Apis::Core::JsonRepresentation
8845
+ property :phone_number, as: 'phoneNumber'
8846
+ property :sip_uri, as: 'sipUri'
8847
+ end
8848
+ end
8849
+
8850
+ class GoogleCloudDialogflowV2beta1ResponseMessageText
8851
+ # @private
8852
+ class Representation < Google::Apis::Core::JsonRepresentation
8853
+ collection :text, as: 'text'
8854
+ end
8855
+ end
8856
+
8665
8857
  class GoogleCloudDialogflowV2beta1Sentiment
8666
8858
  # @private
8667
8859
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5013,6 +5013,36 @@ module Google
5013
5013
  execute_or_queue_command(command, &block)
5014
5014
  end
5015
5015
 
5016
+ # Gets location-level encryption key specification.
5017
+ # @param [String] name
5018
+ # Required. The name of the encryption spec resource to get.
5019
+ # @param [String] fields
5020
+ # Selector specifying which fields to include in a partial response.
5021
+ # @param [String] quota_user
5022
+ # Available to use for quota purposes for server-side applications. Can be any
5023
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5024
+ # @param [Google::Apis::RequestOptions] options
5025
+ # Request-specific options
5026
+ #
5027
+ # @yield [result, err] Result & error if block supplied
5028
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec] parsed result object
5029
+ # @yieldparam err [StandardError] error object if request failed
5030
+ #
5031
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec]
5032
+ #
5033
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5034
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5035
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5036
+ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, options: nil, &block)
5037
+ command = make_simple_command(:get, 'v2/{+name}', options)
5038
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec::Representation
5039
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EncryptionSpec
5040
+ command.params['name'] = name unless name.nil?
5041
+ command.query['fields'] = fields unless fields.nil?
5042
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5043
+ execute_or_queue_command(command, &block)
5044
+ end
5045
+
5016
5046
  # Lists information about the supported locations for this service.
5017
5047
  # @param [String] name
5018
5048
  # The resource that owns the locations collection, if applicable.
@@ -8959,6 +8989,44 @@ module Google
8959
8989
  execute_or_queue_command(command, &block)
8960
8990
  end
8961
8991
 
8992
+ # Initializes a location-level encryption key specification. An error will be
8993
+ # thrown if the location has resources already created before the initialization.
8994
+ # Once the encryption specification is initialized at a location, it is
8995
+ # immutable and all newly created resources under the location will be encrypted
8996
+ # with the existing specification.
8997
+ # @param [String] name
8998
+ # Immutable. The resource name of the encryption key specification resource.
8999
+ # Format: projects/`project`/locations/`location`/encryptionSpec
9000
+ # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest] google_cloud_dialogflow_v2_initialize_encryption_spec_request_object
9001
+ # @param [String] fields
9002
+ # Selector specifying which fields to include in a partial response.
9003
+ # @param [String] quota_user
9004
+ # Available to use for quota purposes for server-side applications. Can be any
9005
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9006
+ # @param [Google::Apis::RequestOptions] options
9007
+ # Request-specific options
9008
+ #
9009
+ # @yield [result, err] Result & error if block supplied
9010
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningOperation] parsed result object
9011
+ # @yieldparam err [StandardError] error object if request failed
9012
+ #
9013
+ # @return [Google::Apis::DialogflowV2::GoogleLongrunningOperation]
9014
+ #
9015
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9016
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9017
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9018
+ def initialize_project_location_encryption_spec(name, google_cloud_dialogflow_v2_initialize_encryption_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9019
+ command = make_simple_command(:post, 'v2/{+name}:initialize', options)
9020
+ command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
9021
+ command.request_object = google_cloud_dialogflow_v2_initialize_encryption_spec_request_object
9022
+ command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
9023
+ command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
9024
+ command.params['name'] = name unless name.nil?
9025
+ command.query['fields'] = fields unless fields.nil?
9026
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9027
+ execute_or_queue_command(command, &block)
9028
+ end
9029
+
8962
9030
  # Creates a generator.
8963
9031
  # @param [String] parent
8964
9032
  # Required. The project/location to create generator for. Format: `projects//
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.92.0
4
+ version: 0.93.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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.92.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.93.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []