google-apis-dialogflow_v2beta1 0.32.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: 2a6dab99806759cc9d2310c01edb5a0a5a575a96cb5ebfe2aa6f0d7956111908
4
- data.tar.gz: ce4709b040923d2ef0c962b07845d6622240659b8e6ff7dfc5114a4cedd3e4ca
3
+ metadata.gz: f7b088310f5597ee38d53b0834ca3a9d1249d842e21735f99c259bdad37102dc
4
+ data.tar.gz: 585ccbee5177d678286bcae3b26ee06668ed118e4bda63cf5a1299074cdd633e
5
5
  SHA512:
6
- metadata.gz: b046047eb5d6d61b71195457ce27c23885e58dba57c3b514806b8482864b072ec4f4fd5b14ce9dfa332d080252e8e4a3b44ebaf539c449759c80389f7472afd6
7
- data.tar.gz: 61b7b30b19aa8d7ec84511f07acadcd74b60233d6e3dd0aadf43c1b4c7e7f83d70dedf5ac8158ae8a0f75169a827d6e464a47c1ae6941e5f286ba4a4a8561d3b
6
+ metadata.gz: f88156ef473c2456cb2af212ddea762aca44e306b19c336c5084ce54cc5412732e8d2f3386dd0e9455d9d0ad686b28644129cf90893742931d7c5b16b12383ee
7
+ data.tar.gz: 20a7694dbf2f3510f1ca319ae28547b28daeab04f86b128b8a2ad207bbf519c3435cd07df2c0638f581e194a956de8c042a4a6b7ab2a0d6dc3bbee4a59db27a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.34.0 (2022-04-14)
8
+
9
+ * Regenerated from discovery document revision 20220411
10
+
11
+ ### v0.33.0 (2022-04-06)
12
+
13
+ * Regenerated from discovery document revision 20220404
14
+
3
15
  ### v0.32.0 (2022-03-31)
4
16
 
5
17
  * Regenerated from discovery document revision 20220330
@@ -873,8 +873,11 @@ module Google
873
873
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
874
874
  attr_accessor :set_parameter_actions
875
875
 
876
- # The tag used by the webhook to identify which fulfillment is being called.
877
- # This field is required if `webhook` is specified.
876
+ # The value of this field will be populated in the WebhookRequest `
877
+ # fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.
878
+ # The tag is typically used by the webhook service to identify which
879
+ # fulfillment is being called, but it could be used for other purposes. This
880
+ # field is required if `webhook` is specified.
878
881
  # Corresponds to the JSON property `tag`
879
882
  # @return [String]
880
883
  attr_accessor :tag
@@ -1436,7 +1439,7 @@ module Google
1436
1439
  class GoogleCloudDialogflowCxV3Page
1437
1440
  include Google::Apis::Core::Hashable
1438
1441
 
1439
- # Required. The human-readable name of the page, unique within the agent.
1442
+ # Required. The human-readable name of the page, unique within the flow.
1440
1443
  # Corresponds to the JSON property `displayName`
1441
1444
  # @return [String]
1442
1445
  attr_accessor :display_name
@@ -2592,7 +2595,10 @@ module Google
2592
2595
  class GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
2593
2596
  include Google::Apis::Core::Hashable
2594
2597
 
2595
- # Always present. The tag used to identify which fulfillment is being called.
2598
+ # Always present. The value of the Fulfillment.tag field will be populated in
2599
+ # this field by Dialogflow when the associated webhook is called. The tag is
2600
+ # typically used by the webhook service to identify which fulfillment is being
2601
+ # called, but it could be used for other purposes.
2596
2602
  # Corresponds to the JSON property `tag`
2597
2603
  # @return [String]
2598
2604
  attr_accessor :tag
@@ -3628,8 +3634,11 @@ module Google
3628
3634
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
3629
3635
  attr_accessor :set_parameter_actions
3630
3636
 
3631
- # The tag used by the webhook to identify which fulfillment is being called.
3632
- # This field is required if `webhook` is specified.
3637
+ # The value of this field will be populated in the WebhookRequest `
3638
+ # fulfillmentInfo.tag` field by Dialogflow when the associated webhook is called.
3639
+ # The tag is typically used by the webhook service to identify which
3640
+ # fulfillment is being called, but it could be used for other purposes. This
3641
+ # field is required if `webhook` is specified.
3633
3642
  # Corresponds to the JSON property `tag`
3634
3643
  # @return [String]
3635
3644
  attr_accessor :tag
@@ -4191,7 +4200,7 @@ module Google
4191
4200
  class GoogleCloudDialogflowCxV3beta1Page
4192
4201
  include Google::Apis::Core::Hashable
4193
4202
 
4194
- # Required. The human-readable name of the page, unique within the agent.
4203
+ # Required. The human-readable name of the page, unique within the flow.
4195
4204
  # Corresponds to the JSON property `displayName`
4196
4205
  # @return [String]
4197
4206
  attr_accessor :display_name
@@ -5347,7 +5356,10 @@ module Google
5347
5356
  class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
5348
5357
  include Google::Apis::Core::Hashable
5349
5358
 
5350
- # Always present. The tag used to identify which fulfillment is being called.
5359
+ # Always present. The value of the Fulfillment.tag field will be populated in
5360
+ # this field by Dialogflow when the associated webhook is called. The tag is
5361
+ # typically used by the webhook service to identify which fulfillment is being
5362
+ # called, but it could be used for other purposes.
5351
5363
  # Corresponds to the JSON property `tag`
5352
5364
  # @return [String]
5353
5365
  attr_accessor :tag
@@ -8736,6 +8748,14 @@ module Google
8736
8748
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
8737
8749
  attr_accessor :assist_query_params
8738
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
+
8739
8759
  # Events allow for matching intents by event name instead of the natural
8740
8760
  # language input. For instance, input `` can trigger a personalized welcome
8741
8761
  # response. The parameter `name` may be used by the agent in the response: `"
@@ -8788,6 +8808,7 @@ module Google
8788
8808
  # Update properties of this object
8789
8809
  def update!(**args)
8790
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)
8791
8812
  @event_input = args[:event_input] if args.key?(:event_input)
8792
8813
  @message_send_time = args[:message_send_time] if args.key?(:message_send_time)
8793
8814
  @query_params = args[:query_params] if args.key?(:query_params)
@@ -14529,6 +14550,12 @@ module Google
14529
14550
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
14530
14551
  attr_accessor :live_agent_handoff
14531
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
+
14532
14559
  # Returns a response containing a custom, platform-specific payload.
14533
14560
  # Corresponds to the JSON property `payload`
14534
14561
  # @return [Hash<String,Object>]
@@ -14553,6 +14580,7 @@ module Google
14553
14580
  def update!(**args)
14554
14581
  @end_interaction = args[:end_interaction] if args.key?(:end_interaction)
14555
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)
14556
14584
  @payload = args[:payload] if args.key?(:payload)
14557
14585
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
14558
14586
  @text = args[:text] if args.key?(:text)
@@ -14598,6 +14626,61 @@ module Google
14598
14626
  end
14599
14627
  end
14600
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
+
14601
14684
  # Represents the signal that telles the client to transfer the phone call
14602
14685
  # connected to the agent to a third-party endpoint.
14603
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.32.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 = "20220330"
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
@@ -4667,8 +4667,8 @@ module Google
4667
4667
  # The resource that owns the locations collection, if applicable.
4668
4668
  # @param [String] filter
4669
4669
  # A filter to narrow down results to a preferred subset. The filtering language
4670
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
4671
- # AIP-160](https://google.aip.dev/160).
4670
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
4671
+ # in [AIP-160](https://google.aip.dev/160).
4672
4672
  # @param [Fixnum] page_size
4673
4673
  # The maximum number of results to return. If not set, the service selects a
4674
4674
  # default.
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.32.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-04 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.32.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: []