google-apis-dialogflow_v2 0.91.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: 53ec49226371bc55b92842a255d88e4e3e40cc5417aae8993315323851ca4f44
4
- data.tar.gz: 2ab66ff9fc53a6719b5147381f585969d33fc2f742fb9ee43e3a5be00e13303f
3
+ metadata.gz: f895ecdfdbe1869ef2d5638b1a28ef0ed96d48495480cc122d5c4f676f244224
4
+ data.tar.gz: bf1daa0699f4e10f3fb3f017978369ec668000451d279de12411f5a4bec24b72
5
5
  SHA512:
6
- metadata.gz: 15373b4e71fcc73ee684e4cff533ca9459434b4d59cb7931d7146e43f99a1f741db12a650e7ad22ffb4462c56d738d41f672260a18b87fe23b91ac3734cf3048
7
- data.tar.gz: 84ba32b20611c4568d04d9e1cf9ddd46bc5e45354458d75defa0f0e00b6524274244305e46f5e0edf7f2026a2d7355616779e10b98b4704f7894b5b3b13f759b
6
+ metadata.gz: 04e0f456966bd79512db0630dc40def620d2abadd9cf686ea6f4f907367c028b3e85e7091d3140146fe03c172247dd2f8281253b2df35ba4da4a982b91f0f6e7
7
+ data.tar.gz: '081eda2b5067c9dda0d872ae46e7298e33067bf4721ab125225b0847fbafb7d43834afa94fcb6b1c88aba5e99894e16edef66d97e46c5b868ae17601d5b9e6ba'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.92.0 (2024-06-26)
8
+
9
+ * Regenerated from discovery document revision 20240617
10
+
3
11
  ### v0.91.0 (2024-06-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20240614
@@ -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
@@ -4682,6 +4687,12 @@ module Google
4682
4687
  # @return [String]
4683
4688
  attr_accessor :target_page
4684
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
+
4685
4696
  # A fulfillment can do one or more of the following actions at the same time: *
4686
4697
  # Generate rich message responses. * Set parameter values. * Call the webhook.
4687
4698
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -4703,6 +4714,7 @@ module Google
4703
4714
  @name = args[:name] if args.key?(:name)
4704
4715
  @target_flow = args[:target_flow] if args.key?(:target_flow)
4705
4716
  @target_page = args[:target_page] if args.key?(:target_page)
4717
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
4706
4718
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
4707
4719
  end
4708
4720
  end
@@ -6903,18 +6915,16 @@ module Google
6903
6915
 
6904
6916
  # Flow name to start the test case with. Format: `projects//locations//agents//
6905
6917
  # flows/`. Only one of `flow` and `page` should be set to indicate the starting
6906
- # point of the test case. If both are set, `page` takes precedence over `flow`.
6907
- # If neither is set, the test case will start with start page on the default
6908
- # start flow.
6918
+ # point of the test case. If neither is set, the test case will start with start
6919
+ # page on the default start flow.
6909
6920
  # Corresponds to the JSON property `flow`
6910
6921
  # @return [String]
6911
6922
  attr_accessor :flow
6912
6923
 
6913
6924
  # The page to start the test case with. Format: `projects//locations//agents//
6914
6925
  # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
6915
- # starting point of the test case. If both are set, `page` takes precedence over
6916
- # `flow`. If neither is set, the test case will start with start page on the
6917
- # default start flow.
6926
+ # starting point of the test case. If neither is set, the test case will start
6927
+ # with start page on the default start flow.
6918
6928
  # Corresponds to the JSON property `page`
6919
6929
  # @return [String]
6920
6930
  attr_accessor :page
@@ -9909,6 +9919,37 @@ module Google
9909
9919
  end
9910
9920
  end
9911
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
+
9912
9953
  # Each intent parameter has a type, called the entity type, which dictates
9913
9954
  # exactly how data from an end-user expression is extracted. Dialogflow provides
9914
9955
  # predefined system entities that can match many common types of data. For
@@ -11822,6 +11863,45 @@ module Google
11822
11863
  end
11823
11864
  end
11824
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
+
11825
11905
  # Instructs the speech recognizer how to process the audio content.
11826
11906
  class GoogleCloudDialogflowV2InputAudioConfig
11827
11907
  include Google::Apis::Core::Hashable
@@ -15210,6 +15290,37 @@ module Google
15210
15290
  class GoogleCloudDialogflowV2SpeechToTextConfig
15211
15291
  include Google::Apis::Core::Hashable
15212
15292
 
15293
+ # Defines the list of other language codes in addition to the one provided by
15294
+ # the conversation profile that may be detected as the language code for the
15295
+ # utterances over the conversation. See [Language Support](https://cloud.google.
15296
+ # com/dialogflow/docs/reference/language) for a list of the currently supported
15297
+ # language codes.
15298
+ # Corresponds to the JSON property `alternativeLanguageCodes`
15299
+ # @return [Array<String>]
15300
+ attr_accessor :alternative_language_codes
15301
+
15302
+ # Audio encoding of the audio content to process.
15303
+ # Corresponds to the JSON property `audioEncoding`
15304
+ # @return [String]
15305
+ attr_accessor :audio_encoding
15306
+
15307
+ # If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult
15308
+ # with information about the recognized speech words, e.g. start and end time
15309
+ # offsets. If false or unspecified, Speech doesn't return any word-level
15310
+ # information.
15311
+ # Corresponds to the JSON property `enableWordInfo`
15312
+ # @return [Boolean]
15313
+ attr_accessor :enable_word_info
15314
+ alias_method :enable_word_info?, :enable_word_info
15315
+
15316
+ # The language of the supplied audio. Dialogflow does not do translations. See [
15317
+ # Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
15318
+ # for a list of the currently supported language codes. Note that queries in the
15319
+ # same session do not necessarily need to specify the same language.
15320
+ # Corresponds to the JSON property `languageCode`
15321
+ # @return [String]
15322
+ attr_accessor :language_code
15323
+
15213
15324
  # Which Speech model to select. Select the model best suited to your domain to
15214
15325
  # get best results. If a model is not explicitly specified, then Dialogflow auto-
15215
15326
  # selects a model based on other parameters in the SpeechToTextConfig and Agent
@@ -15227,6 +15338,13 @@ module Google
15227
15338
  # @return [String]
15228
15339
  attr_accessor :model
15229
15340
 
15341
+ # Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
15342
+ # Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
15343
+ # for more details.
15344
+ # Corresponds to the JSON property `sampleRateHertz`
15345
+ # @return [Fixnum]
15346
+ attr_accessor :sample_rate_hertz
15347
+
15230
15348
  # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `
15231
15349
  # USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in
15232
15350
  # AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced
@@ -15249,7 +15367,12 @@ module Google
15249
15367
 
15250
15368
  # Update properties of this object
15251
15369
  def update!(**args)
15370
+ @alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
15371
+ @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
15372
+ @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
15373
+ @language_code = args[:language_code] if args.key?(:language_code)
15252
15374
  @model = args[:model] if args.key?(:model)
15375
+ @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
15253
15376
  @speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
15254
15377
  @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
15255
15378
  end
@@ -16620,6 +16743,37 @@ module Google
16620
16743
  end
16621
16744
  end
16622
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
+
16623
16777
  # Each intent parameter has a type, called the entity type, which dictates
16624
16778
  # exactly how data from an end-user expression is extracted. Dialogflow provides
16625
16779
  # predefined system entities that can match many common types of data. For
@@ -16938,6 +17092,45 @@ module Google
16938
17092
  end
16939
17093
  end
16940
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
+
16941
17134
  # An intent categorizes an end-user's intention for one conversation turn. For
16942
17135
  # each agent, you define many intents, where your combined intents can handle a
16943
17136
  # complete conversation. When an end-user writes or says something, referred to
@@ -18994,6 +19187,11 @@ module Google
18994
19187
  # @return [String]
18995
19188
  attr_accessor :participant_role
18996
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
+
18997
19195
  # Optional. The time when the message was sent.
18998
19196
  # Corresponds to the JSON property `sendTime`
18999
19197
  # @return [String]
@@ -19024,6 +19222,7 @@ module Google
19024
19222
  @name = args[:name] if args.key?(:name)
19025
19223
  @participant = args[:participant] if args.key?(:participant)
19026
19224
  @participant_role = args[:participant_role] if args.key?(:participant_role)
19225
+ @response_messages = args[:response_messages] if args.key?(:response_messages)
19027
19226
  @send_time = args[:send_time] if args.key?(:send_time)
19028
19227
  @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
19029
19228
  end
@@ -19267,6 +19466,203 @@ module Google
19267
19466
  end
19268
19467
  end
19269
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
+
19270
19666
  # The sentiment, such as positive/negative feeling or association, for a unit of
19271
19667
  # analysis, such as the query text. See: https://cloud.google.com/natural-
19272
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.91.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 = "20240614"
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
@@ -7539,7 +7643,12 @@ module Google
7539
7643
  class GoogleCloudDialogflowV2SpeechToTextConfig
7540
7644
  # @private
7541
7645
  class Representation < Google::Apis::Core::JsonRepresentation
7646
+ collection :alternative_language_codes, as: 'alternativeLanguageCodes'
7647
+ property :audio_encoding, as: 'audioEncoding'
7648
+ property :enable_word_info, as: 'enableWordInfo'
7649
+ property :language_code, as: 'languageCode'
7542
7650
  property :model, as: 'model'
7651
+ property :sample_rate_hertz, as: 'sampleRateHertz'
7543
7652
  property :speech_model_variant, as: 'speechModelVariant'
7544
7653
  property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
7545
7654
  end
@@ -7923,6 +8032,14 @@ module Google
7923
8032
  end
7924
8033
  end
7925
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
+
7926
8043
  class GoogleCloudDialogflowV2beta1EntityType
7927
8044
  # @private
7928
8045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8006,6 +8123,22 @@ module Google
8006
8123
  end
8007
8124
  end
8008
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
+
8009
8142
  class GoogleCloudDialogflowV2beta1Intent
8010
8143
  # @private
8011
8144
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8605,6 +8738,8 @@ module Google
8605
8738
  property :name, as: 'name'
8606
8739
  property :participant, as: 'participant'
8607
8740
  property :participant_role, as: 'participantRole'
8741
+ collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
8742
+
8608
8743
  property :send_time, as: 'sendTime'
8609
8744
  property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
8610
8745
 
@@ -8657,6 +8792,68 @@ module Google
8657
8792
  end
8658
8793
  end
8659
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
+
8660
8857
  class GoogleCloudDialogflowV2beta1Sentiment
8661
8858
  # @private
8662
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.91.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-23 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.91.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: []