google-apis-dialogflow_v2beta1 0.89.0 → 0.91.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +212 -13
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +68 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15297ee9c449952a9c1e8f47e596709f5ec7bbdc3e611bf5ab1ebd1f038faa5d
|
4
|
+
data.tar.gz: b5a55fa9484d1a480225c60c494ec4396a0cc5c6d3a3cb52fffab69528211a17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93642f9f410bcfaaafe43c12d61b52966d2fe93167eafc7c3f646d8fb3ec9d85caeb436b5d497b7a647c0aaff4b732e62bb9e19def874a23129ef97f4ad48b09
|
7
|
+
data.tar.gz: ffdfae7c771c596d3111e95aa48e8528e7f9b8e50e285b297a800678b0a2665b5a3e5688999b8d48e230fb5588110208e89c186969e730bf4733406dde19854c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.91.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240716
|
6
|
+
|
7
|
+
### v0.90.0 (2024-06-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240617
|
10
|
+
|
3
11
|
### v0.89.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
|
3055
|
-
#
|
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
|
3064
|
-
#
|
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
|
6907
|
-
#
|
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
|
6916
|
-
#
|
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
|
@@ -8327,6 +8337,37 @@ module Google
|
|
8327
8337
|
end
|
8328
8338
|
end
|
8329
8339
|
|
8340
|
+
# A customer-managed encryption key specification that can be applied to all
|
8341
|
+
# created resources (e.g. Conversation).
|
8342
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
8343
|
+
include Google::Apis::Core::Hashable
|
8344
|
+
|
8345
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
8346
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
8347
|
+
# default Google encryption key. Only the key in the same location as this
|
8348
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
8349
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
8350
|
+
# Corresponds to the JSON property `kmsKey`
|
8351
|
+
# @return [String]
|
8352
|
+
attr_accessor :kms_key
|
8353
|
+
|
8354
|
+
# Immutable. The resource name of the encryption key specification resource.
|
8355
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
8356
|
+
# Corresponds to the JSON property `name`
|
8357
|
+
# @return [String]
|
8358
|
+
attr_accessor :name
|
8359
|
+
|
8360
|
+
def initialize(**args)
|
8361
|
+
update!(**args)
|
8362
|
+
end
|
8363
|
+
|
8364
|
+
# Update properties of this object
|
8365
|
+
def update!(**args)
|
8366
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
8367
|
+
@name = args[:name] if args.key?(:name)
|
8368
|
+
end
|
8369
|
+
end
|
8370
|
+
|
8330
8371
|
# Each intent parameter has a type, called the entity type, which dictates
|
8331
8372
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
8332
8373
|
# predefined system entities that can match many common types of data. For
|
@@ -8701,6 +8742,45 @@ module Google
|
|
8701
8742
|
end
|
8702
8743
|
end
|
8703
8744
|
|
8745
|
+
# Metadata for initializing a location-level encryption specification.
|
8746
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
8747
|
+
include Google::Apis::Core::Hashable
|
8748
|
+
|
8749
|
+
# The request to initialize a location-level encryption specification.
|
8750
|
+
# Corresponds to the JSON property `request`
|
8751
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
|
8752
|
+
attr_accessor :request
|
8753
|
+
|
8754
|
+
def initialize(**args)
|
8755
|
+
update!(**args)
|
8756
|
+
end
|
8757
|
+
|
8758
|
+
# Update properties of this object
|
8759
|
+
def update!(**args)
|
8760
|
+
@request = args[:request] if args.key?(:request)
|
8761
|
+
end
|
8762
|
+
end
|
8763
|
+
|
8764
|
+
# The request to initialize a location-level encryption specification.
|
8765
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
8766
|
+
include Google::Apis::Core::Hashable
|
8767
|
+
|
8768
|
+
# A customer-managed encryption key specification that can be applied to all
|
8769
|
+
# created resources (e.g. Conversation).
|
8770
|
+
# Corresponds to the JSON property `encryptionSpec`
|
8771
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec]
|
8772
|
+
attr_accessor :encryption_spec
|
8773
|
+
|
8774
|
+
def initialize(**args)
|
8775
|
+
update!(**args)
|
8776
|
+
end
|
8777
|
+
|
8778
|
+
# Update properties of this object
|
8779
|
+
def update!(**args)
|
8780
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
8781
|
+
end
|
8782
|
+
end
|
8783
|
+
|
8704
8784
|
# InputDataset used to create model or do evaluation. NextID:5
|
8705
8785
|
class GoogleCloudDialogflowV2InputDataset
|
8706
8786
|
include Google::Apis::Core::Hashable
|
@@ -11682,7 +11762,7 @@ module Google
|
|
11682
11762
|
include Google::Apis::Core::Hashable
|
11683
11763
|
|
11684
11764
|
# Required. The natural language speech audio to be processed. A single request
|
11685
|
-
# can contain up to
|
11765
|
+
# can contain up to 2 minutes of speech audio data. The transcribed text cannot
|
11686
11766
|
# contain more than 256 bytes for virtual agent interactions.
|
11687
11767
|
# Corresponds to the JSON property `audio`
|
11688
11768
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -12984,6 +13064,37 @@ module Google
|
|
12984
13064
|
end
|
12985
13065
|
end
|
12986
13066
|
|
13067
|
+
# A customer-managed encryption key specification that can be applied to all
|
13068
|
+
# created resources (e.g. Conversation).
|
13069
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
13070
|
+
include Google::Apis::Core::Hashable
|
13071
|
+
|
13072
|
+
# Required. The name of customer-managed encryption key that is used to secure a
|
13073
|
+
# resource and its sub-resources. If empty, the resource is secured by the
|
13074
|
+
# default Google encryption key. Only the key in the same location as this
|
13075
|
+
# resource is allowed to be used for encryption. Format: `projects/`project`/
|
13076
|
+
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
|
13077
|
+
# Corresponds to the JSON property `kmsKey`
|
13078
|
+
# @return [String]
|
13079
|
+
attr_accessor :kms_key
|
13080
|
+
|
13081
|
+
# Immutable. The resource name of the encryption key specification resource.
|
13082
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
13083
|
+
# Corresponds to the JSON property `name`
|
13084
|
+
# @return [String]
|
13085
|
+
attr_accessor :name
|
13086
|
+
|
13087
|
+
def initialize(**args)
|
13088
|
+
update!(**args)
|
13089
|
+
end
|
13090
|
+
|
13091
|
+
# Update properties of this object
|
13092
|
+
def update!(**args)
|
13093
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
13094
|
+
@name = args[:name] if args.key?(:name)
|
13095
|
+
end
|
13096
|
+
end
|
13097
|
+
|
12987
13098
|
# Each intent parameter has a type, called the entity type, which dictates
|
12988
13099
|
# exactly how data from an end-user expression is extracted. Dialogflow provides
|
12989
13100
|
# predefined system entities that can match many common types of data. For
|
@@ -14720,6 +14831,45 @@ module Google
|
|
14720
14831
|
end
|
14721
14832
|
end
|
14722
14833
|
|
14834
|
+
# Metadata for initializing a location-level encryption specification.
|
14835
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
14836
|
+
include Google::Apis::Core::Hashable
|
14837
|
+
|
14838
|
+
# The request to initialize a location-level encryption specification.
|
14839
|
+
# Corresponds to the JSON property `request`
|
14840
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
|
14841
|
+
attr_accessor :request
|
14842
|
+
|
14843
|
+
def initialize(**args)
|
14844
|
+
update!(**args)
|
14845
|
+
end
|
14846
|
+
|
14847
|
+
# Update properties of this object
|
14848
|
+
def update!(**args)
|
14849
|
+
@request = args[:request] if args.key?(:request)
|
14850
|
+
end
|
14851
|
+
end
|
14852
|
+
|
14853
|
+
# The request to initialize a location-level encryption specification.
|
14854
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
14855
|
+
include Google::Apis::Core::Hashable
|
14856
|
+
|
14857
|
+
# A customer-managed encryption key specification that can be applied to all
|
14858
|
+
# created resources (e.g. Conversation).
|
14859
|
+
# Corresponds to the JSON property `encryptionSpec`
|
14860
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
14861
|
+
attr_accessor :encryption_spec
|
14862
|
+
|
14863
|
+
def initialize(**args)
|
14864
|
+
update!(**args)
|
14865
|
+
end
|
14866
|
+
|
14867
|
+
# Update properties of this object
|
14868
|
+
def update!(**args)
|
14869
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
14870
|
+
end
|
14871
|
+
end
|
14872
|
+
|
14723
14873
|
# Instructs the speech recognizer on how to process the audio content.
|
14724
14874
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
14725
14875
|
include Google::Apis::Core::Hashable
|
@@ -17442,6 +17592,11 @@ module Google
|
|
17442
17592
|
# @return [String]
|
17443
17593
|
attr_accessor :participant_role
|
17444
17594
|
|
17595
|
+
# Optional. Automated agent responses.
|
17596
|
+
# Corresponds to the JSON property `responseMessages`
|
17597
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
|
17598
|
+
attr_accessor :response_messages
|
17599
|
+
|
17445
17600
|
# Optional. The time when the message was sent.
|
17446
17601
|
# Corresponds to the JSON property `sendTime`
|
17447
17602
|
# @return [String]
|
@@ -17472,6 +17627,7 @@ module Google
|
|
17472
17627
|
@name = args[:name] if args.key?(:name)
|
17473
17628
|
@participant = args[:participant] if args.key?(:participant)
|
17474
17629
|
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
17630
|
+
@response_messages = args[:response_messages] if args.key?(:response_messages)
|
17475
17631
|
@send_time = args[:send_time] if args.key?(:send_time)
|
17476
17632
|
@sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
|
17477
17633
|
end
|
@@ -18757,6 +18913,37 @@ module Google
|
|
18757
18913
|
class GoogleCloudDialogflowV2beta1SpeechToTextConfig
|
18758
18914
|
include Google::Apis::Core::Hashable
|
18759
18915
|
|
18916
|
+
# Defines the list of other language codes in addition to the one provided by
|
18917
|
+
# the conversation profile that may be detected as the language code for the
|
18918
|
+
# utterances over the conversation. See [Language Support](https://cloud.google.
|
18919
|
+
# com/dialogflow/docs/reference/language) for a list of the currently supported
|
18920
|
+
# language codes.
|
18921
|
+
# Corresponds to the JSON property `alternativeLanguageCodes`
|
18922
|
+
# @return [Array<String>]
|
18923
|
+
attr_accessor :alternative_language_codes
|
18924
|
+
|
18925
|
+
# Audio encoding of the audio content to process.
|
18926
|
+
# Corresponds to the JSON property `audioEncoding`
|
18927
|
+
# @return [String]
|
18928
|
+
attr_accessor :audio_encoding
|
18929
|
+
|
18930
|
+
# If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult
|
18931
|
+
# with information about the recognized speech words, e.g. start and end time
|
18932
|
+
# offsets. If false or unspecified, Speech doesn't return any word-level
|
18933
|
+
# information.
|
18934
|
+
# Corresponds to the JSON property `enableWordInfo`
|
18935
|
+
# @return [Boolean]
|
18936
|
+
attr_accessor :enable_word_info
|
18937
|
+
alias_method :enable_word_info?, :enable_word_info
|
18938
|
+
|
18939
|
+
# The language of the supplied audio. Dialogflow does not do translations. See [
|
18940
|
+
# Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
18941
|
+
# for a list of the currently supported language codes. Note that queries in the
|
18942
|
+
# same session do not necessarily need to specify the same language.
|
18943
|
+
# Corresponds to the JSON property `languageCode`
|
18944
|
+
# @return [String]
|
18945
|
+
attr_accessor :language_code
|
18946
|
+
|
18760
18947
|
# Which Speech model to select. Select the model best suited to your domain to
|
18761
18948
|
# get best results. If a model is not explicitly specified, then Dialogflow auto-
|
18762
18949
|
# selects a model based on other parameters in the SpeechToTextConfig and Agent
|
@@ -18774,6 +18961,13 @@ module Google
|
|
18774
18961
|
# @return [String]
|
18775
18962
|
attr_accessor :model
|
18776
18963
|
|
18964
|
+
# Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
|
18965
|
+
# Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
|
18966
|
+
# for more details.
|
18967
|
+
# Corresponds to the JSON property `sampleRateHertz`
|
18968
|
+
# @return [Fixnum]
|
18969
|
+
attr_accessor :sample_rate_hertz
|
18970
|
+
|
18777
18971
|
# The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `
|
18778
18972
|
# USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in
|
18779
18973
|
# AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced
|
@@ -18796,7 +18990,12 @@ module Google
|
|
18796
18990
|
|
18797
18991
|
# Update properties of this object
|
18798
18992
|
def update!(**args)
|
18993
|
+
@alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
|
18994
|
+
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
18995
|
+
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
18996
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
18799
18997
|
@model = args[:model] if args.key?(:model)
|
18998
|
+
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
18800
18999
|
@speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
|
18801
19000
|
@use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
|
18802
19001
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.91.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 = "
|
25
|
+
REVISION = "20240716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1414,6 +1414,12 @@ module Google
|
|
1414
1414
|
include Google::Apis::Core::JsonObjectSupport
|
1415
1415
|
end
|
1416
1416
|
|
1417
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
1418
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
|
+
|
1420
|
+
include Google::Apis::Core::JsonObjectSupport
|
1421
|
+
end
|
1422
|
+
|
1417
1423
|
class GoogleCloudDialogflowV2EntityType
|
1418
1424
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1419
1425
|
|
@@ -1480,6 +1486,18 @@ module Google
|
|
1480
1486
|
include Google::Apis::Core::JsonObjectSupport
|
1481
1487
|
end
|
1482
1488
|
|
1489
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
1490
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1491
|
+
|
1492
|
+
include Google::Apis::Core::JsonObjectSupport
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
1496
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1497
|
+
|
1498
|
+
include Google::Apis::Core::JsonObjectSupport
|
1499
|
+
end
|
1500
|
+
|
1483
1501
|
class GoogleCloudDialogflowV2InputDataset
|
1484
1502
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1485
1503
|
|
@@ -2110,6 +2128,12 @@ module Google
|
|
2110
2128
|
include Google::Apis::Core::JsonObjectSupport
|
2111
2129
|
end
|
2112
2130
|
|
2131
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
2132
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2133
|
+
|
2134
|
+
include Google::Apis::Core::JsonObjectSupport
|
2135
|
+
end
|
2136
|
+
|
2113
2137
|
class GoogleCloudDialogflowV2beta1EntityType
|
2114
2138
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2115
2139
|
|
@@ -2404,6 +2428,18 @@ module Google
|
|
2404
2428
|
include Google::Apis::Core::JsonObjectSupport
|
2405
2429
|
end
|
2406
2430
|
|
2431
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
2432
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2433
|
+
|
2434
|
+
include Google::Apis::Core::JsonObjectSupport
|
2435
|
+
end
|
2436
|
+
|
2437
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
2438
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2439
|
+
|
2440
|
+
include Google::Apis::Core::JsonObjectSupport
|
2441
|
+
end
|
2442
|
+
|
2407
2443
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
2408
2444
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
2445
|
|
@@ -3612,6 +3648,7 @@ module Google
|
|
3612
3648
|
property :name, as: 'name'
|
3613
3649
|
property :target_flow, as: 'targetFlow'
|
3614
3650
|
property :target_page, as: 'targetPage'
|
3651
|
+
property :target_playbook, as: 'targetPlaybook'
|
3615
3652
|
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3616
3653
|
|
3617
3654
|
end
|
@@ -4666,6 +4703,7 @@ module Google
|
|
4666
4703
|
property :name, as: 'name'
|
4667
4704
|
property :target_flow, as: 'targetFlow'
|
4668
4705
|
property :target_page, as: 'targetPage'
|
4706
|
+
property :target_playbook, as: 'targetPlaybook'
|
4669
4707
|
property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
4670
4708
|
|
4671
4709
|
end
|
@@ -5654,6 +5692,14 @@ module Google
|
|
5654
5692
|
end
|
5655
5693
|
end
|
5656
5694
|
|
5695
|
+
class GoogleCloudDialogflowV2EncryptionSpec
|
5696
|
+
# @private
|
5697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5698
|
+
property :kms_key, as: 'kmsKey'
|
5699
|
+
property :name, as: 'name'
|
5700
|
+
end
|
5701
|
+
end
|
5702
|
+
|
5657
5703
|
class GoogleCloudDialogflowV2EntityType
|
5658
5704
|
# @private
|
5659
5705
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5755,6 +5801,22 @@ module Google
|
|
5755
5801
|
end
|
5756
5802
|
end
|
5757
5803
|
|
5804
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
|
5805
|
+
# @private
|
5806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5807
|
+
property :request, as: 'request', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
|
5808
|
+
|
5809
|
+
end
|
5810
|
+
end
|
5811
|
+
|
5812
|
+
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
|
5813
|
+
# @private
|
5814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5815
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec::Representation
|
5816
|
+
|
5817
|
+
end
|
5818
|
+
end
|
5819
|
+
|
5758
5820
|
class GoogleCloudDialogflowV2InputDataset
|
5759
5821
|
# @private
|
5760
5822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6905,6 +6967,14 @@ module Google
|
|
6905
6967
|
end
|
6906
6968
|
end
|
6907
6969
|
|
6970
|
+
class GoogleCloudDialogflowV2beta1EncryptionSpec
|
6971
|
+
# @private
|
6972
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6973
|
+
property :kms_key, as: 'kmsKey'
|
6974
|
+
property :name, as: 'name'
|
6975
|
+
end
|
6976
|
+
end
|
6977
|
+
|
6908
6978
|
class GoogleCloudDialogflowV2beta1EntityType
|
6909
6979
|
# @private
|
6910
6980
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7383,6 +7453,22 @@ module Google
|
|
7383
7453
|
end
|
7384
7454
|
end
|
7385
7455
|
|
7456
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
|
7457
|
+
# @private
|
7458
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7459
|
+
property :request, as: 'request', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
|
7460
|
+
|
7461
|
+
end
|
7462
|
+
end
|
7463
|
+
|
7464
|
+
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
|
7465
|
+
# @private
|
7466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7467
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
|
7468
|
+
|
7469
|
+
end
|
7470
|
+
end
|
7471
|
+
|
7386
7472
|
class GoogleCloudDialogflowV2beta1InputAudioConfig
|
7387
7473
|
# @private
|
7388
7474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8171,6 +8257,8 @@ module Google
|
|
8171
8257
|
property :name, as: 'name'
|
8172
8258
|
property :participant, as: 'participant'
|
8173
8259
|
property :participant_role, as: 'participantRole'
|
8260
|
+
collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
|
8261
|
+
|
8174
8262
|
property :send_time, as: 'sendTime'
|
8175
8263
|
property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
|
8176
8264
|
|
@@ -8508,7 +8596,12 @@ module Google
|
|
8508
8596
|
class GoogleCloudDialogflowV2beta1SpeechToTextConfig
|
8509
8597
|
# @private
|
8510
8598
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8599
|
+
collection :alternative_language_codes, as: 'alternativeLanguageCodes'
|
8600
|
+
property :audio_encoding, as: 'audioEncoding'
|
8601
|
+
property :enable_word_info, as: 'enableWordInfo'
|
8602
|
+
property :language_code, as: 'languageCode'
|
8511
8603
|
property :model, as: 'model'
|
8604
|
+
property :sample_rate_hertz, as: 'sampleRateHertz'
|
8512
8605
|
property :speech_model_variant, as: 'speechModelVariant'
|
8513
8606
|
property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
|
8514
8607
|
end
|
@@ -4847,6 +4847,36 @@ module Google
|
|
4847
4847
|
execute_or_queue_command(command, &block)
|
4848
4848
|
end
|
4849
4849
|
|
4850
|
+
# Gets location-level encryption key specification.
|
4851
|
+
# @param [String] name
|
4852
|
+
# Required. The name of the encryption spec resource to get.
|
4853
|
+
# @param [String] fields
|
4854
|
+
# Selector specifying which fields to include in a partial response.
|
4855
|
+
# @param [String] quota_user
|
4856
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4857
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4858
|
+
# @param [Google::Apis::RequestOptions] options
|
4859
|
+
# Request-specific options
|
4860
|
+
#
|
4861
|
+
# @yield [result, err] Result & error if block supplied
|
4862
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec] parsed result object
|
4863
|
+
# @yieldparam err [StandardError] error object if request failed
|
4864
|
+
#
|
4865
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
|
4866
|
+
#
|
4867
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4868
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4869
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4870
|
+
def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, options: nil, &block)
|
4871
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
4872
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
|
4873
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec
|
4874
|
+
command.params['name'] = name unless name.nil?
|
4875
|
+
command.query['fields'] = fields unless fields.nil?
|
4876
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4877
|
+
execute_or_queue_command(command, &block)
|
4878
|
+
end
|
4879
|
+
|
4850
4880
|
# Lists information about the supported locations for this service.
|
4851
4881
|
# @param [String] name
|
4852
4882
|
# The resource that owns the locations collection, if applicable.
|
@@ -8417,6 +8447,44 @@ module Google
|
|
8417
8447
|
execute_or_queue_command(command, &block)
|
8418
8448
|
end
|
8419
8449
|
|
8450
|
+
# Initializes a location-level encryption key specification. An error will be
|
8451
|
+
# thrown if the location has resources already created before the initialization.
|
8452
|
+
# Once the encryption specification is initialized at a location, it is
|
8453
|
+
# immutable and all newly created resources under the location will be encrypted
|
8454
|
+
# with the existing specification.
|
8455
|
+
# @param [String] name
|
8456
|
+
# Immutable. The resource name of the encryption key specification resource.
|
8457
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
8458
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest] google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object
|
8459
|
+
# @param [String] fields
|
8460
|
+
# Selector specifying which fields to include in a partial response.
|
8461
|
+
# @param [String] quota_user
|
8462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8464
|
+
# @param [Google::Apis::RequestOptions] options
|
8465
|
+
# Request-specific options
|
8466
|
+
#
|
8467
|
+
# @yield [result, err] Result & error if block supplied
|
8468
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
8469
|
+
# @yieldparam err [StandardError] error object if request failed
|
8470
|
+
#
|
8471
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
8472
|
+
#
|
8473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8476
|
+
def initialize_project_location_encryption_spec(name, google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8477
|
+
command = make_simple_command(:post, 'v2beta1/{+name}:initialize', options)
|
8478
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
|
8479
|
+
command.request_object = google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object
|
8480
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
8481
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
8482
|
+
command.params['name'] = name unless name.nil?
|
8483
|
+
command.query['fields'] = fields unless fields.nil?
|
8484
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8485
|
+
execute_or_queue_command(command, &block)
|
8486
|
+
end
|
8487
|
+
|
8420
8488
|
# Creates a generator.
|
8421
8489
|
# @param [String] parent
|
8422
8490
|
# 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_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.91.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-
|
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_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.91.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: []
|