google-apis-dialogflow_v2beta1 0.34.0 → 0.35.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: 13c71bbdf4ac6e0f5557d8baaa4ac7b2e77c33eee72f03473261ab14f93f193b
4
- data.tar.gz: 5769c201f45005848f095f9c222bca17ff200e89c55288a40f18f50d0046c7c7
3
+ metadata.gz: f7b088310f5597ee38d53b0834ca3a9d1249d842e21735f99c259bdad37102dc
4
+ data.tar.gz: 585ccbee5177d678286bcae3b26ee06668ed118e4bda63cf5a1299074cdd633e
5
5
  SHA512:
6
- metadata.gz: 4e45fac8c314ab49a5d2caa27646fd950b94c203ae5082ddf04a8287665d73e5f09a351d36d3df4e5fd6fc477174088979f9b51c128a9078b3375040c689949e
7
- data.tar.gz: cb6e57fb0809f5f8e94bea025e1857de51dd4187f17b7fcb62023b5f47fe6fa9af3c08512555fd11ba1f2027aa3528e9dc745af17b360bfc49b63ae0d3761a2d
6
+ metadata.gz: f88156ef473c2456cb2af212ddea762aca44e306b19c336c5084ce54cc5412732e8d2f3386dd0e9455d9d0ad686b28644129cf90893742931d7c5b16b12383ee
7
+ data.tar.gz: 20a7694dbf2f3510f1ca319ae28547b28daeab04f86b128b8a2ad207bbf519c3435cd07df2c0638f581e194a956de8c042a4a6b7ab2a0d6dc3bbee4a59db27a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.35.0 (2022-05-05)
4
+
5
+ * Regenerated from discovery document revision 20220502
6
+
3
7
  ### v0.34.0 (2022-04-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20220411
@@ -8748,6 +8748,14 @@ module Google
8748
8748
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
8749
8749
  attr_accessor :assist_query_params
8750
8750
 
8751
+ # Additional parameters to be put into Dialogflow CX session parameters. To
8752
+ # remove a parameter from the session, clients should explicitly set the
8753
+ # parameter value to null. Note: this field should only be used if you are
8754
+ # connecting to a Dialogflow CX agent.
8755
+ # Corresponds to the JSON property `cxParameters`
8756
+ # @return [Hash<String,Object>]
8757
+ attr_accessor :cx_parameters
8758
+
8751
8759
  # Events allow for matching intents by event name instead of the natural
8752
8760
  # language input. For instance, input `` can trigger a personalized welcome
8753
8761
  # response. The parameter `name` may be used by the agent in the response: `"
@@ -8800,6 +8808,7 @@ module Google
8800
8808
  # Update properties of this object
8801
8809
  def update!(**args)
8802
8810
  @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
8811
+ @cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
8803
8812
  @event_input = args[:event_input] if args.key?(:event_input)
8804
8813
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
8805
8814
  @query_params = args[:query_params] if args.key?(:query_params)
@@ -14541,6 +14550,12 @@ module Google
14541
14550
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
14542
14551
  attr_accessor :live_agent_handoff
14543
14552
 
14553
+ # Represents an audio message that is composed of both segments synthesized from
14554
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
14555
+ # Corresponds to the JSON property `mixedAudio`
14556
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio]
14557
+ attr_accessor :mixed_audio
14558
+
14544
14559
  # Returns a response containing a custom, platform-specific payload.
14545
14560
  # Corresponds to the JSON property `payload`
14546
14561
  # @return [Hash<String,Object>]
@@ -14565,6 +14580,7 @@ module Google
14565
14580
  def update!(**args)
14566
14581
  @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
14567
14582
  @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
14583
+ @mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
14568
14584
  @payload = args[:payload] if args.key?(:payload)
14569
14585
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
14570
14586
  @text = args[:text] if args.key?(:text)
@@ -14610,6 +14626,61 @@ module Google
14610
14626
  end
14611
14627
  end
14612
14628
 
14629
+ # Represents an audio message that is composed of both segments synthesized from
14630
+ # the Dialogflow agent prompts and ones hosted externally at the specified URIs.
14631
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
14632
+ include Google::Apis::Core::Hashable
14633
+
14634
+ # Segments this audio response is composed of.
14635
+ # Corresponds to the JSON property `segments`
14636
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment>]
14637
+ attr_accessor :segments
14638
+
14639
+ def initialize(**args)
14640
+ update!(**args)
14641
+ end
14642
+
14643
+ # Update properties of this object
14644
+ def update!(**args)
14645
+ @segments = args[:segments] if args.key?(:segments)
14646
+ end
14647
+ end
14648
+
14649
+ # Represents one segment of audio.
14650
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
14651
+ include Google::Apis::Core::Hashable
14652
+
14653
+ # Whether the playback of this segment can be interrupted by the end user's
14654
+ # speech and the client should then start the next Dialogflow request.
14655
+ # Corresponds to the JSON property `allowPlaybackInterruption`
14656
+ # @return [Boolean]
14657
+ attr_accessor :allow_playback_interruption
14658
+ alias_method :allow_playback_interruption?, :allow_playback_interruption
14659
+
14660
+ # Raw audio synthesized from the Dialogflow agent's response using the output
14661
+ # config specified in the request.
14662
+ # Corresponds to the JSON property `audio`
14663
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
14664
+ # @return [String]
14665
+ attr_accessor :audio
14666
+
14667
+ # Client-specific URI that points to an audio clip accessible to the client.
14668
+ # Corresponds to the JSON property `uri`
14669
+ # @return [String]
14670
+ attr_accessor :uri
14671
+
14672
+ def initialize(**args)
14673
+ update!(**args)
14674
+ end
14675
+
14676
+ # Update properties of this object
14677
+ def update!(**args)
14678
+ @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
14679
+ @audio = args[:audio] if args.key?(:audio)
14680
+ @uri = args[:uri] if args.key?(:uri)
14681
+ end
14682
+ end
14683
+
14613
14684
  # Represents the signal that telles the client to transfer the phone call
14614
14685
  # connected to the agent to a third-party endpoint.
14615
14686
  class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220411"
25
+ REVISION = "20220502"
26
26
  end
27
27
  end
28
28
  end
@@ -2392,6 +2392,18 @@ module Google
2392
2392
  include Google::Apis::Core::JsonObjectSupport
2393
2393
  end
2394
2394
 
2395
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
2396
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2397
+
2398
+ include Google::Apis::Core::JsonObjectSupport
2399
+ end
2400
+
2401
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
2402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2403
+
2404
+ include Google::Apis::Core::JsonObjectSupport
2405
+ end
2406
+
2395
2407
  class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
2396
2408
  class Representation < Google::Apis::Core::JsonRepresentation; end
2397
2409
 
@@ -5097,6 +5109,7 @@ module Google
5097
5109
  class Representation < Google::Apis::Core::JsonRepresentation
5098
5110
  property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
5099
5111
 
5112
+ hash :cx_parameters, as: 'cxParameters'
5100
5113
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput::Representation
5101
5114
 
5102
5115
  property :message_send_time, as: 'messageSendTime'
@@ -6677,6 +6690,8 @@ module Google
6677
6690
 
6678
6691
  property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::Representation
6679
6692
 
6693
+ property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::Representation
6694
+
6680
6695
  hash :payload, as: 'payload'
6681
6696
  property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::Representation
6682
6697
 
@@ -6698,6 +6713,23 @@ module Google
6698
6713
  end
6699
6714
  end
6700
6715
 
6716
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
6717
+ # @private
6718
+ class Representation < Google::Apis::Core::JsonRepresentation
6719
+ collection :segments, as: 'segments', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment::Representation
6720
+
6721
+ end
6722
+ end
6723
+
6724
+ class GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
6725
+ # @private
6726
+ class Representation < Google::Apis::Core::JsonRepresentation
6727
+ property :allow_playback_interruption, as: 'allowPlaybackInterruption'
6728
+ property :audio, :base64 => true, as: 'audio'
6729
+ property :uri, as: 'uri'
6730
+ end
6731
+ end
6732
+
6701
6733
  class GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
6702
6734
  # @private
6703
6735
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.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: 2022-04-18 00:00:00.000000000 Z
11
+ date: 2022-05-09 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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []